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 A652BA0A00 for ; Mon, 11 Jan 2021 18:44:32 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 84CB2140FC3; Mon, 11 Jan 2021 18:44:32 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mails.dpdk.org (Postfix) with ESMTP id F11D0140FA9 for ; Mon, 11 Jan 2021 18:44:30 +0100 (CET) Received: by dpdk.org (Postfix, from userid 1017) id D95FC11A2; Mon, 11 Jan 2021 18:44:30 +0100 (CET) In-Reply-To: <20210111174400.10606-2-ajit.khaparde@broadcom.com> References: <20210111174400.10606-2-ajit.khaparde@broadcom.com> To: test-report@dpdk.org Cc: Ajit Khaparde Message-Id: <20210111174430.D95FC11A2@dpdk.org> Date: Mon, 11 Jan 2021 18:44:30 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw86327 [PATCH v4 1/6] net/bnxt: add support for 58818 chip family 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/86327 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'db' - possible side-effects? #200: FILE: drivers/net/bnxt/bnxt_cpr.h:88: +#define DB_EPOCH(db, idx) (((idx) & (db)->db_epoch_mask) << \ + ((db)->db_epoch_shift)) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'db' - possible side-effects? #202: FILE: drivers/net/bnxt/bnxt_cpr.h:90: +#define DB_RING_IDX(db, idx) (((idx) & (db)->db_ring_mask) | \ + DB_EPOCH(db, idx)) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'idx' - possible side-effects? #202: FILE: drivers/net/bnxt/bnxt_cpr.h:90: +#define DB_RING_IDX(db, idx) (((idx) & (db)->db_ring_mask) | \ + DB_EPOCH(db, idx)) total: 0 errors, 0 warnings, 3 checks, 156 lines checked