automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw93928 [PATCH v9 05/10] eal: implement thread priority management functions
       [not found] <1622850274-6946-6-git-send-email-navasile@linux.microsoft.com>
@ 2021-06-04 23:45 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-06-04 23:45 UTC (permalink / raw)
  To: test-report; +Cc: Narcisa Ana Maria Vasile

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

_coding style issues_


ERROR:OPEN_BRACE: that open brace { should be on the previous line
#107: FILE: lib/eal/common/rte_thread.c:61:
+	switch (eal_pri)
+	{

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#127: FILE: lib/eal/common/rte_thread.c:81:
+			return EINVAL;

WARNING:BRACES: braces {} are not necessary for single statement blocks
#141: FILE: lib/eal/common/rte_thread.c:95:
+	if (ret != 0) {
+		return ret;
+	}

ERROR:OPEN_BRACE: that open brace { should be on the previous line
#236: FILE: lib/eal/windows/rte_thread.c:230:
+	switch (eal_pri)
+	{

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#248: FILE: lib/eal/windows/rte_thread.c:242:
+			return EINVAL;

WARNING:BRACES: braces {} are not necessary for single statement blocks
#272: FILE: lib/eal/windows/rte_thread.c:266:
+	if (ret != 0) {
+		return ret;
+	}

total: 2 errors, 4 warnings, 192 lines checked

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

only message in thread, other threads:[~2021-06-04 23:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1622850274-6946-6-git-send-email-navasile@linux.microsoft.com>
2021-06-04 23:45 ` [dpdk-test-report] |WARNING| pw93928 [PATCH v9 05/10] eal: implement thread priority management functions 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).