From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1AE27A0577 for ; Mon, 13 Apr 2020 21:43:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 664B21C1DF; Mon, 13 Apr 2020 21:42:52 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id E8CBD1C06A; Mon, 13 Apr 2020 21:42:48 +0200 (CEST) In-Reply-To: <1586806811-21736-5-git-send-email-venkatkumar.duvvuru@broadcom.com> References: <1586806811-21736-5-git-send-email-venkatkumar.duvvuru@broadcom.com> To: test-report@dpdk.org Cc: Venkat Duvvuru Message-Id: <20200413194248.E8CBD1C06A@dpdk.org> Date: Mon, 13 Apr 2020 21:42:48 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw68327 [PATCH v2 04/34] net/bnxt: add initial tf core session open 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/68327 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'parms' - possible side-effects? #1792: FILE: drivers/net/bnxt/tf_core/tf_msg_common.h:14: +#define MSG_PREP(parms, mb, type, subtype, req, resp) do { \ + parms.mailbox = mb; \ + parms.tf_type = type; \ + parms.tf_subtype = subtype; \ + parms.tf_resp_code = 0; \ + parms.req_size = sizeof(req); \ + parms.req_data = (uint32_t *)&(req); \ + parms.resp_size = sizeof(resp); \ + parms.resp_data = (uint32_t *)&(resp); \ + } while (0) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'parms' - possible side-effects? #1803: FILE: drivers/net/bnxt/tf_core/tf_msg_common.h:25: +#define MSG_PREP_NO_REQ(parms, mb, type, subtype, resp) do { \ + parms.mailbox = mb; \ + parms.tf_type = type; \ + parms.tf_subtype = subtype; \ + parms.tf_resp_code = 0; \ + parms.req_size = 0; \ + parms.req_data = NULL; \ + parms.resp_size = sizeof(resp); \ + parms.resp_data = (uint32_t *)&(resp); \ + } while (0) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'parms' - possible side-effects? #1814: FILE: drivers/net/bnxt/tf_core/tf_msg_common.h:36: +#define MSG_PREP_NO_RESP(parms, mb, type, subtype, req) do { \ + parms.mailbox = mb; \ + parms.tf_type = type; \ + parms.tf_subtype = subtype; \ + parms.tf_resp_code = 0; \ + parms.req_size = sizeof(req); \ + parms.req_data = (uint32_t *)&(req); \ + parms.resp_size = 0; \ + parms.resp_data = NULL; \ + } while (0) ERROR:TRAILING_WHITESPACE: trailing whitespace #2022: FILE: drivers/net/bnxt/tf_core/tf_session.h:70: +^I/** $ total: 1 errors, 0 warnings, 3 checks, 2202 lines checked