xen: xlate_mmu: add missing header to fix 'W=1' warning
PATCH 1/1 xen: xlate_mmu: add missing header to fix 'W=1' warning
Add a missing header otherwise compiler warns about missed prototype:
drivers/xen/xlate_mmu.c:183:5: warning: no previous prototype for 'xen_xlate_unmap_gfn_range?' [-Wmissing-prototypes]
int xen_xlate_unmap_gfn_range(struct vm_area_struct *vma,
^~~~~~~~~~~~~~~~~~~~~~~~~
--- drivers/xen/xlate_mmu.c | 1 + 1 file changed, 1 insertion(+)
drivers/xen/xlate_mmu.c +1 -0
@@ -36,6 +36,7 @@#include <asm/xen/hypervisor.h> #include <xen/xen.h> +#include <xen/xen-ops.h> #include <xen/page.h> #include <xen/interface/xen.h> #include <xen/interface/memory.h>
Signature · 1 line
2.7.4
Quoted 8 lines · Srikanth Boddepalli
Add a missing header otherwise compiler warns about missed prototype:
drivers/xen/xlate_mmu.c:183:5: warning: no previous prototype for 'xen_xlate_unmap_gfn_range?' [-Wmissing-prototypes]
int xen_xlate_unmap_gfn_range(structvm_area_struct*vma,^~~~~~~~~~~~~~~~~~~~~~~~~Signed-off-by Srikanth Boddepalli <[email protected]>---
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 8 lines · Srikanth Boddepalli
Add a missing header otherwise compiler warns about missed prototype:
drivers/xen/xlate_mmu.c:183:5: warning: no previous prototype for 'xen_xlate_unmap_gfn_range?' [-Wmissing-prototypes]
int xen_xlate_unmap_gfn_range(structvm_area_struct*vma,^~~~~~~~~~~~~~~~~~~~~~~~~Signed-off-by Srikanth Boddepalli <[email protected]>---
Quoted 5 lines · Srikanth Boddepalli
Add a missing header otherwise compiler warns about missed prototype:
drivers/xen/xlate_mmu.c:183:5: warning: no previous prototype for 'xen_xlate_unmap_gfn_range?' [-Wmissing-prototypes]
int xen_xlate_unmap_gfn_range(structvm_area_struct*vma,^~~~~~~~~~~~~~~~~~~~~~~~~
Signature · 2 lines
Cheers, Joey Pabalinas
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 5 lines · Srikanth Boddepalli
Add a missing header otherwise compiler warns about missed prototype:
drivers/xen/xlate_mmu.c:183:5: warning: no previous prototype for 'xen_xlate_unmap_gfn_range?' [-Wmissing-prototypes]
int xen_xlate_unmap_gfn_range(structvm_area_struct*vma,^~~~~~~~~~~~~~~~~~~~~~~~~
Signature · 2 lines
Cheers, Joey Pabalinas
Quoted 7 lines · Srikanth Boddepalli
Add a missing header otherwise compiler warns about missed prototype:
drivers/xen/xlate_mmu.c:183:5: warning: no previous prototype for 'xen_xlate_unmap_gfn_range?' [-Wmissing-prototypes]
int xen_xlate_unmap_gfn_range(structvm_area_struct*vma,^~~~~~~~~~~~~~~~~~~~~~~~~Signed-off-by Srikanth Boddepalli <[email protected]>
Pushed to xen/tip.git for-linus-4.20a
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 7 lines · Srikanth Boddepalli
Add a missing header otherwise compiler warns about missed prototype:
drivers/xen/xlate_mmu.c:183:5: warning: no previous prototype for 'xen_xlate_unmap_gfn_range?' [-Wmissing-prototypes]
int xen_xlate_unmap_gfn_range(structvm_area_struct*vma,^~~~~~~~~~~~~~~~~~~~~~~~~Signed-off-by Srikanth Boddepalli <[email protected]>
Pushed to xen/tip.git for-linus-4.20a
Juergen