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 31478A04FD for ; Wed, 26 Oct 2022 12:15:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2E9BD40F18; Wed, 26 Oct 2022 12:15:31 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id D01B840041 for ; Wed, 26 Oct 2022 12:15:26 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id CC3C4122B86; Wed, 26 Oct 2022 12:15:26 +0200 (CEST) Subject: |WARNING| pw119146 [PATCH v12 12/18] net/idpf: support packet type get In-Reply-To: <20221026101027.240583-13-junfeng.guo@intel.com> References: <20221026101027.240583-13-junfeng.guo@intel.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Junfeng Guo Message-Id: <20221026101526.CC3C4122B86@dpdk.org> Date: Wed, 26 Oct 2022 12:15:26 +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/119146 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'p' - possible side-effects? #201: FILE: drivers/net/idpf/idpf_rxtx.h:26: +#define IDPF_GET_PTYPE_SIZE(p) \ + (sizeof(struct virtchnl2_ptype) + \ + (((p)->proto_id_count ? ((p)->proto_id_count - 1) : 0) * sizeof((p)->proto_id[0]))) total: 0 errors, 0 warnings, 1 checks, 359 lines checked