Skip to content

Commit 26e0814

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 <boddepalli.srikanth@gmail.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Reviewed-by: Joey Pabalinas <joeypabalinas@gmail.com> Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 0f1b4c7 commit 26e0814

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
@@ -34,6 +34,7 @@
3434
#include <asm/xen/hypervisor.h>
3535

3636
#include <xen/xen.h>
37+
#include <xen/xen-ops.h>
3738
#include <xen/page.h>
3839
#include <xen/interface/xen.h>
3940
#include <xen/interface/memory.h>

0 commit comments

Comments
 (0)