|WARNING| pw128738 [PATCH v2 3/3] net/sfc: support FEC feature

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jun 15 10:40:42 CEST 2023


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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#364: FILE: drivers/net/sfc/sfc_ethdev.c:2590:
+		return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#385: FILE: drivers/net/sfc/sfc_ethdev.c:2611:
+	return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#398: FILE: drivers/net/sfc/sfc_ethdev.c:2624:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#423: FILE: drivers/net/sfc/sfc_ethdev.c:2649:
+			return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#436: FILE: drivers/net/sfc/sfc_ethdev.c:2662:
+		return ENOTSUP;

total: 0 errors, 5 warnings, 0 checks, 453 lines checked


More information about the test-report mailing list