|WARNING| pw105093 [PATCH v3 10/10] raw/cnxk_gpio: support selftest
    checkpatch at dpdk.org 
    checkpatch at dpdk.org
       
    Mon Dec 13 09:20:52 CET 2021
    
    
  
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/105093
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#195: FILE: drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c:57:
+#define CNXK_GPIO_ERR_STR(err, str, ...) do {                                  \
+	if (err) {                                                             \
+		RTE_LOG(ERR, PMD, "%s:%d: " str " (%d)
", __func__, __LINE__, \
+			##__VA_ARGS__, err);                                   \
+		goto out;                                                      \
+	}                                                                      \
+} while (0)
total: 0 errors, 1 warnings, 421 lines checked
    
    
More information about the test-report
mailing list