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

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Nov 10 22:02:00 CET 2026


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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#143: 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)
#149: 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)
#151: 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)
#172: 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)
#176: 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)
#179: 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)
#184: 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)
#189: 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)
#194: 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)
#207: 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)
#218: FILE: kernel/freebsd/nic_uio/nic_uio.c:172:
+			return EINVAL;

total: 0 errors, 11 warnings, 246 lines checked


More information about the test-report mailing list