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 A6368A00C3 for ; Mon, 19 Sep 2022 08:07:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 95D34410D0; Mon, 19 Sep 2022 08:07:06 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id A018D40E0F for ; Mon, 19 Sep 2022 08:07:05 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 8DF0A121F02; Mon, 19 Sep 2022 08:07:05 +0200 (CEST) Subject: |WARNING| pw116415 [PATCH] net/iavf: fix error of virtchnl command In-Reply-To: <20220919060654.1092715-1-yidingx.zhou@intel.com> References: <20220919060654.1092715-1-yidingx.zhou@intel.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Yiding Zhou Message-Id: <20220919060705.8DF0A121F02@dpdk.org> Date: Mon, 19 Sep 2022 08:07:05 +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/116415 _coding style issues_ WARNING:TYPO_SPELLING: 'lsit' may be misspelled - perhaps 'list'? #144: FILE: drivers/net/iavf/iavf_vchnl.c:44: + TAILQ_HEAD(event_lsit, iavf_arq_event_element) pending; CHECK:MACRO_ARG_REUSE: Macro argument reuse 'var' - possible side-effects? #152: FILE: drivers/net/iavf/iavf_vchnl.c:52: +#define TAILQ_FOREACH_SAFE(var, head, field, tvar) \ + for ((var) = TAILQ_FIRST((head)); \ + (var) && ((tvar) = TAILQ_NEXT((var), field), 1); \ + (var) = (tvar)) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'tvar' - possible side-effects? #152: FILE: drivers/net/iavf/iavf_vchnl.c:52: +#define TAILQ_FOREACH_SAFE(var, head, field, tvar) \ + for ((var) = TAILQ_FIRST((head)); \ + (var) && ((tvar) = TAILQ_NEXT((var), field), 1); \ + (var) = (tvar)) total: 0 errors, 1 warnings, 2 checks, 173 lines checked Warning in drivers/net/iavf/iavf_vchnl.c: Using rte_atomicNN_xxx