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 190C6A054A for ; Thu, 18 Feb 2021 19:31:16 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0FCF440040; Thu, 18 Feb 2021 19:31:16 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mails.dpdk.org (Postfix) with ESMTP id E70094003D for ; Thu, 18 Feb 2021 19:31:14 +0100 (CET) Received: by dpdk.org (Postfix, from userid 1017) id D53DBC966; Thu, 18 Feb 2021 19:31:14 +0100 (CET) In-Reply-To: <20210218183011.254447-1-mattias.ronnblom@ericsson.com> References: <20210218183011.254447-1-mattias.ronnblom@ericsson.com> To: test-report@dpdk.org Cc: =?utf-8?q?Mattias_R=C3=B6nnblom?= Message-Id: <20210218183114.D53DBC966@dpdk.org> Date: Thu, 18 Feb 2021 19:31:14 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw87991 [RFC] eventdev: introduce event dispatcher 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/87991 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #202: FILE: lib/librte_eventdev/rte_event_dispatcher.c:62: +#define RED_VALID_ID_OR_RET_EINVAL(id) \ + do { \ + if (unlikely(!red_has_dispatcher(id))) { \ + RTE_EDEV_LOG_ERR("Invalid dispatcher id %d ", id); \ + return -EINVAL; \ + } \ + } while (0) WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #215: FILE: lib/librte_eventdev/rte_event_dispatcher.c:75: + if (unlikely(cb->cb_fun == NULL)) + cb = &dispatcher->fallback; total: 0 errors, 2 warnings, 715 lines checked