xen: mm: include <xen/xen-ops.h> for missing declarations
Subsystems (2)
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
@@ -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
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?Signed-off-by Ben Dooks (Codethink) <[email protected]>
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@@ -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
Stefano Stabellini
maintainerQuoted 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?Signed-off-by Ben Dooks (Codethink) <[email protected]>Reviewed-by Stefano Stabellini <[email protected]>
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
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
Signed-off-by Ben Dooks (Codethink) <[email protected]>Reviewed-by Stefano Stabellini <[email protected]>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