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 A10BAA054F for ; Mon, 5 Sep 2022 12:59:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8BDB942B76; Mon, 5 Sep 2022 12:59:33 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id E6E194281E for ; Mon, 5 Sep 2022 12:59:32 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id D3E7B121F02; Mon, 5 Sep 2022 12:59:32 +0200 (CEST) Subject: |WARNING| pw115897 [PATCH v2 06/14] net/idpf: add support for packet type get In-Reply-To: <20220905105828.3190335-7-junfeng.guo@intel.com> References: <20220905105828.3190335-7-junfeng.guo@intel.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Junfeng Guo Message-Id: <20220905105932.D3E7B121F02@dpdk.org> Date: Mon, 5 Sep 2022 12:59:32 +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/115897 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'p' - possible side-effects? #163: FILE: drivers/net/idpf/idpf_rxtx.h:49: +#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, 319 lines checked