[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?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx/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@xxxxxxxxx>


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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux