* [dpdk-test-report] |WARNING| pw90509 [PATCH v6 03/10] windows/eal: translate Windows errors to errno-style errors
[not found] <1617413948-10504-4-git-send-email-navasile@linux.microsoft.com>
@ 2021-04-03 1:40 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-04-03 1:40 UTC (permalink / raw)
To: test-report; +Cc: Narcisa Ana Maria Vasile
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/90509
_coding style issues_
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#104: FILE: lib/librte_eal/windows/rte_thread.c:27:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EFAULT)
#107: FILE: lib/librte_eal/windows/rte_thread.c:30:
+ return EFAULT;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM)
#112: FILE: lib/librte_eal/windows/rte_thread.c:35:
+ return ENOMEM;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EACCES)
#117: FILE: lib/librte_eal/windows/rte_thread.c:40:
+ return EACCES;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EEXIST)
#120: FILE: lib/librte_eal/windows/rte_thread.c:43:
+ return EEXIST;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EDEADLK)
#123: FILE: lib/librte_eal/windows/rte_thread.c:46:
+ return EDEADLK;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOSYS)
#128: FILE: lib/librte_eal/windows/rte_thread.c:51:
+ return ENOSYS;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#131: FILE: lib/librte_eal/windows/rte_thread.c:54:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#134: FILE: lib/librte_eal/windows/rte_thread.c:57:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM)
#146: FILE: lib/librte_eal/windows/rte_thread.c:135:
+ return ENOMEM;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#167: FILE: lib/librte_eal/windows/rte_thread.c:151:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#187: FILE: lib/librte_eal/windows/rte_thread.c:169:
+ return EINVAL;
total: 0 errors, 12 warnings, 139 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-03 1:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1617413948-10504-4-git-send-email-navasile@linux.microsoft.com>
2021-04-03 1:40 ` [dpdk-test-report] |WARNING| pw90509 [PATCH v6 03/10] windows/eal: 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).