[dpdk-test-report] |WARNING| pw46752 [v2, 03/14] crypto/caam_jr: add routines to configure HW
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Oct 19 11:25:27 CEST 2018
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/46752
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#488: FILE: drivers/crypto/caam_jr/caam_jr_hw_specific.h:33:
+#define SEC_ASSERT(cond, altRet, ...) do {\
+ if (unlikely(!(cond))) {\
+ CAAM_JR_ERR(__VA_ARGS__); \
+ return altRet; \
+ } \
+} while (0)
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#495: FILE: drivers/crypto/caam_jr/caam_jr_hw_specific.h:40:
+#define SEC_DP_ASSERT(cond, altRet, ...) do {\
+ if (unlikely(!(cond))) {\
+ CAAM_JR_DP_ERR(__VA_ARGS__); \
+ return altRet; \
+ } \
+} while (0)
total: 0 errors, 2 warnings, 1200 lines checked
More information about the test-report
mailing list