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

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Nov 4 16:17:19 CET 2026


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

_coding style issues_


WARNING:TYPO_SPELLING: 'systm' may be misspelled - perhaps 'system'?
#423: 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)
#452: 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)
#458: 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)
#460: 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)
#481: 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)
#485: 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)
#488: 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)
#493: 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)
#498: 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)
#503: 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)
#520: 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)
#531: FILE: kernel/freebsd/nic_uio/pci_bdf.h:120:
+			return EINVAL;

total: 0 errors, 12 warnings, 425 lines checked


More information about the test-report mailing list