* |WARNING| pw130635 [PATCH 1/3] event/cnxk: fix return values for capability API
[not found] <20230822131649.3509986-1-asasidharan@marvell.com>
@ 2023-08-22 13:17 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2023-08-22 13:17 UTC (permalink / raw)
To: test-report; +Cc: Aakash Sasidharan
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/130635
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#186: FILE: drivers/event/cnxk/cnxk_eventdev.h:51:
+#define CNXK_VALID_DEV_OR_ERR_RET(dev, drv_name, err_val) \
do { \
if (strncmp(dev->driver->name, drv_name, strlen(drv_name))) \
+ return -err_val; \
} while (0)
total: 0 errors, 1 warnings, 87 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-22 13:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20230822131649.3509986-1-asasidharan@marvell.com>
2023-08-22 13:17 ` |WARNING| pw130635 [PATCH 1/3] event/cnxk: fix return values for capability API 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).