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 C98D2A046B for ; Thu, 27 Jun 2019 10:03:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C24C12BE3; Thu, 27 Jun 2019 10:03:59 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id 4BAF62B99; Thu, 27 Jun 2019 10:03:58 +0200 (CEST) In-Reply-To: <39c7ced8ff87b4253c80ac90fe31bee445908c68.1561620219.git.xuanziyang2@huawei.com> References: <39c7ced8ff87b4253c80ac90fe31bee445908c68.1561620219.git.xuanziyang2@huawei.com> To: test-report@dpdk.org Cc: Ziyang Xuan Message-Id: <20190627080358.4BAF62B99@dpdk.org> Date: Thu, 27 Jun 2019 10:03:58 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw55444 [PATCH v6 06/15] net/hinic/base: add mgmt module function code 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/55444 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pf_to_mgmt' - possible side-effects? #70: FILE: drivers/net/hinic/base/hinic_pmd_mgmt.c:33: +#define SYNC_MSG_ID_INC(pf_to_mgmt) (SYNC_MSG_ID(pf_to_mgmt) = \ + (SYNC_MSG_ID(pf_to_mgmt) + 1) & SYNC_MSG_ID_MASK) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pf_to_mgmt' - possible side-effects? #75: FILE: drivers/net/hinic/base/hinic_pmd_mgmt.c:38: +#define ASYNC_MSG_ID_INC(pf_to_mgmt) (ASYNC_MSG_ID(pf_to_mgmt) = \ + ((ASYNC_MSG_ID(pf_to_mgmt) + 1) & ASYNC_MSG_ID_MASK) \ + | ASYNC_MSG_FLAG) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'eq' - possible side-effects? #82: FILE: drivers/net/hinic/base/hinic_pmd_mgmt.c:45: +#define GET_CURR_AEQ_ELEM(eq) GET_AEQ_ELEM((eq), (eq)->cons_idx) total: 0 errors, 0 warnings, 3 checks, 892 lines checked