summaryrefslogtreecommitdiff
path: root/test/cortexm_fpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/cortexm_fpu.c')
-rw-r--r--test/cortexm_fpu.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/test/cortexm_fpu.c b/test/cortexm_fpu.c
index 8564e2a4ef..c27edbaf40 100644
--- a/test/cortexm_fpu.c
+++ b/test/cortexm_fpu.c
@@ -1,4 +1,4 @@
-/* Copyright 2022 The Chromium OS Authors. All rights reserved.
+/* Copyright 2022 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -33,11 +33,7 @@ static float divf(float a, float b)
{
float result;
- asm volatile(
- "fdivs %0, %1, %2"
- : "=w"(result)
- : "w"(a), "w"(b)
- );
+ asm volatile("fdivs %0, %1, %2" : "=w"(result) : "w"(a), "w"(b));
return result;
}
@@ -162,7 +158,7 @@ test_static int test_cortexm_fpu_inexact(void)
return EC_SUCCESS;
}
-void run_test(int argc, char **argv)
+void run_test(int argc, const char **argv)
{
test_reset();