automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: nipun.gupta@nxp.com
Subject: |WARNING| pw105557 [PATCH v3 01/15] bus/fslmc: update MC to 10.29
Date: Mon,  3 Jan 2022 11:02:09 +0100 (CET)	[thread overview]
Message-ID: <20220103100209.68FBC120D7B@dpdk.org> (raw)
In-Reply-To: <20220103100129.23965-2-nipun.gupta@nxp.com>

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

_coding style issues_


CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'shaping_lni' may be better as '(shaping_lni)' to avoid precedence issues
#550: FILE: drivers/net/dpaa2/mc/fsl_dpni.h:808:
+#define DPNI_TX_SHAPING_PARAM(oal, shaping_lni, channel_id, coupled)	( \
+		((uint32_t)(((oal) & 0x7ff) << 16)) | \
+		((uint32_t)((channel_id) & 0xff) << 8) | \
+		((uint32_t)(!!shaping_lni) << 1) | \
+		((uint32_t)!!coupled))

CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'coupled' may be better as '(coupled)' to avoid precedence issues
#550: FILE: drivers/net/dpaa2/mc/fsl_dpni.h:808:
+#define DPNI_TX_SHAPING_PARAM(oal, shaping_lni, channel_id, coupled)	( \
+		((uint32_t)(((oal) & 0x7ff) << 16)) | \
+		((uint32_t)((channel_id) & 0xff) << 8) | \
+		((uint32_t)(!!shaping_lni) << 1) | \
+		((uint32_t)!!coupled))

total: 0 errors, 0 warnings, 2 checks, 669 lines checked

           reply	other threads:[~2022-01-03 10:02 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20220103100129.23965-2-nipun.gupta@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=20220103100209.68FBC120D7B@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=nipun.gupta@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).