automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw159530 [PATCH 7/9] net/sfc: rework the capability check that is done on FEC set
       [not found] <20251229213527.37907-8-ivan.malov@arknetworks.am>
@ 2025-12-29 21:36 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2025-12-29 21:36 UTC (permalink / raw)
  To: test-report; +Cc: Ivan Malov

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

_coding style issues_


WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#155: FILE: drivers/net/sfc/sfc_ethdev.c:2750:
+			return 0;
+		} else {

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

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

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

total: 0 errors, 4 warnings, 0 checks, 137 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-12-29 21:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20251229213527.37907-8-ivan.malov@arknetworks.am>
2025-12-29 21:36 ` |WARNING| pw159530 [PATCH 7/9] net/sfc: rework the capability check that is done on FEC set 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).