automatic DPDK test reports
 help / color / Atom feed
* [dpdk-test-report] |WARNING| pw63452 [PATCH 24/69] net/i40e/base: update virtchnl.h
       [not found] <20191202074935.97629-25-xiaolong.ye@intel.com>
@ 2019-12-02  8:01 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-12-02  8:01 UTC (permalink / raw)
  To: test-report; +Cc: Xiaolong Ye

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'n' - possible side-effects?
#89: FILE: drivers/net/i40e/base/virtchnl.h:137:
+#define VIRTCHNL_CHECK_UNION_LEN(n, X) enum virtchnl_static_asset_enum_##X \
+	{ virtchnl_static_assert_##X = (n)/((sizeof(union X) == (n)) ? 1 : 0) }

CHECK:SPACING: spaces preferred around that '/' (ctx:VxV)
#90: FILE: drivers/net/i40e/base/virtchnl.h:138:
+	{ virtchnl_static_assert_##X = (n)/((sizeof(union X) == (n)) ? 1 : 0) }
 	                                  ^

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

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

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20191202074935.97629-25-xiaolong.ye@intel.com>
2019-12-02  8:01 ` [dpdk-test-report] |WARNING| pw63452 [PATCH 24/69] net/i40e/base: update virtchnl.h checkpatch

automatic DPDK test reports

Archives are clonable:
	git clone --mirror http://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/ http://inbox.dpdk.org/test-report \
		test-report@dpdk.org
	public-inbox-index test-report


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