* [dpdk-test-report] |WARNING| pw97450 [PATCH 32/38] net/sfc: maintain controller to EFX interface mapping
[not found] <20210827065717.1838258-33-andrew.rybchenko@oktetlabs.ru>
@ 2021-08-27 7:01 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-08-27 7:01 UTC (permalink / raw)
To: test-report; +Cc: Andrew Rybchenko
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-27 7:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20210827065717.1838258-33-andrew.rybchenko@oktetlabs.ru>
2021-08-27 7:01 ` [dpdk-test-report] |WARNING| pw97450 [PATCH 32/38] net/sfc: maintain controller to EFX interface mapping checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).