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/inc/hf/list.h b/inc/hf/list.h
index 0f200ce..1f13697 100644
--- a/inc/hf/list.h
+++ b/inc/hf/list.h
@@ -16,10 +16,7 @@
struct list_entry *prev;
};
-#define LIST_INIT(l) \
- { \
- .next = &l, .prev = &l \
- }
+#define LIST_INIT(l) {.next = &l, .prev = &l}
#define CONTAINER_OF(ptr, type, field) \
((type *)((char *)ptr - offsetof(type, field)))