fix: fix build with clang-18
Some uses of inline assembly for accessing floating point registers did
not enable the FP extension and were failing with clang-18.
The check in the linker script for the `hftest_enable` variable fails
under clang-18. However, hftest still compiles and passes without the
check, so it was removed.
Fix new warnings from `clang-tidy`.
Apply `make format`.
Change-Id: I43996abb4c42de54be807dcdb76107b9752c62fb
Signed-off-by: Karl Meakin <karl.meakin@arm.com>
diff --git a/src/dlog.c b/src/dlog.c
index 5a12327..780cf55 100644
--- a/src/dlog.c
+++ b/src/dlog.c
@@ -393,7 +393,7 @@
}
break;
case length64:
- if ((int64_t)signed_value < 0) {
+ if (signed_value < 0) {
flags->neg = true;
signed_value = -signed_value;
}