[dpdk-test-report] |WARNING| pw72538 [PATCH v2 13/51] net/bnxt: update multi device design support
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Jul 1 08:56:03 CEST 2020
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/72538
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#501: FILE: drivers/net/bnxt/tf_core/tf_common.h:55:
+#define TF_CHECK_PARMS1(parms) do { \
+ if ((parms) == NULL) { \
+ TFP_DRV_LOG(ERR, "Invalid Argument(s)
"); \
+ return -EINVAL; \
+ } \
+ } while (0)
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#508: FILE: drivers/net/bnxt/tf_core/tf_common.h:62:
+#define TF_CHECK_PARMS2(parms1, parms2) do { \
+ if ((parms1) == NULL || (parms2) == NULL) { \
+ TFP_DRV_LOG(ERR, "Invalid Argument(s)
"); \
+ return -EINVAL; \
+ } \
+ } while (0)
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#515: FILE: drivers/net/bnxt/tf_core/tf_common.h:69:
+#define TF_CHECK_PARMS3(parms1, parms2, parms3) do { \
+ if ((parms1) == NULL || \
+ (parms2) == NULL || \
+ (parms3) == NULL) { \
+ TFP_DRV_LOG(ERR, "Invalid Argument(s)
"); \
+ return -EINVAL; \
+ } \
+ } while (0)
total: 0 errors, 3 warnings, 0 checks, 3409 lines checked
More information about the test-report
mailing list