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 3E791A0350 for ; Mon, 3 Jan 2022 11:02:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 64CAF40E0F; Mon, 3 Jan 2022 11:02:11 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id BCB3C407FF for ; Mon, 3 Jan 2022 11:02:10 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 68FBC120D7B; Mon, 3 Jan 2022 11:02:09 +0100 (CET) Subject: |WARNING| pw105557 [PATCH v3 01/15] bus/fslmc: update MC to 10.29 In-Reply-To: <20220103100129.23965-2-nipun.gupta@nxp.com> References: <20220103100129.23965-2-nipun.gupta@nxp.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: nipun.gupta@nxp.com Message-Id: <20220103100209.68FBC120D7B@dpdk.org> Date: Mon, 3 Jan 2022 11:02:09 +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/105557 _coding style issues_ CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'shaping_lni' may be better as '(shaping_lni)' to avoid precedence issues #550: 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 #550: 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