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 9DBC4A00C4 for ; Fri, 5 Aug 2022 08:34:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 89C1242C2C; Fri, 5 Aug 2022 08:34:11 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 7500E400D5 for ; Fri, 5 Aug 2022 08:34:10 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 6D22E120775; Fri, 5 Aug 2022 08:34:10 +0200 (CEST) Subject: |WARNING| pw114665 [PATCH v5 05/12] net/nfp: add flower PF setup and mempool init logic In-Reply-To: <1659681155-16525-6-git-send-email-chaoyong.he@corigine.com> References: <1659681155-16525-6-git-send-email-chaoyong.he@corigine.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Chaoyong He Message-Id: <20220805063410.6D22E120775@dpdk.org> Date: Fri, 5 Aug 2022 08:34:10 +0200 (CEST) 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 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/114665 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'Y' - possible side-effects? #614: FILE: drivers/net/nfp/flower/nfp_flower_ovs_compat.h:15: +#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y)) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'MEMBERS' - possible side-effects? #619: FILE: drivers/net/nfp/flower/nfp_flower_ovs_compat.h:20: +#define PADDED_MEMBERS_CACHELINE_MARKER(UNIT, CACHELINE, MEMBERS) \ + union { \ + OVS_CACHE_LINE_MARKER CACHELINE; \ + struct { MEMBERS }; \ + uint8_t PAD_ID[ROUND_UP(sizeof(struct { MEMBERS }), UNIT)]; \ + } CHECK:MACRO_ARG_REUSE: Macro argument reuse 'MEMBERS' - possible side-effects? #626: FILE: drivers/net/nfp/flower/nfp_flower_ovs_compat.h:27: +#define PADDED_MEMBERS_CACHELINE_MARKER(UNIT, CACHELINE, MEMBERS) \ + struct struct_##CACHELINE { MEMBERS }; \ + union { \ + OVS_CACHE_LINE_MARKER CACHELINE; \ + struct { MEMBERS }; \ + uint8_t PAD_ID[ROUND_UP(sizeof(struct struct_##CACHELINE), UNIT)]; \ + } total: 0 errors, 0 warnings, 3 checks, 584 lines checked