[dpdk-test-report] |WARNING| pw63530 [PATCH 08/17] net/iavf/base: update virtual channel
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Dec 3 08:02:22 CET 2019
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/63530
_coding style issues_
CHECK:SPACING: spaces preferred around that '/' (ctx:VxV)
#142: FILE: drivers/net/iavf/base/virtchnl.h:140:
+ { virtchnl_static_assert_##X = (n)/((sizeof(struct X) == (n)) ? 1 : 0) }
^
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'n' - possible side-effects?
#143: FILE: drivers/net/iavf/base/virtchnl.h:141:
+#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)
#144: FILE: drivers/net/iavf/base/virtchnl.h:142:
+ { virtchnl_static_assert_##X = (n)/((sizeof(union X) == (n)) ? 1 : 0) }
^
total: 0 errors, 0 warnings, 3 checks, 537 lines checked
More information about the test-report
mailing list