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 755B9A0553 for ; Thu, 20 Oct 2022 17:48:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6E67441133; Thu, 20 Oct 2022 17:48:42 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 5497940694 for ; Thu, 20 Oct 2022 17:48:41 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 50B4B120778; Thu, 20 Oct 2022 17:48:41 +0200 (CEST) Subject: |WARNING| pw118802 [PATCH v6 11/18] net/mlx5: add HW steering VLAN push, pop and VID modify flow actions In-Reply-To: <20221020154152.28228-12-suanmingm@nvidia.com> References: <20221020154152.28228-12-suanmingm@nvidia.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Suanming Mou Message-Id: <20221020154841.50B4B120778@dpdk.org> Date: Thu, 20 Oct 2022 17:48:41 +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/118802 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'ptr' - possible side-effects? #510: FILE: drivers/net/mlx5/mlx5_flow_hw.c:3065: +#define X_FIELD(ptr, t, f) (((ptr)->conf) && ((t *)((ptr)->conf))->f) CHECK:MACRO_ARG_PRECEDENCE: Macro argument 't' may be better as '(t)' to avoid precedence issues #510: FILE: drivers/net/mlx5/mlx5_flow_hw.c:3065: +#define X_FIELD(ptr, t, f) (((ptr)->conf) && ((t *)((ptr)->conf))->f) CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'f' may be better as '(f)' to avoid precedence issues #510: FILE: drivers/net/mlx5/mlx5_flow_hw.c:3065: +#define X_FIELD(ptr, t, f) (((ptr)->conf) && ((t *)((ptr)->conf))->f) WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'? #861: FILE: drivers/net/mlx5/mlx5_flow_hw.c:5197: + if (priv->sh->config.dv_esw_en && priv->master) { total: 0 errors, 1 warnings, 3 checks, 671 lines checked