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 77F6CA034F for ; Fri, 8 Oct 2021 14:14:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 73AA6410F0; Fri, 8 Oct 2021 14:14:22 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 92DDB40E28 for ; Fri, 8 Oct 2021 14:14:20 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 7B0ED120E00; Fri, 8 Oct 2021 14:14:20 +0200 (CEST) In-Reply-To: <20211008113949.101513-1-srikanth.k@oneconvergence.com> References: <20211008113949.101513-1-srikanth.k@oneconvergence.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Srikanth Kaka Message-Id: <20211008121420.7B0ED120E00@dpdk.org> Date: Fri, 8 Oct 2021 14:14:20 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw100816 [PATCH v2 02/11] bus/vmbus: scan and get the network device 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/100816 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #360: FILE: drivers/bus/vmbus/freebsd/vmbus_bus.c:372: +#define UNPACK(x) \ + do { \ + x = strdup(walker); \ + if (x == NULL) \ + return -ENOMEM; \ + if (walker + strnlen(walker, ep - walker) >= ep) \ + return -EINVAL; \ + walker += strlen(walker) + 1; \ + } while (0) total: 0 errors, 1 warnings, 0 checks, 305 lines checked