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 689ABA0548 for ; Sun, 28 Nov 2021 16:47:50 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 63F9C42760; Sun, 28 Nov 2021 16:47:50 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 9F09A4068A for ; Sun, 28 Nov 2021 16:47:48 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 98F9E122DB3; Sun, 28 Nov 2021 16:47:48 +0100 (CET) Subject: |WARNING| pw104738 [PATCH v2 10/10] raw/cnxk_gpio: support selftest In-Reply-To: <20211128154442.4029049-11-tduszynski@marvell.com> References: <20211128154442.4029049-11-tduszynski@marvell.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Tomasz Duszynski Message-Id: <20211128154748.98F9E122DB3@dpdk.org> Date: Sun, 28 Nov 2021 16:47:48 +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/104738 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #195: FILE: drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c:57: +#define CNXK_GPIO_ERR_STR(err, str, ...) do { \ + if (err) { \ + RTE_LOG(ERR, PMD, "%s:%d: " str " (%d) ", __func__, __LINE__, \ + ##__VA_ARGS__, err); \ + goto out; \ + } \ +} while (0) total: 0 errors, 1 warnings, 421 lines checked