automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Shreyansh Jain <shreyansh.jain@nxp.com>
Subject: [dpdk-test-report] |WARNING| pw24755 [PATCH RFC 05/39] bus/dpaa: add compatibility and helper macros
Date: Sat, 27 May 2017 12:18:45 +0200 (CEST)	[thread overview]
Message-ID: <20170527101845.C60FB7D02@dpdk.org> (raw)
In-Reply-To: <1495880735-1651-6-git-send-email-shreyansh.jain@nxp.com>

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/24755

_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()
#277: FILE: drivers/bus/dpaa/include/compat.h:243:
+	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()
#278: FILE: drivers/bus/dpaa/include/compat.h:244:
+	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()
#279: FILE: drivers/bus/dpaa/include/compat.h:245:
+	BUG_ON(sz & 0x3);

WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#290: FILE: drivers/bus/dpaa/include/compat.h:256:
+	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()
#291: FILE: drivers/bus/dpaa/include/compat.h:257:
+	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()
#292: FILE: drivers/bus/dpaa/include/compat.h:258:
+	BUG_ON(sz & 0x1);

total: 1 errors, 8 warnings, 496 lines checked

           reply	other threads:[~2017-05-27 10:18 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1495880735-1651-6-git-send-email-shreyansh.jain@nxp.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170527101845.C60FB7D02@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=shreyansh.jain@nxp.com \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).