tools/virtio: virtio_test: Fix indentation

Message ID tencent_89579C514BC4020324A1A4ACA44B5B95BB07@qq.com
State New
Headers
Series tools/virtio: virtio_test: Fix indentation |

Commit Message

Rong Tao March 9, 2023, 6:13 a.m. UTC
  Replace eight spaces with Tab.

Signed-off-by: Rong Tao <rtoax@foxmail.com>
---
 tools/virtio/virtio_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Stefano Garzarella March 9, 2023, 8:24 a.m. UTC | #1
On Thu, Mar 09, 2023 at 02:13:20PM +0800, Rong Tao wrote:
>Replace eight spaces with Tab.
>
>Signed-off-by: Rong Tao <rtoax@foxmail.com>
>---
> tools/virtio/virtio_test.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Stefano Garzarella <sgarzare@redhat.com>

>
>diff --git a/tools/virtio/virtio_test.c b/tools/virtio/virtio_test.c
>index 6e348fbdc5d8..44409a311580 100644
>--- a/tools/virtio/virtio_test.c
>+++ b/tools/virtio/virtio_test.c
>@@ -134,7 +134,7 @@ static void vdev_info_init(struct vdev_info* dev, unsigned long long features)
> 	dev->buf_size = 1024;
> 	dev->buf = malloc(dev->buf_size);
> 	assert(dev->buf);
>-        dev->control = open("/dev/vhost-test", O_RDWR);
>+	dev->control = open("/dev/vhost-test", O_RDWR);
> 	assert(dev->control >= 0);
> 	r = ioctl(dev->control, VHOST_SET_OWNER, NULL);
> 	assert(r >= 0);
>-- 
>2.39.1
>
  

Patch

diff --git a/tools/virtio/virtio_test.c b/tools/virtio/virtio_test.c
index 6e348fbdc5d8..44409a311580 100644
--- a/tools/virtio/virtio_test.c
+++ b/tools/virtio/virtio_test.c
@@ -134,7 +134,7 @@  static void vdev_info_init(struct vdev_info* dev, unsigned long long features)
 	dev->buf_size = 1024;
 	dev->buf = malloc(dev->buf_size);
 	assert(dev->buf);
-        dev->control = open("/dev/vhost-test", O_RDWR);
+	dev->control = open("/dev/vhost-test", O_RDWR);
 	assert(dev->control >= 0);
 	r = ioctl(dev->control, VHOST_SET_OWNER, NULL);
 	assert(r >= 0);