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 95EB4425C9 for ; Mon, 18 Sep 2023 04:51:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 903E640691; Mon, 18 Sep 2023 04:51:39 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id B7DDF402B1 for ; Mon, 18 Sep 2023 04:51:30 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id B4212120802; Mon, 18 Sep 2023 04:51:30 +0200 (CEST) Subject: |WARNING| pw131541 [PATCH v4 08/26] net/nfp: standard the blank character In-Reply-To: <20230918024612.1600536-9-chaoyong.he@corigine.com> References: <20230918024612.1600536-9-chaoyong.he@corigine.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Chaoyong He Message-Id: <20230918025130.B4212120802@dpdk.org> Date: Mon, 18 Sep 2023 04:51:30 +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/131541 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'model' - possible side-effects? #195: 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 #1028: 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, 811 lines checked