[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 08/18] test/qtest/aspeed_smc-test: Fix coding style
From: |
Jamin Lin |
Subject: |
[PATCH v2 08/18] test/qtest/aspeed_smc-test: Fix coding style |
Date: |
Tue, 22 Oct 2024 17:41:00 +0800 |
Fix coding style issues from checkpatch.pl
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
---
tests/qtest/aspeed_smc-test.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/qtest/aspeed_smc-test.c b/tests/qtest/aspeed_smc-test.c
index c713a3700b..4673371d95 100644
--- a/tests/qtest/aspeed_smc-test.c
+++ b/tests/qtest/aspeed_smc-test.c
@@ -353,7 +353,8 @@ static void test_read_page_mem(void)
uint32_t page[FLASH_PAGE_SIZE / 4];
int i;
- /* Enable 4BYTE mode for controller. This is should be strapped by
+ /*
+ * Enable 4BYTE mode for controller. This is should be strapped by
* HW for CE0 anyhow.
*/
spi_ce_ctrl(1 << CRTL_EXTENDED0);
@@ -394,7 +395,8 @@ static void test_write_page_mem(void)
uint32_t page[FLASH_PAGE_SIZE / 4];
int i;
- /* Enable 4BYTE mode for controller. This is should be strapped by
+ /*
+ * Enable 4BYTE mode for controller. This is should be strapped by
* HW for CE0 anyhow.
*/
spi_ce_ctrl(1 << CRTL_EXTENDED0);
--
2.34.1
- Re: [PATCH v2 01/18] aspeed/smc: Fix write incorrect data into flash in user mode, (continued)
[PATCH v2 03/18] hw/block:m25p80: Support write status register 2 command (0x31) for w25q01jvq, Jamin Lin, 2024/10/22
[PATCH v2 05/18] hw/arm/aspeed: Correct spi_model w25q256 for ast1030-a1 EVB., Jamin Lin, 2024/10/22
[PATCH v2 06/18] hw/arm/aspeed: Correct fmc_model w25q80bl for ast1030-a1 EVB, Jamin Lin, 2024/10/22
[PATCH v2 08/18] test/qtest/aspeed_smc-test: Fix coding style,
Jamin Lin <=
[PATCH v2 07/18] aspeed: Fix hardcode attach flash model of spi controllers, Jamin Lin, 2024/10/22
[PATCH v2 09/18] test/qtest/aspeed_smc-test: Move testcases to test_palmetto_bmc function, Jamin Lin, 2024/10/22
[PATCH v2 10/18] test/qtest/aspeed_smc-test: Introduce a new TestData to test different BMC SOCs, Jamin Lin, 2024/10/22
[PATCH v2 11/18] test/qtest/aspeed_smc-test: Support to test all CE pins, Jamin Lin, 2024/10/22
[PATCH v2 12/18] test/qtest/aspeed_smc-test: Introducing a "page_addr" data field, Jamin Lin, 2024/10/22