Skip to contentSkip to conversation

xen: mm: include <xen/xen-ops.h> for missing declarations

PATCH In review Ben Dooks (Codethink) 2 participants 4 messages Oct 22, 2019 – Oct 23, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen: mm: include <xen/xen-ops.h> for missing declarations

Include <xen/xen-ops.h> for xen_{create,destroy}_contigous_region call declarations. Fixes the following sparse warnings:

arch/arm/xen/mm.c:119:5: warning: symbol 'xen_create_contiguous_region' was not declared. Should it be static? arch/arm/xen/mm.c:131:6: warning: symbol 'xen_destroy_contiguous_region' was not declared. Should it be static?

---
Cc: Stefano Stabellini <[email protected]>
Cc: Russell King <[email protected]>
Cc: [email protected]
Cc: [email protected]

---
 arch/arm/xen/mm.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/xen/mm.c +1 -0
index 38fa917c8585..6feb6b78b13c 100644
@@ -15,6 +15,7 @@
 #include <xen/interface/grant_table.h>
 #include <xen/interface/memory.h>
 #include <xen/page.h>
+#include <xen/xen-ops.h>
 #include <xen/swiotlb-xen.h>
 
 #include <asm/cacheflush.h>
Signature · 7 lines
2.23.0


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Ben Dooks (Codethink)

Include <xen/xen-ops.h> for xen_{create,destroy}_contigous_region call declarations. Fixes the following sparse warnings:

arch/arm/xen/mm.c:119:5: warning: symbol 'xen_create_contiguous_region' was not declared. Should it be static? arch/arm/xen/mm.c:131:6: warning: symbol 'xen_destroy_contiguous_region' was not declared. Should it be static?

Quoted 24 lines

---
Cc: Stefano Stabellini <[email protected]>
Cc: Russell King <[email protected]>
Cc: [email protected]
Cc: [email protected]

---
 arch/arm/xen/mm.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/xen/mm.c +1 -0
index 38fa917c8585..6feb6b78b13c 100644
@@ -15,6 +15,7 @@
 #include <xen/interface/grant_table.h>
 #include <xen/interface/memory.h>
 #include <xen/page.h>
+#include <xen/xen-ops.h>
 #include <xen/swiotlb-xen.h>
 
 #include <asm/cacheflush.h>
Signature · 1 line
2.23.0

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#2 lore raw
Quoted 10 lines · Stefano Stabellini
Quoted 7 lines · Ben Dooks (Codethink)

Include <xen/xen-ops.h> for xen_{create,destroy}_contigous_region call declarations. Fixes the following sparse warnings:

arch/arm/xen/mm.c:119:5: warning: symbol 'xen_create_contiguous_region' was not declared. Should it be static? arch/arm/xen/mm.c:131:6: warning: symbol 'xen_destroy_contiguous_region' was not declared. Should it be static?

Do you want me to pick up these two patches and have them go upstream via the Xen tree, or are they part of a bigger rework?

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

author
#3 lore raw
Quoted 8 lines · Stefano Stabellini
Quoted 7 lines · Stefano Stabellini
Quoted 6 lines · Ben Dooks (Codethink)

Include <xen/xen-ops.h> for xen_{create,destroy}_contigous_region call declarations. Fixes the following sparse warnings:

arch/arm/xen/mm.c:119:5: warning: symbol 'xen_create_contiguous_region' was not declared. Should it be static? arch/arm/xen/mm.c:131:6: warning: symbol 'xen_destroy_contiguous_region' was not declared. Should it be static?

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Do you want me to pick up these two patches and have them go upstream via the Xen tree, or are they part of a bigger rework?

I've been doing some testing with sparse and going fixing warnings as I go along. Please take these via your tree.

Signature · 9 lines
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius

https://www.codethink.co.uk/privacy.html

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel