* [dpdk-test-report] |WARNING| pw26384 [PATCH v2 03/40] bus/dpaa: add compatibility and helper macros
[not found] <1499179471-19145-4-git-send-email-shreyansh.jain@nxp.com>
@ 2017-07-05 0:09 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-07-05 0:09 UTC (permalink / raw)
To: test-report; +Cc: Shreyansh Jain
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/26384
_coding style issues_
WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#148: FILE: drivers/bus/dpaa/include/compat.h:114:
+#define BUG_ON(x) ASSERT(!(x))
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#172: FILE: drivers/bus/dpaa/include/compat.h:138:
+#define DEFINE_PER_CPU(t, x) __thread t per_cpu__##x
WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#225: FILE: drivers/bus/dpaa/include/compat.h:191:
+ BUG_ON(!timeout && (ret != ret_new));
WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#330: FILE: drivers/bus/dpaa/include/compat.h:296:
+ BUG_ON((unsigned long)dest & 0x3);
WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#331: FILE: drivers/bus/dpaa/include/compat.h:297:
+ BUG_ON((unsigned long)src & 0x3);
WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#332: FILE: drivers/bus/dpaa/include/compat.h:298:
+ BUG_ON(sz & 0x3);
WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#343: FILE: drivers/bus/dpaa/include/compat.h:309:
+ BUG_ON((unsigned long)dest & 0x1);
WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#344: FILE: drivers/bus/dpaa/include/compat.h:310:
+ BUG_ON((unsigned long)src & 0x1);
WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#345: FILE: drivers/bus/dpaa/include/compat.h:311:
+ BUG_ON(sz & 0x1);
total: 1 errors, 8 warnings, 549 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-07-05 0:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1499179471-19145-4-git-send-email-shreyansh.jain@nxp.com>
2017-07-05 0:09 ` [dpdk-test-report] |WARNING| pw26384 [PATCH v2 03/40] bus/dpaa: add compatibility and helper macros 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).