Skip to content

Commit f02e0d5

Browse files
srikanth-devgregkh
authored andcommitted
xen: xlate_mmu: add missing header to fix 'W=1' warning
[ Upstream commit 72791ac ] 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, ^~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Srikanth Boddepalli <[email protected]> Reviewed-by: Boris Ostrovsky <[email protected]> Reviewed-by: Joey Pabalinas <[email protected]> Signed-off-by: Juergen Gross <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 6ee9b4d commit f02e0d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/xen/xlate_mmu.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
#include <asm/xen/hypervisor.h>
3737

3838
#include <xen/xen.h>
39+
#include <xen/xen-ops.h>
3940
#include <xen/page.h>
4041
#include <xen/interface/xen.h>
4142
#include <xen/interface/memory.h>

0 commit comments

Comments
 (0)