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 21FB2A0C4D for ; Thu, 17 Jun 2021 13:00:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 187CB410F0; Thu, 17 Jun 2021 13:00:39 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id D4F15410E7 for ; Thu, 17 Jun 2021 13:00:37 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id D0DA2122E3A; Thu, 17 Jun 2021 13:00:37 +0200 (CEST) In-Reply-To: <20210617110005.4132926-6-jiawenwu@trustnetic.com> References: <20210617110005.4132926-6-jiawenwu@trustnetic.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Jiawen Wu Message-Id: <20210617110037.D0DA2122E3A@dpdk.org> Date: Thu, 17 Jun 2021 13:00:37 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw94330 [PATCH v6 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/94330 _coding style issues_ ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #129: 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? #404: 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, 616 lines checked