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 B9353A0547 for ; Mon, 6 Dec 2021 13:19:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AA8C641174; Mon, 6 Dec 2021 13:19:54 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id E697F41169 for ; Mon, 6 Dec 2021 13:19:53 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id BADD8122DB7; Mon, 6 Dec 2021 13:19:53 +0100 (CET) Subject: |WARNING| pw104927 [PATCH 01/17] bus/fslmc: update MC to 10.29 In-Reply-To: <20211206121824.3493-2-nipun.gupta@nxp.com> References: <20211206121824.3493-2-nipun.gupta@nxp.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: nipun.gupta@nxp.com Message-Id: <20211206121953.BADD8122DB7@dpdk.org> Date: Mon, 6 Dec 2021 13:19:53 +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/104927 _coding style issues_ CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'shaping_lni' may be better as '(shaping_lni)' to avoid precedence issues #548: 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 #548: 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