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 5926F42614 for ; Fri, 22 Sep 2023 09:45:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 546994013F; Fri, 22 Sep 2023 09:45:24 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 8D95C40150 for ; Fri, 22 Sep 2023 09:45:16 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 83EB4120802; Fri, 22 Sep 2023 09:45:16 +0200 (CEST) Subject: |WARNING| pw131817 [PATCH v4 1/3] lib: introduce dispatcher library In-Reply-To: <20230922073825.351453-2-mattias.ronnblom@ericsson.com> References: <20230922073825.351453-2-mattias.ronnblom@ericsson.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: =?utf-8?q?Mattias_R=C3=B6nnblom?= Message-Id: <20230922074516.83EB4120802@dpdk.org> Date: Fri, 22 Sep 2023 09:45:16 +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/131817 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #348: FILE: lib/dispatcher/rte_dispatcher.c:82: +#define EVD_TRUE_OR_RET_EINVAL(expr, fmt, ...) \ + do { \ + if (unlikely(!(expr))) { \ + RTE_EDEV_LOG_ERR(fmt, __VA_ARGS__); \ + return -EINVAL; \ + } \ + } while (0) total: 0 errors, 1 warnings, 1356 lines checked