[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 18/19] tests/qtest/e1000e-test: Fix the code style
From: |
Akihiko Odaki |
Subject: |
[PATCH 18/19] tests/qtest/e1000e-test: Fix the code style |
Date: |
Sat, 14 Jan 2023 12:59:18 +0900 |
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>
---
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.39.0
- [PATCH 06/19] e1000e: Mask registers when writing, (continued)
- [PATCH 06/19] e1000e: Mask registers when writing, Akihiko Odaki, 2023/01/13
- [PATCH 11/19] e1000e: Remove pending interrupt flags, Akihiko Odaki, 2023/01/13
- [PATCH 07/19] e1000: Use more constant definitions, Akihiko Odaki, 2023/01/13
- [PATCH 09/19] e1000: Use memcpy to intialize registers, Akihiko Odaki, 2023/01/13
- [PATCH 08/19] e1000e: Use more constant definitions, Akihiko Odaki, 2023/01/13
- [PATCH 10/19] e1000e: Use memcpy to intialize registers, Akihiko Odaki, 2023/01/13
- [PATCH 12/19] e1000e: Improve software reset, Akihiko Odaki, 2023/01/13
- [PATCH 17/19] e1000e: Remove extra pointer indirection, Akihiko Odaki, 2023/01/13
- [PATCH 14/19] e1000e: Configure ResettableClass, Akihiko Odaki, 2023/01/13
- [PATCH 18/19] tests/qtest/e1000e-test: Fix the code style,
Akihiko Odaki <=
- [PATCH 13/19] e1000: Configure ResettableClass, Akihiko Odaki, 2023/01/13
- [PATCH 15/19] e1000e: Introduce e1000_rx_desc_union, Akihiko Odaki, 2023/01/13
- [PATCH 16/19] e1000e: Set MII_ANER_NWAY, Akihiko Odaki, 2023/01/13
- [PATCH 19/19] tests/qtest/libqos/e1000e: Remove duplicate register definitions, Akihiko Odaki, 2023/01/13