|WARNING| pw113616 [PATCH 13/17] net/mana: add function to start/stop RX queues

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jul 1 11:05:44 CEST 2022


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

_coding style issues_


WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#55: 
MANA allocates device queues through the IB layer when starting RX queues. When

WARNING:TYPO_SPELLING: 'destory' may be misspelled - perhaps 'destroy'?
#264: FILE: drivers/net/mana/rx.c:154:
+			DRV_LOG(ERR, "rx_queue destory_qp failed %d", ret);

WARNING:VSPRINTF_SPECIFIER_PX: Using vsprintf specifier '%px' potentially exposes the kernel memory layout, if you don't really need the address please consider using '%p'.
#452: FILE: drivers/net/mana/rx.c:342:
+		DRV_LOG(INFO, "rxq cq id %u buf %px count %u size %u",
+			rxq->gdma_cq.id, rxq->gdma_cq.buffer,
+			rxq->gdma_cq.count, rxq->gdma_cq.size);

WARNING:VSPRINTF_SPECIFIER_PX: Using vsprintf specifier '%px' potentially exposes the kernel memory layout, if you don't really need the address please consider using '%p'.
#463: FILE: drivers/net/mana/rx.c:353:
+		DRV_LOG(INFO, "rxq rq id %u buf %px count %u size %u",
+			rxq->gdma_rq.id, rxq->gdma_rq.buffer,
+			rxq->gdma_rq.count, rxq->gdma_rq.size);

total: 0 errors, 4 warnings, 0 checks, 397 lines checked
Warning in drivers/net/mana/rx.c:
Declaring a variable inside for()


More information about the test-report mailing list