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 4C1CDA04A5 for ; Mon, 27 Dec 2021 17:17:18 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 19A7141148; Mon, 27 Dec 2021 17:17:16 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 3526641178 for ; Mon, 27 Dec 2021 17:17:05 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 1849E120D7B; Mon, 27 Dec 2021 17:17:05 +0100 (CET) Subject: |WARNING| pw105436 [PATCH v2 01/16] bus/fslmc: update MC to 10.29 In-Reply-To: <20211227161645.24359-2-nipun.gupta@nxp.com> References: <20211227161645.24359-2-nipun.gupta@nxp.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: nipun.gupta@nxp.com Message-Id: <20211227161705.1849E120D7B@dpdk.org> Date: Mon, 27 Dec 2021 17:17:05 +0100 (CET) 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/105436 _coding style issues_ CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'shaping_lni' may be better as '(shaping_lni)' to avoid precedence issues #549: FILE: drivers/net/dpaa2/mc/fsl_dpni.h:808: +#define DPNI_TX_SHAPING_PARAM(oal, shaping_lni, channel_id, coupled) ( \ + ((uint32_t)(((oal) & 0x7ff) << 16)) | \ + ((uint32_t)((channel_id) & 0xff) << 8) | \ + ((uint32_t)(!!shaping_lni) << 1) | \ + ((uint32_t)!!coupled)) CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'coupled' may be better as '(coupled)' to avoid precedence issues #549: FILE: drivers/net/dpaa2/mc/fsl_dpni.h:808: +#define DPNI_TX_SHAPING_PARAM(oal, shaping_lni, channel_id, coupled) ( \ + ((uint32_t)(((oal) & 0x7ff) << 16)) | \ + ((uint32_t)((channel_id) & 0xff) << 8) | \ + ((uint32_t)(!!shaping_lni) << 1) | \ + ((uint32_t)!!coupled)) total: 0 errors, 0 warnings, 2 checks, 669 lines checked