* |WARNING| pw152971 [PATCH 24/46] common/sfc_efx/base: get netport fixed capabilities on probe
[not found] <20250416140016.36127-25-ivan.malov@arknetworks.am>
@ 2025-04-16 14:03 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2025-04-16 14:03 UTC (permalink / raw)
To: test-report; +Cc: Ivan Malov
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/152971
_coding style issues_
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#124: FILE: drivers/common/sfc_efx/base/efx_np.c:81:
+ return (rc);
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#225: FILE: drivers/common/sfc_efx/base/efx_np.c:182:
+#define FOREACH_SUP_CAP(_map, _map_nentries, _data, _data_nbytes) \
+ for (unsigned int _i = 0; _i < (_map_nentries); ++_i, ++(_map)) \
+ if (CAP_VLD(_map, _data_nbytes) && CAP_SUP(_map, _data))
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#314: FILE: drivers/common/sfc_efx/base/efx_np.c:271:
+ return (0);
total: 3 errors, 0 warnings, 256 lines checked
^ permalink raw reply [flat|nested] only message in thread