[dpdk-test-report] |WARNING| pw93697 [PATCH 47/58] net/bnxt: refactor flow parser in ULP

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jun 1 10:15:49 CEST 2021


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#449: FILE: drivers/net/bnxt/tf_ulp/ulp_rte_parser.c:64:
+#define ulp_deference_struct(x, y) ((x) ? &((x)->y) : NULL)

CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'y' may be better as '(y)' to avoid precedence issues
#449: FILE: drivers/net/bnxt/tf_ulp/ulp_rte_parser.c:64:
+#define ulp_deference_struct(x, y) ((x) ? &((x)->y) : NULL)

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


More information about the test-report mailing list