automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw84347 [RFC] remove unused functions
       [not found] <20201119035238.3653702-1-ferruh.yigit@intel.com>
@ 2020-11-19  3:54 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-11-19  3:54 UTC (permalink / raw)
  To: test-report; +Cc: Ferruh Yigit

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

_coding style issues_


CHECK:ASSIGNMENT_CONTINUATIONS: Assignment operator '|=' should be on the previous line
#18115: FILE: drivers/net/i40e/base/i40e_common.c:2172:
+		cmd->promiscuous_flags
+			    |= CPU_TO_LE16(I40E_AQC_SET_VSI_PROMISC_BROADCAST);

CHECK:ASSIGNMENT_CONTINUATIONS: Assignment operator '&=' should be on the previous line
#18118: FILE: drivers/net/i40e/base/i40e_common.c:2175:
+		cmd->promiscuous_flags
+			    &= CPU_TO_LE16(~I40E_AQC_SET_VSI_PROMISC_BROADCAST);

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'pv_seid == 0'
#19097: FILE: drivers/net/i40e/base/i40e_common.c:3806:
+	if ((pv_seid == 0) || (buf == NULL) || (num_tags_in_buf == 0))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'buf == NULL'
#19097: FILE: drivers/net/i40e/base/i40e_common.c:3806:
+	if ((pv_seid == 0) || (buf == NULL) || (num_tags_in_buf == 0))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'num_tags_in_buf == 0'
#19097: FILE: drivers/net/i40e/base/i40e_common.c:3806:
+	if ((pv_seid == 0) || (buf == NULL) || (num_tags_in_buf == 0))

total: 0 errors, 0 warnings, 41788 lines checked

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

only message in thread, other threads:[~2020-11-19  3:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20201119035238.3653702-1-ferruh.yigit@intel.com>
2020-11-19  3:54 ` [dpdk-test-report] |WARNING| pw84347 [RFC] remove unused functions checkpatch

automatic DPDK test reports

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/test-report/0 test-report/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 test-report test-report/ https://inbox.dpdk.org/test-report \
		test-report@dpdk.org
	public-inbox-index test-report

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.test-report


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git