From: Benjamin Thiel Date: Thu, 2 Apr 2020 12:43:07 +0000 (+0200) Subject: x86/mm/mmap: Fix -Wmissing-prototypes warnings X-Git-Tag: v5.8-rc1~219^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60abfd08e88b2b41366dcdb1e586614770c791fa;p=thirdparty%2Flinux.git x86/mm/mmap: Fix -Wmissing-prototypes warnings Add includes for the prototypes of valid_phys_addr_range(), arch_mmap_rnd() and valid_mmap_phys_addr_range() in order to fix -Wmissing-prototypes warnings. Signed-off-by: Benjamin Thiel Signed-off-by: Borislav Petkov Link: https://lkml.kernel.org/r/20200402124307.10857-1-b.thiel@posteo.de --- diff --git a/arch/x86/mm/mmap.c b/arch/x86/mm/mmap.c index cb91eccc4960c..c90c20904a607 100644 --- a/arch/x86/mm/mmap.c +++ b/arch/x86/mm/mmap.c @@ -18,7 +18,9 @@ #include #include #include +#include #include +#include #include "physaddr.h"