automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw104136 [PATCH v18 3/8] eal/windows: translate Windows errors to errno-style errors
       [not found] <1636594425-9692-4-git-send-email-navasile@linux.microsoft.com>
@ 2021-11-11  1:36 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-11-11  1:36 UTC (permalink / raw)
  To: test-report; +Cc: Narcisa Ana Maria Vasile

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

_coding style issues_


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

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

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

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

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

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

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

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

total: 0 errors, 8 warnings, 54 lines checked
Warning in lib/eal/windows/rte_thread.c:
Using %l format, prefer %PRI*64 if type is [u]int64_t

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

only message in thread, other threads:[~2021-11-11  1:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1636594425-9692-4-git-send-email-navasile@linux.microsoft.com>
2021-11-11  1:36 ` |WARNING| pw104136 [PATCH v18 3/8] eal/windows: translate Windows errors to errno-style errors 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).