|WARNING| pw113613 [PATCH 10/17] net/mana: implement memory registration

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


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

_coding style issues_


WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#55: 
MANA hardware has iommu built-in, that provides hardware safe access to user

WARNING:TYPO_SPELLING: 'registartion' may be misspelled - perhaps 'registration'?
#57: 
expensive operation, this patch implements a two level memory registartion

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'.
#246: FILE: drivers/net/mana/mp.c:50:
+	DRV_LOG(DEBUG, "MR (2nd) lkey %u addr %px len 0x%lx",
+		ibv_mr->lkey, ibv_mr->addr, ibv_mr->length);

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'.
#430: FILE: drivers/net/mana/mr.c:90:
+			DRV_LOG(DEBUG, "MR lkey %u addr %px len 0x%lx",
+				ibv_mr->lkey, ibv_mr->addr, ibv_mr->length);

total: 0 errors, 4 warnings, 0 checks, 573 lines checked
Warning in drivers/net/mana/mp.c:
Using %l format, prefer %PRI*64 if type is [u]int64_t


More information about the test-report mailing list