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 3E973A04A4 for ; Tue, 1 Mar 2022 15:51:08 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E63BD40DF6; Tue, 1 Mar 2022 15:51:07 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 20DC14067B for ; Tue, 1 Mar 2022 15:51:07 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 1C7891234A0; Tue, 1 Mar 2022 15:51:07 +0100 (CET) Subject: |WARNING| pw108443 [PATCH v6 1/2] examples/l3fwd: add config file support for LPM/FIB In-Reply-To: <20220301144908.1449465-2-sean.morrissey@intel.com> References: <20220301144908.1449465-2-sean.morrissey@intel.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Sean Morrissey Message-Id: <20220301145107.1C7891234A0@dpdk.org> Date: Tue, 1 Mar 2022 15:51:07 +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/108443 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #407: FILE: examples/l3fwd/l3fwd_route.h:13: +#define GET_CB_FIELD(in, fd, base, lim, dlm) do { \ + unsigned long val; \ + char *end; \ + errno = 0; \ + val = strtoul((in), &end, (base)); \ + if (errno != 0 || end[0] != (dlm) || val > (lim)) \ + return -EINVAL; \ + (fd) = (typeof(fd))val; \ + (in) = end + 1; \ +} while (0) total: 0 errors, 1 warnings, 815 lines checked