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 0CA58A0579 for ; Tue, 6 Apr 2021 16:45:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F026D1410AC; Tue, 6 Apr 2021 16:45:20 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 3275314102A for ; Tue, 6 Apr 2021 16:45:20 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 2E3B9120D43; Tue, 6 Apr 2021 16:45:20 +0200 (CEST) In-Reply-To: <20210406144144.19925-10-ndabilpuram@marvell.com> References: <20210406144144.19925-10-ndabilpuram@marvell.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Nithin Dabilpuram Message-Id: <20210406144520.2E3B9120D43@dpdk.org> Date: Tue, 6 Apr 2021 16:45:20 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw90684 [PATCH v5 09/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/90684 _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