From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1F0F7A09E4 for ; Sun, 3 Jan 2021 04:48:15 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 125DB16068C; Sun, 3 Jan 2021 04:48:15 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mails.dpdk.org (Postfix) with ESMTP id 275C2160684 for ; Sun, 3 Jan 2021 04:48:14 +0100 (CET) Received: by dpdk.org (Postfix, from userid 1017) id 0C0BD37A2; Sun, 3 Jan 2021 04:48:14 +0100 (CET) In-Reply-To: <20210103034627.80169-2-ajit.khaparde@broadcom.com> References: <20210103034627.80169-2-ajit.khaparde@broadcom.com> To: test-report@dpdk.org Cc: Ajit Khaparde Message-Id: <20210103034814.0C0BD37A2@dpdk.org> Date: Sun, 3 Jan 2021 04:48:14 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw85933 [PATCH v2 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/85933 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'db' - possible side-effects? #197: 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? #199: 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? #199: 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