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 AC814430EF for ; Thu, 24 Aug 2023 13:13:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9D08940150; Thu, 24 Aug 2023 13:13:52 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 2344543000 for ; Thu, 24 Aug 2023 13:13:39 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 2198B1206AB; Thu, 24 Aug 2023 13:13:39 +0200 (CEST) Subject: |WARNING| pw130712 [PATCH 09/27] net/nfp: standard the blank character In-Reply-To: <20230824110956.1943559-10-chaoyong.he@corigine.com> References: <20230824110956.1943559-10-chaoyong.he@corigine.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Chaoyong He Message-Id: <20230824111339.2198B1206AB@dpdk.org> Date: Thu, 24 Aug 2023 13:13:39 +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/130712 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'model' - possible side-effects? #192: FILE: drivers/net/nfp/nfpcore/nfp_cpp.h:284: +#define NFP_CPP_MODEL_IS_6000(model) \ ((NFP_CPP_MODEL_CHIP_of(model) >= 0x3800) && \ (NFP_CPP_MODEL_CHIP_of(model) < 0x7000)) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1007: FILE: drivers/net/nfp/nfpcore/nfp_resource.c:46: +#define NFP_RESOURCE_TBL_ENTRIES (int)(NFP_RESOURCE_TBL_SIZE / \ + sizeof(struct nfp_resource_entry)) total: 1 errors, 0 warnings, 1 checks, 798 lines checked