summary refs log tree commit diff stats
path: root/tests/qtest/aspeed_smc-test.c
diff options
context:
space:
mode:
authorJamin Lin <jamin_lin@aspeedtech.com>2024-10-22 17:41:00 +0800
committerCédric Le Goater <clg@redhat.com>2024-10-24 07:57:47 +0200
commit1df52a9ac0897687cff7c38705007b2b58065042 (patch)
tree0a07dd0f8d4a9126c842b96e3d5f926c33e38170 /tests/qtest/aspeed_smc-test.c
parente15001bc804f811343e4984d55f90fe70029598a (diff)
downloadfocaccia-qemu-1df52a9ac0897687cff7c38705007b2b58065042.tar.gz
focaccia-qemu-1df52a9ac0897687cff7c38705007b2b58065042.zip
test/qtest/aspeed_smc-test: Fix coding style
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>
Diffstat (limited to 'tests/qtest/aspeed_smc-test.c')
-rw-r--r--tests/qtest/aspeed_smc-test.c6
1 files 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);