automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Bruce Richardson <bruce.richardson@intel.com>
Subject: |WARNING| pw152569 [PATCH 3/7] net/ixgbe/base: fix compilation warnings
Date: Wed, 26 Mar 2025 16:54:30 +0100 (CET)	[thread overview]
Message-ID: <20250326155430.77F75123E76@dpdk.org> (raw)
In-Reply-To: <20250326155230.1315056-4-bruce.richardson@intel.com>

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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#118: FILE: drivers/net/intel/ixgbe/base/ixgbe_osdep.h:60:
+#define UNREFERENCED_PARAMETER(_p) (void)(_p)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#125: FILE: drivers/net/intel/ixgbe/base/ixgbe_osdep.h:62:
+#define UNREFERENCED_1PARAMETER(_p) (void)(_p)

ERROR:SPACING: space required before the open parenthesis '('
#126: FILE: drivers/net/intel/ixgbe/base/ixgbe_osdep.h:63:
+#define UNREFERENCED_2PARAMETER(_p, _q) do { (void)(_p); (void)(_q); } while(0)

ERROR:SPACING: space required before the open parenthesis '('
#128: FILE: drivers/net/intel/ixgbe/base/ixgbe_osdep.h:65:
+	do { (void)(_p); (void)(_q); (void)(_r); } while(0)

ERROR:SPACING: space required before the open parenthesis '('
#130: FILE: drivers/net/intel/ixgbe/base/ixgbe_osdep.h:67:
+	do { (void)(_p); (void)(_q); (void)(_r); (void)(_s); } while(0)

ERROR:SPACING: space required before the open parenthesis '('
#132: FILE: drivers/net/intel/ixgbe/base/ixgbe_osdep.h:69:
+	do { (void)(_p); (void)(_q); (void)(_r); (void)(_s); (void)(_t); } while(0)

ERROR:SPACING: space required before the open parenthesis '('
#143: FILE: drivers/net/intel/ixgbe/base/ixgbe_osdep.h:137:
+#define IXGBE_WRITE_PCIE_WORD(hw, reg, value) do { (void)hw; (void)reg; (void)value; } while(0)

total: 7 errors, 0 warnings, 0 checks, 63 lines checked

           reply	other threads:[~2025-03-26 15:54 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20250326155230.1315056-4-bruce.richardson@intel.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=20250326155430.77F75123E76@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=bruce.richardson@intel.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).