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 3E64BA0C47 for ; Tue, 6 Jul 2021 11:58:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 32ABC41273; Tue, 6 Jul 2021 11:58:24 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 43A8B4120E for ; Tue, 6 Jul 2021 11:58:23 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 373D01233CB; Tue, 6 Jul 2021 11:58:23 +0200 (CEST) In-Reply-To: <20210706095545.10776-6-jiawenwu@trustnetic.com> References: <20210706095545.10776-6-jiawenwu@trustnetic.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Jiawen Wu Message-Id: <20210706095823.373D01233CB@dpdk.org> Date: Tue, 6 Jul 2021 11:58:23 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw95350 [PATCH v7 05/19] net/ngbe: set MAC type and LAN ID with device initialization 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 Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/95350 _coding style issues_ ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #130: FILE: drivers/net/ngbe/base/ngbe_dummy.h:10: +#define TUP(x) x##_unused ngbe_unused CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects? #405: FILE: drivers/net/ngbe/base/ngbe_osdep.h:30: +#define ASSERT(x) do { \ + if (!(x)) \ + PMD_DRV_LOG(ERR, "NGBE: %d", x); \ +} while (0) total: 1 errors, 0 warnings, 1 checks, 629 lines checked