From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C965BA0562 for ; Thu, 1 Apr 2021 14:41:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BBEF31412C5; Thu, 1 Apr 2021 14:41:54 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 4D96B1411CB for ; Thu, 1 Apr 2021 14:41:53 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 4A876121321; Thu, 1 Apr 2021 14:41:53 +0200 (CEST) In-Reply-To: <20210401123817.14348-9-ndabilpuram@marvell.com> References: <20210401123817.14348-9-ndabilpuram@marvell.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Nithin Dabilpuram Message-Id: <20210401124153.4A876121321@dpdk.org> Date: Thu, 1 Apr 2021 14:41:53 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw90381 [PATCH v3 08/52] common/cnxk: add VF support to base device class X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/90381 _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