[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 6/9] tests/qtest/e1000e-test: Fix the code style
From: |
Thomas Huth |
Subject: |
[PULL 6/9] tests/qtest/e1000e-test: Fix the code style |
Date: |
Wed, 18 Jan 2023 12:34:15 +0100 |
From: Akihiko Odaki <akihiko.odaki@daynix.com>
igb implementation first starts off by copying e1000e code. Correct the
code style before that.
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230114035919.35251-19-akihiko.odaki@daynix.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
tests/qtest/e1000e-test.c | 2 +-
tests/qtest/libqos/e1000e.c | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/tests/qtest/e1000e-test.c b/tests/qtest/e1000e-test.c
index 3fc92046be..b63a4d3c91 100644
--- a/tests/qtest/e1000e-test.c
+++ b/tests/qtest/e1000e-test.c
@@ -1,4 +1,4 @@
- /*
+/*
* QTest testcase for e1000e NIC
*
* Copyright (c) 2015 Ravello Systems LTD (http://ravellosystems.com)
diff --git a/tests/qtest/libqos/e1000e.c b/tests/qtest/libqos/e1000e.c
index 37c794b130..b90eb2d5e0 100644
--- a/tests/qtest/libqos/e1000e.c
+++ b/tests/qtest/libqos/e1000e.c
@@ -222,8 +222,10 @@ static void e1000e_register_nodes(void)
.device_id = E1000_DEV_ID_82574L,
};
- /* FIXME: every test using this node needs to setup a -netdev socket,id=hs0
- * otherwise QEMU is not going to start */
+ /*
+ * FIXME: every test using this node needs to setup a -netdev socket,id=hs0
+ * otherwise QEMU is not going to start
+ */
QOSGraphEdgeOptions opts = {
.extra_device_opts = "netdev=hs0",
};
--
2.31.1
- [PULL 0/9] Testing, s390x and misc patches, Thomas Huth, 2023/01/18
- [PULL 1/9] Upgrade all packages in the FreeBSD VMs to ensure the freshness, Thomas Huth, 2023/01/18
- [PULL 2/9] Makefile: allow 'make uninstall', Thomas Huth, 2023/01/18
- [PULL 3/9] bulk: Rename TARGET_FMT_plx -> HWADDR_FMT_plx, Thomas Huth, 2023/01/18
- [PULL 7/9] tests/qtest/libqos/e1000e: Remove duplicate register definitions, Thomas Huth, 2023/01/18
- [PULL 4/9] MAINTAINERS: Remove bouncing mail address from Kamil Rytarowski, Thomas Huth, 2023/01/18
- [PULL 6/9] tests/qtest/e1000e-test: Fix the code style,
Thomas Huth <=
- [PULL 5/9] tests/qtest: Restrict bcm2835-dma-test to CONFIG_RASPI, Thomas Huth, 2023/01/18
- [PULL 9/9] s390x/pv: Implement a CGS check helper, Thomas Huth, 2023/01/18
- [PULL 8/9] tests/vm/haiku.x86_64: Update the Haiku VM to Beta 4, Thomas Huth, 2023/01/18
- Re: [PULL 0/9] Testing, s390x and misc patches, Peter Maydell, 2023/01/19