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 90AA7A034E for ; Thu, 17 Feb 2022 17:11:18 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DFDF340395; Thu, 17 Feb 2022 17:11:16 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 7AC7040395 for ; Thu, 17 Feb 2022 17:11:15 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 72EC112336A; Thu, 17 Feb 2022 17:11:15 +0100 (CET) Subject: |WARNING| pw107738 [PATCH v3 01/15] bus/vmbus: scan and get the network device In-Reply-To: <20220217160613.70161-2-srikanth.k@oneconvergence.com> References: <20220217160613.70161-2-srikanth.k@oneconvergence.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Srikanth Kaka Message-Id: <20220217161115.72EC112336A@dpdk.org> Date: Thu, 17 Feb 2022 17:11:15 +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/107738 _coding style issues_ WARNING:AVOID_EXTERNS: externs should be avoided in .c files #123: FILE: drivers/bus/vmbus/freebsd/vmbus_bus.c:27: +extern struct rte_vmbus_bus rte_vmbus_bus; WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #309: FILE: drivers/bus/vmbus/freebsd/vmbus_bus.c:213: +#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, 2 warnings, 249 lines checked