|WARNING| pw131352 [PATCH v5 04/10] net/cpfl: introduce CP channel API
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Sep 12 10:09:17 CEST 2023
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/131352
_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