Format vmlib too.
Change-Id: Ic419d4d9c3b9da7b6b12278f857293bdd3350247
diff --git a/Makefile b/Makefile
index 2fe3c27..01627c5 100644
--- a/Makefile
+++ b/Makefile
@@ -79,6 +79,7 @@
@find inc/ -name \*.c -o -name \*.cc -o -name \*.h | xargs -r clang-format -style file -i
@find test/ -name \*.c -o -name \*.cc -o -name \*.h | xargs -r clang-format -style file -i
@find project/ -name \*.c -o -name \*.cc -o -name \*.h | xargs -r clang-format -style file -i
+ @find vmlib/ -name \*.c -o -name \*.cc -o -name \*.h | xargs -r clang-format -style file -i
@find . \( -name \*.gn -o -name \*.gni \) | xargs -n1 $(GN) format
.PHONY: checkpatch
diff --git a/vmlib/spci.c b/vmlib/spci.c
index 59c36e4..37447e4 100644
--- a/vmlib/spci.c
+++ b/vmlib/spci.c
@@ -32,11 +32,12 @@
* `memory_region` (attributes, constituents and memory region header size).
*/
uint32_t spci_memory_region_init(
- struct spci_memory_region *memory_region, spci_vm_id_t sender, spci_vm_id_t receiver,
+ struct spci_memory_region *memory_region, spci_vm_id_t sender,
+ spci_vm_id_t receiver,
const struct spci_memory_region_constituent constituents[],
- uint32_t constituent_count, uint32_t tag, spci_memory_region_flags_t flags,
- enum spci_memory_access access, enum spci_memory_type type,
- enum spci_memory_cacheability cacheability,
+ uint32_t constituent_count, uint32_t tag,
+ spci_memory_region_flags_t flags, enum spci_memory_access access,
+ enum spci_memory_type type, enum spci_memory_cacheability cacheability,
enum spci_memory_shareability shareability)
{
uint32_t constituents_length =