* [dpdk-test-report] |WARNING| pw100855 [PATCH v15 7/9] eal: implement functions for mutex management
[not found] <1633732841-17873-8-git-send-email-navasile@linux.microsoft.com>
@ 2021-10-08 22:41 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-10-08 22:41 UTC (permalink / raw)
To: test-report; +Cc: Narcisa Ana Maria Vasile
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/100855
_coding style issues_
ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros with multiple statements should be enclosed in a do - while loop
#173: FILE: lib/eal/include/rte_thread.h:65:
+#define RTE_STATIC_MUTEX(private_lock)\
+static RTE_DECLARE_MUTEX(private_lock);\
+RTE_DEFINE_MUTEX(private_lock)
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EBUSY)
#363: FILE: lib/eal/windows/rte_thread.c:556:
+ return EBUSY;
total: 1 errors, 1 warnings, 282 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-08 22:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1633732841-17873-8-git-send-email-navasile@linux.microsoft.com>
2021-10-08 22:41 ` [dpdk-test-report] |WARNING| pw100855 [PATCH v15 7/9] eal: implement functions for mutex management 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).