automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw31450 [PATCH] net/i40e: determine number of queues per VF during run time
       [not found] <1510912024-56215-1-git-send-email-wei.dai@intel.com>
@ 2017-11-17 10:02 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-11-17 10:02 UTC (permalink / raw)
  To: test-report; +Cc: Wei Dai

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'n' - possible side-effects?
#59: FILE: drivers/net/i40e/i40e_ethdev.c:3978:
+#define IS_POWER_OF_2(n)			(n && !(n & (n - 1)))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'errno != 0'
#97: FILE: drivers/net/i40e/i40e_ethdev.c:4016:
+			if ((errno != 0) || (end == pv))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'end == pv'
#97: FILE: drivers/net/i40e/i40e_ethdev.c:4016:
+			if ((errno != 0) || (end == pv))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'value <= 16'
#99: FILE: drivers/net/i40e/i40e_ethdev.c:4018:
+			if ((value <= 16) && (IS_POWER_OF_2(value)))

total: 0 errors, 0 warnings, 4 checks, 99 lines checked

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

only message in thread, other threads:[~2017-11-17 10:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1510912024-56215-1-git-send-email-wei.dai@intel.com>
2017-11-17 10:02 ` [dpdk-test-report] |WARNING| pw31450 [PATCH] net/i40e: determine number of queues per VF during run time 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).