automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw104927 [PATCH 01/17] bus/fslmc: update MC to 10.29
       [not found] <20211206121824.3493-2-nipun.gupta@nxp.com>
@ 2021-12-06 12:19 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-12-06 12:19 UTC (permalink / raw)
  To: test-report; +Cc: nipun.gupta

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

_coding style issues_


CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'shaping_lni' may be better as '(shaping_lni)' to avoid precedence issues
#548: 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
#548: 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-06 12:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20211206121824.3493-2-nipun.gupta@nxp.com>
2021-12-06 12:19 ` |WARNING| pw104927 [PATCH 01/17] bus/fslmc: update MC to 10.29 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).