automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw88535 [PATCH 08/52] common/cnxk: add VF support to base device class
       [not found] <20210305133918.8005-9-ndabilpuram@marvell.com>
@ 2021-03-05 13:41 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-03-05 13:41 UTC (permalink / raw)
  To: test-report; +Cc: Nithin Dabilpuram

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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#549: FILE: drivers/common/cnxk/roc_dev.c:513:
+#define M(_name, _id, _fn_name, _req_type, _rsp_type)                          \
+	case _id: {                                                            \
+		struct _rsp_type *rsp;                                         \
+		int err;                                                       \
+		rsp = (struct _rsp_type *)mbox_alloc_msg(                      \
+			&dev->mbox_up, 0, sizeof(struct _rsp_type));           \
+		if (!rsp)                                                      \
+			return -ENOMEM;                                        \
+		rsp->hdr.id = _id;                                             \
+		rsp->hdr.sig = MBOX_RSP_SIG;                                   \
+		rsp->hdr.pcifunc = dev->pf_func;                               \
+		rsp->hdr.rc = 0;                                               \
+		err = mbox_up_handler_##_fn_name(dev, (struct _req_type *)req, \
+						 rsp);                         \
+		return err;                                                    \
+	}

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#871: FILE: drivers/common/cnxk/roc_dev.c:871:
+	case PCI_DEVID_CNXK_RVU_SSO_TIM_VF:

total: 1 errors, 1 warnings, 1055 lines checked

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

only message in thread, other threads:[~2021-03-05 13:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210305133918.8005-9-ndabilpuram@marvell.com>
2021-03-05 13:41 ` [dpdk-test-report] |WARNING| pw88535 [PATCH 08/52] common/cnxk: add VF support to base device class 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).