|WARNING| pw172812 [PATCH v2 3/3] app/test: add unit tests for nic_uio BDF parsing fns

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Nov 10 22:01:53 CET 2026


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

_coding style issues_


WARNING:TYPO_SPELLING: 'systm' may be misspelled - perhaps 'system'?
#490: FILE: kernel/freebsd/nic_uio/pci_bdf.h:12:
+#include <sys/systm.h>
               ^^^^^

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#519: FILE: kernel/freebsd/nic_uio/pci_bdf.h:41:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#525: FILE: kernel/freebsd/nic_uio/pci_bdf.h:47:
+				return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#527: FILE: kernel/freebsd/nic_uio/pci_bdf.h:49:
+			return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#548: FILE: kernel/freebsd/nic_uio/pci_bdf.h:70:
+			return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#552: FILE: kernel/freebsd/nic_uio/pci_bdf.h:74:
+			return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#555: FILE: kernel/freebsd/nic_uio/pci_bdf.h:77:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#560: FILE: kernel/freebsd/nic_uio/pci_bdf.h:82:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#565: FILE: kernel/freebsd/nic_uio/pci_bdf.h:87:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#570: FILE: kernel/freebsd/nic_uio/pci_bdf.h:92:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#587: FILE: kernel/freebsd/nic_uio/pci_bdf.h:109:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#598: FILE: kernel/freebsd/nic_uio/pci_bdf.h:120:
+			return EINVAL;

total: 0 errors, 12 warnings, 519 lines checked


More information about the test-report mailing list