|WARNING| pw144514 [PATCH v2 16/47] net/bnxt: tf_ulp: miscellaneous fixes

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Sep 28 00:17:38 CEST 2024


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'ctx' - possible side-effects?
#578: FILE: drivers/net/bnxt/tf_ulp/bnxt_ulp.h:66:
+#define ULP_APP_CUST_VXLAN_SUPPORT(ctx)	\
+	((ctx) && (ctx)->cfg_data && (ctx)->cfg_data->vxlan_port != 0)

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'ctx' - possible side-effects?
#580: FILE: drivers/net/bnxt/tf_ulp/bnxt_ulp.h:68:
+#define ULP_APP_CUST_VXLAN_IP_SUPPORT(ctx)\
+	((ctx) && (ctx)->cfg_data && (ctx)->cfg_data->vxlan_ip_port != 0)

WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'?
#702: FILE: drivers/net/bnxt/tf_ulp/ulp_mapper.c:242:
+	app_id_sig = bnxt_ulp_glb_app_id_sig_get(parms->app_id);

total: 0 errors, 1 warnings, 2 checks, 707 lines checked


More information about the test-report mailing list