[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202205100617.5UUm3Uet-lkp@intel.com>
Date: Tue, 10 May 2022 06:29:03 +0800
From: kernel test robot <lkp@...el.com>
To: Mark Rutland <mark.rutland@....com>
Cc: kbuild-all@...ts.01.org,
Linux Memory Management List <linux-mm@...ck.org>,
Kees Cook <keescook@...omium.org>,
Luis Chamberlain <mcgrof@...nel.org>,
Xiaoming Ni <nixiaoming@...wei.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: [linux-next:master 8682/10218] kernel/stackleak.c:142:25: sparse:
sparse: symbol 'stackleak_erase_off_task_stack' was not declared. Should it
be static?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: ab38272e99730375c5db3db1c4cebf691a0550ab
commit: 96c59349a56cea71b3fce1f6d9c30d11bc01a548 [8682/10218] stackleak: add on/off stack variants
config: i386-randconfig-s001-20220509 (https://download.01.org/0day-ci/archive/20220510/202205100617.5UUm3Uet-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=96c59349a56cea71b3fce1f6d9c30d11bc01a548
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 96c59349a56cea71b3fce1f6d9c30d11bc01a548
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
sparse warnings: (new ones prefixed by >>)
kernel/stackleak.c:130:25: sparse: sparse: symbol 'stackleak_erase_on_task_stack' was not declared. Should it be static?
>> kernel/stackleak.c:142:25: sparse: sparse: symbol 'stackleak_erase_off_task_stack' was not declared. Should it be static?
Please review and possibly fold the followup patch.
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists