|WARNING| pw113615 [PATCH 12/17] net/mana: add function to start/stop TX queues

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


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

_coding style issues_


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

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'.
#250: FILE: drivers/net/mana/tx.c:139:
+		DRV_LOG(INFO, "txq sq id %u vp_offset %u db_page %px "
+				" buf %px count %u size %u",
+				txq->gdma_sq.id, txq->tx_vp_offset,
+				priv->db_page,
+				txq->gdma_sq.buffer, txq->gdma_sq.count,
+				txq->gdma_sq.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'.
#265: FILE: drivers/net/mana/tx.c:154:
+		DRV_LOG(INFO, "txq cq id %u buf %px count %u size %u head %u",
+			txq->gdma_cq.id, txq->gdma_cq.buffer,
+			txq->gdma_cq.count, txq->gdma_cq.size,
+			txq->gdma_cq.head);

total: 0 errors, 3 warnings, 0 checks, 204 lines checked


More information about the test-report mailing list