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 6B535A034C for ; Wed, 31 Aug 2022 10:42:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 63C0C40F17; Wed, 31 Aug 2022 10:42:24 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 287EA40395 for ; Wed, 31 Aug 2022 10:42:23 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 16442121F02; Wed, 31 Aug 2022 10:42:23 +0200 (CEST) Subject: |WARNING| pw115690 [PATCH] net/virtio: fix crash when dev is configured twice In-Reply-To: <20220831084059.43918-1-achernavin@netgate.com> References: <20220831084059.43918-1-achernavin@netgate.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Alexander Chernavin Message-Id: <20220831084223.16442121F02@dpdk.org> Date: Wed, 31 Aug 2022 10:42:23 +0200 (CEST) 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/115690 _coding style issues_ WARNING:LEADING_SPACE: please, no spaces at the start of a line #113: FILE: drivers/net/virtio/virtio_ethdev.c:2620: + if (hw->vqs == NULL) {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (1, 3) #113: FILE: drivers/net/virtio/virtio_ethdev.c:2620: + if (hw->vqs == NULL) { + ret = virtio_init_device(dev, hw->req_guest_features); WARNING:LEADING_SPACE: please, no spaces at the start of a line #114: FILE: drivers/net/virtio/virtio_ethdev.c:2621: + ret = virtio_init_device(dev, hw->req_guest_features);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #115: FILE: drivers/net/virtio/virtio_ethdev.c:2622: + if (ret < 0)$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (3, 5) #115: FILE: drivers/net/virtio/virtio_ethdev.c:2622: + if (ret < 0) + return ret; WARNING:LEADING_SPACE: please, no spaces at the start of a line #116: FILE: drivers/net/virtio/virtio_ethdev.c:2623: + return ret;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #117: FILE: drivers/net/virtio/virtio_ethdev.c:2624: + }$ total: 0 errors, 7 warnings, 0 checks, 13 lines checked