* [dpdk-test-report] |WARNING| pw96554 [PATCH v12 03/10] eal/windows: translate Windows errors to errno-style errors
[not found] <1627925546-29982-4-git-send-email-navasile@linux.microsoft.com>
@ 2021-08-02 17:34 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-08-02 17:34 UTC (permalink / raw)
To: test-report; +Cc: Narcisa Ana Maria Vasile
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/96554
_coding style issues_
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#135: 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)
#138: 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)
#143: 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)
#148: 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)
#151: 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)
#154: 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)
#159: 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)
#162: FILE: lib/eal/windows/rte_thread.c:52:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM)
#215: FILE: lib/eal/windows/rte_thread.c:132:
+ return ENOMEM;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#239: FILE: lib/eal/windows/rte_thread.c:150:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#260: FILE: lib/eal/windows/rte_thread.c:168:
+ return EINVAL;
total: 0 errors, 11 warnings, 200 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-08-02 17:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1627925546-29982-4-git-send-email-navasile@linux.microsoft.com>
2021-08-02 17:34 ` [dpdk-test-report] |WARNING| pw96554 [PATCH v12 03/10] 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).