[dpdk-test-report] |WARNING| pw41884 [v2,	21/23] net/bnxt: check VF resources if resource manager is enabled
    checkpatch at dpdk.org 
    checkpatch at dpdk.org
       
    Thu Jun 28 22:18:03 CEST 2018
    
    
  
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/41884
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#123: FILE: drivers/net/bnxt/bnxt_hwrm.c:169:
+#define HWRM_CHECK_RESULT_SILENT() do {\
+	if (rc) { \
+		rte_spinlock_unlock(&bp->hwrm_lock); \
+		return rc; \
+	} \
+	if (resp->error_code) { \
+		rc = rte_le_to_cpu_16(resp->error_code); \
+		rte_spinlock_unlock(&bp->hwrm_lock); \
+		return rc; \
+	} \
+} while (0)
total: 0 errors, 1 warnings, 0 checks, 188 lines checked
    
    
More information about the test-report
mailing list