|WARNING| pw113428 [PATCH 5/6] net/hns3: make code more clean

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jun 24 11:02:36 CEST 2022


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/113428

_coding style issues_


WARNING:MULTILINE_DEREFERENCE: Avoid multiple line dereference - prefer 'rte_eth_devices[rxq->port_id].data->rx_mbuf_alloc_failed'
#84: FILE: drivers/net/hns3/hns3_rxtx.c:2439:
+			rte_eth_devices[rxq->port_id].data->
+				rx_mbuf_alloc_failed++;

total: 0 errors, 1 warnings, 0 checks, 28 lines checked


More information about the test-report mailing list