[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202207021641.cClg5oDA-lkp@intel.com>
Date: Sat, 2 Jul 2022 16:32:54 +0800
From: kernel test robot <lkp@...el.com>
To: Anshuman Khandual <anshuman.khandual@....com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Memory Management List <linux-mm@...ck.org>,
Christoph Hellwig <hch@....de>
Subject: [akpm-mm:mm-unstable 302/323] arch/x86/mm/pgprot.c:26:6: warning: no
previous prototype for 'add_encrypt_protection_map'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
head: 706370e5c2ea7bb4544eee6e1172c4d68117a526
commit: d845587c05fd4ae52aaa0cd5c8939e8f4793301f [302/323] x86/mm: move protection_map[] inside the platform
config: i386-randconfig-a001 (https://download.01.org/0day-ci/archive/20220702/202207021641.cClg5oDA-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/commit/?id=d845587c05fd4ae52aaa0cd5c8939e8f4793301f
git remote add akpm-mm https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git
git fetch --no-tags akpm-mm mm-unstable
git checkout d845587c05fd4ae52aaa0cd5c8939e8f4793301f
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/mm/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> arch/x86/mm/pgprot.c:26:6: warning: no previous prototype for 'add_encrypt_protection_map' [-Wmissing-prototypes]
26 | void add_encrypt_protection_map(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/add_encrypt_protection_map +26 arch/x86/mm/pgprot.c
25
> 26 void add_encrypt_protection_map(void)
27 {
28 unsigned int i;
29
30 for (i = 0; i < ARRAY_SIZE(protection_map); i++)
31 protection_map[i] = pgprot_encrypted(protection_map[i]);
32 }
33
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists