Skip to contentSkip to conversation

xen/bootinfo: Include declaration for fw_unreserved_regions()

PATCH In review Andrew Cooper 2 participants 2 messages Nov 18, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen/bootinfo: Include declaration for fw_unreserved_regions()

Eclair complains that fw_unreserved_regions() can't see it's declaration. Include <asm/setup.h> to address this.

This makes Mira Rule 8.4 clean on ARM, so tag it as such.

---
CC: Jan Beulich <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: [email protected] <[email protected]>

https://gitlab.com/xen-project/people/andyhhp/xen/-/pipelines/1547057124

---
 automation/eclair_analysis/ECLAIR/tagging.ecl | 2 +-
 xen/common/device-tree/bootinfo.c             | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
automation/eclair_analysis/ECLAIR/tagging.ecl +1 -1
index 9318e5b10ca8..7944ce2ee3b2 100644
@@ -115,7 +115,7 @@ if(string_equal(target,"x86_64"),
 )
 
 if(string_equal(target,"arm64"),
-    service_selector({"additional_clean_guidelines","MC3R1.R2.1||MC3R1.R5.3||MC3.R11.2||MC3R1.R16.6||MC3R1.R20.7"})
+    service_selector({"additional_clean_guidelines","MC3R1.R2.1||MC3R1.R5.3||MC3R1.R8.4||MC3.R11.2||MC3R1.R16.6||MC3R1.R20.7"})
 )
 
 -reports+={clean:added,"service(clean_guidelines_common||additional_clean_guidelines)"}
xen/common/device-tree/bootinfo.c +2 -0
index f2e6a1145b7c..3738eb57ff52 100644
@@ -17,6 +17,8 @@
 #include <xen/libfdt/libfdt-xen.h>
 #include <xen/mm.h>
 
+#include <asm/setup.h>
+
 struct bootinfo __initdata bootinfo = BOOTINFO_INIT;
 
 const char * __init boot_module_kind_as_string(bootmodule_kind kind)

base-commit: 88c40dc108bfddb32a891e2e20d48bbe94949200

Signature · 1 line
2.39.5
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Andrew Cooper

Eclair complains that fw_unreserved_regions() can't see it's declaration. Include <asm/setup.h> to address this.

This makes Mira Rule 8.4 clean on ARM, so tag it as such.

Very nice! Thank you!

Quoted 43 lines

---
CC: Jan Beulich <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: [email protected] <[email protected]>

https://gitlab.com/xen-project/people/andyhhp/xen/-/pipelines/1547057124

---
 automation/eclair_analysis/ECLAIR/tagging.ecl | 2 +-
 xen/common/device-tree/bootinfo.c             | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
automation/eclair_analysis/ECLAIR/tagging.ecl +1 -1
index 9318e5b10ca8..7944ce2ee3b2 100644
@@ -115,7 +115,7 @@ if(string_equal(target,"x86_64"),
 )
 
 if(string_equal(target,"arm64"),
-    service_selector({"additional_clean_guidelines","MC3R1.R2.1||MC3R1.R5.3||MC3.R11.2||MC3R1.R16.6||MC3R1.R20.7"})
+    service_selector({"additional_clean_guidelines","MC3R1.R2.1||MC3R1.R5.3||MC3R1.R8.4||MC3.R11.2||MC3R1.R16.6||MC3R1.R20.7"})
 )
 
 -reports+={clean:added,"service(clean_guidelines_common||additional_clean_guidelines)"}
xen/common/device-tree/bootinfo.c +2 -0
index f2e6a1145b7c..3738eb57ff52 100644
@@ -17,6 +17,8 @@
 #include <xen/libfdt/libfdt-xen.h>
 #include <xen/mm.h>
 
+#include <asm/setup.h>
+
 struct bootinfo __initdata bootinfo = BOOTINFO_INIT;
 
 const char * __init boot_module_kind_as_string(bootmodule_kind kind)

base-commit: 88c40dc108bfddb32a891e2e20d48bbe94949200

Signature · 1 line
2.39.5