|WARNING| pw106753 [PATCH 1/8] net/sfc: rework flow action RSS support

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Feb 1 09:51:59 CET 2022


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

_coding style issues_


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

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

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

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

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

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

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

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

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

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

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM)
#820: FILE: drivers/net/sfc/sfc_flow_rss.c:222:
+		return ENOMEM;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM)
#830: FILE: drivers/net/sfc/sfc_flow_rss.c:232:
+			return ENOMEM;

total: 0 errors, 12 warnings, 0 checks, 951 lines checked


More information about the test-report mailing list