From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 6A2501B596; Thu, 22 Nov 2018 19:51:37 +0100 (CET) In-Reply-To: <1542912591-20403-3-git-send-email-konstantin.ananyev@intel.com> References: <1542912591-20403-3-git-send-email-konstantin.ananyev@intel.com> To: test-report@dpdk.org Cc: Konstantin Ananyev Message-Id: <20181122185137.6A2501B596@dpdk.org> Date: Thu, 22 Nov 2018 19:51:37 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw48277 [2/7] 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, 22 Nov 2018 18:51:37 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/48277 _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