OSDN Git Service

xen: xlate_mmu: add missing header to fix 'W=1' warning
authorSrikanth Boddepalli <boddepalli.srikanth@gmail.com>
Tue, 27 Nov 2018 14:23:27 +0000 (19:53 +0530)
committerJuergen Gross <jgross@suse.com>
Thu, 29 Nov 2018 16:53:27 +0000 (17:53 +0100)
commit72791ac854fea36034fa7976b748fde585008e78
treeaddf1508584fe4985fb5341a1dd520dfc5b85a3e
parenta7b403104e17209ea71eea59d4a71bf9e0d8cb83
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,
      ^~~~~~~~~~~~~~~~~~~~~~~~~

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>
drivers/xen/xlate_mmu.c