[linux-next:master 6218/7700] arch/arm/kernel/module-plts.c:26:2: error: 'FTRACE_ADDR' undeclared here (not in a function)

[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:   7f09e895a7f3e0af63bf9ec6c7c22893ec7e6c8e
commit: 1f12fb25c5c5d22fce1378f61f6c8a7e981eaf99 [6218/7700] ARM: 9079/1: ftrace: Add MODULE_PLTS support
config: arm-randconfig-c004-20210607 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=1f12fb25c5c5d22fce1378f61f6c8a7e981eaf99
        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 1f12fb25c5c5d22fce1378f61f6c8a7e981eaf99
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> arch/arm/kernel/module-plts.c:26:2: error: 'FTRACE_ADDR' undeclared here (not in a function)
      26 |  FTRACE_ADDR,
         |  ^~~~~~~~~~~


vim +/FTRACE_ADDR +26 arch/arm/kernel/module-plts.c

    23	
    24	static const u32 fixed_plts[] = {
    25	#ifdef CONFIG_FUNCTION_TRACER
  > 26		FTRACE_ADDR,
    27		MCOUNT_ADDR,
    28	#endif
    29	};
    30	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[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