[dpdk-test-report] |WARNING| pw97450 [PATCH 32/38] net/sfc: maintain controller to EFX interface mapping
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Aug 27 09:01:21 CEST 2021
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/97450
_coding style issues_
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM)
#112: FILE: drivers/net/sfc/sfc_ethdev.c:1887:
+ return ENOMEM;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM)
#134: FILE: drivers/net/sfc/sfc_ethdev.c:1909:
+ return ENOMEM;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#177: FILE: drivers/net/sfc/sfc_ethdev.c:1952:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#182: FILE: drivers/net/sfc/sfc_ethdev.c:1957:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#311: FILE: drivers/net/sfc/sfc_switch.c:235:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#318: FILE: drivers/net/sfc/sfc_switch.c:242:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#340: FILE: drivers/net/sfc/sfc_switch.c:264:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#346: FILE: drivers/net/sfc/sfc_switch.c:270:
+ return EINVAL;
total: 0 errors, 8 warnings, 0 checks, 285 lines checked
More information about the test-report
mailing list