From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 97B2E1B3A7; Thu, 6 Dec 2018 18:43:16 +0100 (CET) In-Reply-To: <1544111691-7481-3-git-send-email-konstantin.ananyev@intel.com> References: <1544111691-7481-3-git-send-email-konstantin.ananyev@intel.com> To: test-report@dpdk.org Cc: Konstantin Ananyev Message-Id: <20181206174316.97B2E1B3A7@dpdk.org> Date: Thu, 6 Dec 2018 18:43:16 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw48577 [v3, 2/8] examples/ipsec-secgw: allow to specify neighbor mac address X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2018 17:43:16 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/48577 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #96: FILE: examples/ipsec-secgw/parser.c:309: +#define PARSE_UINT8x16(s, v, l) \ +do { \ + char *end; \ + unsigned long t; \ + errno = 0; \ + t = strtoul((s), &end, 16); \ + if (errno != 0 || end[0] != (l) || t > UINT8_MAX) \ + return -EINVAL; \ + (s) = end + 1; \ + (v) = t; \ +} while (0) total: 0 errors, 1 warnings, 162 lines checked