From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 2CEB2A045E for ; Sat, 1 Jun 2019 03:51:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9D85D1BA8F; Sat, 1 Jun 2019 03:50:58 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id C9E241B99B; Sat, 1 Jun 2019 03:50:57 +0200 (CEST) In-Reply-To: <20190601014905.45531-14-jerinj@marvell.com> References: <20190601014905.45531-14-jerinj@marvell.com> To: test-report@dpdk.org Cc: Message-Id: <20190601015057.C9E241B99B@dpdk.org> Date: Sat, 1 Jun 2019 03:50:57 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw53984 [PATCH v2 13/27] common/octeontx2: add uplink message support X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.15 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/53984 _coding style issues_ ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #226: FILE: drivers/common/octeontx2/otx2_dev.c:463: +#define M(_name, _id, _fn_name, _req_type, _rsp_type) \ + case _id: { \ + struct _rsp_type *rsp; \ + int err; \ + \ + rsp = (struct _rsp_type *)otx2_mbox_alloc_msg( \ + &dev->mbox_up, 0, \ + sizeof(struct _rsp_type)); \ + if (!rsp) \ + return -ENOMEM; \ + \ + rsp->hdr.id = _id; \ + rsp->hdr.sig = OTX2_MBOX_RSP_SIG; \ + rsp->hdr.pcifunc = dev->pf_func; \ + rsp->hdr.rc = 0; \ + \ + err = otx2_mbox_up_handler_ ## _fn_name( \ + dev, (struct _req_type *)req, rsp); \ + return err; \ + } total: 1 errors, 0 warnings, 295 lines checked