|WARNING| pw131214 [PATCH v3 04/11] net/cpfl: introduce CP channel API
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Sep 7 08:59:03 CEST 2023
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/131214
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'n' - possible side-effects?
#127: FILE: drivers/net/cpfl/cpfl_cpchnl.h:44:
+#define CPCHNL2_CHECK_STRUCT_LEN(n, X) enum static_assert_enum_##X \
+ { static_assert_##X = (n) / ((sizeof(struct X) == (n)) ? 1 : 0) }
total: 0 errors, 0 warnings, 1 checks, 340 lines checked
More information about the test-report
mailing list