automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw104084 [PATCH v17 12/13] eal: implement functions for mutex management
       [not found] <1636513302-7359-13-git-send-email-navasile@linux.microsoft.com>
@ 2021-11-10  3:03 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-11-10  3:03 UTC (permalink / raw)
  To: test-report; +Cc: Narcisa Ana Maria Vasile

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

_coding style issues_


ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros with multiple statements should be enclosed in a do - while loop
#170: FILE: lib/eal/include/rte_thread.h:65:
+#define RTE_INIT_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)
#330: FILE: lib/eal/windows/rte_thread.c:556:
+	return EBUSY;

total: 1 errors, 1 warnings, 253 lines checked

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

only message in thread, other threads:[~2021-11-10  3:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1636513302-7359-13-git-send-email-navasile@linux.microsoft.com>
2021-11-10  3:03 ` [dpdk-test-report] |WARNING| pw104084 [PATCH v17 12/13] 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).