|WARNING| pw172331 [PATCH RESEND 2/3] kernel/freebsd: add single-vector MSI-X support

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Nov 2 00:22:20 CET 2026


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

_coding style issues_


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

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

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

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

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

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

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

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

total: 0 errors, 8 warnings, 667 lines checked


More information about the test-report mailing list