* [dpdk-test-report] |WARNING| pw60636 [PATCH v2 03/10] app/test: add security cpu crypto autotest
[not found] <20191007162850.60552-4-roy.fan.zhang@intel.com>
@ 2019-10-07 16:30 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-10-07 16:30 UTC (permalink / raw)
To: test-report; +Cc: Fan Zhang
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/60636
_coding style issues_
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#550: FILE: app/test/test_security_cpu_crypto.c:494:
+#define all_gcm_unit_test_cases(type) \
+ TEST_EXPAND(gcm_test_case_1, type) \
+ TEST_EXPAND(gcm_test_case_2, type) \
+ TEST_EXPAND(gcm_test_case_3, type) \
+ TEST_EXPAND(gcm_test_case_4, type) \
+ TEST_EXPAND(gcm_test_case_5, type) \
+ TEST_EXPAND(gcm_test_case_6, type) \
+ TEST_EXPAND(gcm_test_case_7, type) \
+ TEST_EXPAND(gcm_test_case_8, type) \
+ TEST_EXPAND(gcm_test_case_192_1, type) \
+ TEST_EXPAND(gcm_test_case_192_2, type) \
+ TEST_EXPAND(gcm_test_case_192_3, type) \
+ TEST_EXPAND(gcm_test_case_192_4, type) \
+ TEST_EXPAND(gcm_test_case_192_5, type) \
+ TEST_EXPAND(gcm_test_case_192_6, type) \
+ TEST_EXPAND(gcm_test_case_192_7, type) \
+ TEST_EXPAND(gcm_test_case_256_1, type) \
+ TEST_EXPAND(gcm_test_case_256_2, type) \
+ TEST_EXPAND(gcm_test_case_256_3, type) \
+ TEST_EXPAND(gcm_test_case_256_4, type) \
+ TEST_EXPAND(gcm_test_case_256_5, type) \
+ TEST_EXPAND(gcm_test_case_256_6, type) \
+ TEST_EXPAND(gcm_test_case_256_7, type)
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#596: FILE: app/test/test_security_cpu_crypto.c:540:
+#define TEST_EXPAND(t, o) \
+ TEST_CASE_ST(ut_setup, ut_teardown, \
+ cpu_crypto_aead_enc_test_##t##_##o), \
+ TEST_CASE_ST(ut_setup, ut_teardown, \
+ cpu_crypto_aead_dec_test_##t##_##o), \
+
total: 2 errors, 0 warnings, 578 lines checked
^ permalink raw reply [flat|nested] only message in thread