Skip to content

Commit

Permalink
xen: xlate_mmu: add missing header to fix 'W=1' warning
Browse files Browse the repository at this point in the history
[ 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]>
  • Loading branch information
srikanth-dev authored and gregkh committed Dec 17, 2018
1 parent 0f1b4c7 commit 26e0814
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/xen/xlate_mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,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>
Expand Down

0 comments on commit 26e0814

Please sign in to comment.