From patchwork Tue Apr 26 08:27:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 614833 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3qvGSB1t0sz9t5Y for ; Tue, 26 Apr 2016 18:27:54 +1000 (AEST) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3qvGSB14vpzDqBV for ; Tue, 26 Apr 2016 18:27:54 +1000 (AEST) X-Original-To: slof@lists.ozlabs.org Delivered-To: slof@lists.ozlabs.org Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3qvGS62rGSzDqBK for ; Tue, 26 Apr 2016 18:27:50 +1000 (AEST) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DF4BA81100; Tue, 26 Apr 2016 08:27:48 +0000 (UTC) Received: from thh440s.fritz.box (vpn1-4-246.ams2.redhat.com [10.36.4.246]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u3Q8RfTp014019; Tue, 26 Apr 2016 04:27:47 -0400 From: Thomas Huth To: slof@lists.ozlabs.org, nikunj@linux.vnet.ibm.com Date: Tue, 26 Apr 2016 10:27:41 +0200 Message-Id: <1461659261-26783-4-git-send-email-thuth@redhat.com> In-Reply-To: <1461659261-26783-1-git-send-email-thuth@redhat.com> References: <1461659261-26783-1-git-send-email-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Subject: [SLOF] [PATCH 3/3] virtio: White space cleanup in virtio-9p.c X-BeenThere: slof@lists.ozlabs.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Patches for https://github.com/aik/SLOF" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: slof-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "SLOF" Simple cosmetical fix - some lines were indented with spaces instead of tabs. Change it to be in line with the coding conventions. Signed-off-by: Thomas Huth --- lib/libvirtio/virtio-9p.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/libvirtio/virtio-9p.c b/lib/libvirtio/virtio-9p.c index d3b3424..6e9c379 100644 --- a/lib/libvirtio/virtio-9p.c +++ b/lib/libvirtio/virtio-9p.c @@ -171,8 +171,8 @@ int virtio_9p_init(struct virtio_device *dev, void *tx_buf, void *rx_buf, return -1; __buf_size = buf_size; - dprintf("%s : device at %p\n", __func__, dev->base); - dprintf("%s : type is %04x\n", __func__, dev->type); + dprintf("%s : device at %p\n", __func__, dev->base); + dprintf("%s : type is %04x\n", __func__, dev->type); virtio_reset_device(dev); @@ -222,11 +222,11 @@ dev_error: */ void virtio_9p_shutdown(struct virtio_device *dev) { - /* Quiesce device */ - virtio_set_status(dev, VIRTIO_STAT_FAILED); + /* Quiesce device */ + virtio_set_status(dev, VIRTIO_STAT_FAILED); - /* Reset device */ - virtio_reset_device(dev); + /* Reset device */ + virtio_reset_device(dev); __buf_size = 0; }