automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw103856 [PATCH 4/4] net/sfc: support regioned NIC DMA memory mapping type
       [not found] <20211105083333.1960017-5-andrew.rybchenko@oktetlabs.ru>
@ 2021-11-05  8:35 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-11-05  8:35 UTC (permalink / raw)
  To: test-report; +Cc: Andrew Rybchenko

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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EFAULT)
#375: FILE: drivers/net/sfc/sfc_ef100_rx.c:148:
+	return EFAULT;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EFAULT)
#499: FILE: drivers/net/sfc/sfc_ef100_tx.c:360:
+	return EFAULT;

CHECK:CAMELCASE: Avoid CamelCase: <PRIx64>
#820: FILE: drivers/net/sfc/sfc_nic_dma.c:58:
+			"cannot handle memory buffer VA=%p IOVA=%" PRIx64 " length=0x%" PRIx64 ": %s",

WARNING:LONG_LINE: line length of 151 exceeds 100 columns
#828: FILE: drivers/net/sfc/sfc_nic_dma.c:66:
+		 "registered memory buffer VA=%p IOVA=%" PRIx64 " length=0x%" PRIx64 " -> NIC_BASE=%" PRIx64 " TRGT_BASE=%" PRIx64 " MAP_LEN=%" PRIx64,

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#1011: FILE: drivers/net/sfc/sfc_nic_dma.c:249:
+	return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EFAULT)
#1105: FILE: drivers/net/sfc/sfc_nic_dma.c:343:
+		return EFAULT;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM)
#1199: FILE: drivers/net/sfc/sfc_nic_dma_dp.c:21:
+		return ENOMEM;

total: 0 errors, 6 warnings, 1 checks, 1128 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-05  8:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20211105083333.1960017-5-andrew.rybchenko@oktetlabs.ru>
2021-11-05  8:35 ` [dpdk-test-report] |WARNING| pw103856 [PATCH 4/4] net/sfc: support regioned NIC DMA memory mapping type checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).