]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Dec 2018 08:38:34 +0000 (09:38 +0100)
commitc5ca49a59f62a5b7535adb7f620f4d7d44f0a90f
tree46c1e1d2230e26450b191d8ac36fa701138591fe
parent9e5c74f0c372fbf306f5c6a34746d170b513fcd9
xen: xlate_mmu: add missing header to fix 'W=1' warning

[ Upstream commit 72791ac854fea36034fa7976b748fde585008e78 ]

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