|WARNING| pw172639 [PATCH 2/3] kernel/nic_uio: support Linux format PCI addresses

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Nov 4 16:15:23 CET 2026


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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#141: FILE: kernel/freebsd/nic_uio/nic_uio.c:97:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#147: FILE: kernel/freebsd/nic_uio/nic_uio.c:103:
+				return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#149: FILE: kernel/freebsd/nic_uio/nic_uio.c:105:
+			return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#170: FILE: kernel/freebsd/nic_uio/nic_uio.c:126:
+			return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#174: FILE: kernel/freebsd/nic_uio/nic_uio.c:130:
+			return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#177: FILE: kernel/freebsd/nic_uio/nic_uio.c:133:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#182: FILE: kernel/freebsd/nic_uio/nic_uio.c:138:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#187: FILE: kernel/freebsd/nic_uio/nic_uio.c:143:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#192: FILE: kernel/freebsd/nic_uio/nic_uio.c:148:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#205: FILE: kernel/freebsd/nic_uio/nic_uio.c:161:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#216: FILE: kernel/freebsd/nic_uio/nic_uio.c:172:
+			return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENXIO)
#275: FILE: kernel/freebsd/nic_uio/nic_uio.c:283:
+			return ENXIO;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#334: FILE: kernel/freebsd/nic_uio/nic_uio.c:371:
+			return EINVAL;

total: 0 errors, 13 warnings, 266 lines checked


More information about the test-report mailing list