* [dpdk-test-report] |WARNING| pw46752 [v2, 03/14] crypto/caam_jr: add routines to configure HW
[not found] <20181012144055.9461-4-g.singh@nxp.com>
@ 2018-10-19 9:25 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-10-19 9:25 UTC (permalink / raw)
To: test-report; +Cc: Gagandeep Singh
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-10-19 9:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20181012144055.9461-4-g.singh@nxp.com>
2018-10-19 9:25 ` [dpdk-test-report] |WARNING| pw46752 [v2, 03/14] crypto/caam_jr: add routines to configure HW checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).