[dpdk-test-report] |WARNING| pw85509 [PATCH v1 2/2] net/iavf:	introduce iavf driver on vfio-user client
    checkpatch at dpdk.org 
    checkpatch at dpdk.org
       
    Sat Dec 19 15:50:42 CET 2020
    
    
  
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/85509
_coding style issues_
WARNING:STATIC_CONST_CHAR_ARRAY: static const char * array should probably be static const char * const
#191: FILE: drivers/net/iavf/iavf_client_ethdev.c:27:
+static const char *valid_args[] = {
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#297: FILE: drivers/net/iavf/iavf_client_ethdev.c:133:
+	eth_dev->data->mac_addrs = rte_zmalloc(
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#309: FILE: drivers/net/iavf/iavf_client_ethdev.c:145:
+	if (!rte_is_valid_assigned_ether_addr(
WARNING:BRACES: braces {} are not necessary for single statement blocks
#416: FILE: drivers/net/iavf/iavf_client_ethdev.c:252:
+	if (ret) {
+		goto err;
+	}
WARNING:BRACES: braces {} are not necessary for single statement blocks
#421: FILE: drivers/net/iavf/iavf_client_ethdev.c:257:
+	if (ret) {
+		goto err;
+	}
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#550: FILE: drivers/net/iavf/iavf_rxtx.c:604:
+		rxq->qrx_tail = client_vfio_user_get_bar_addr(
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#566: FILE: drivers/net/iavf/iavf_rxtx.c:721:
+		txq->qtx_tail = client_vfio_user_get_bar_addr(
total: 0 errors, 3 warnings, 4 checks, 452 lines checked
    
    
More information about the test-report
mailing list