Linux-mm Archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 6218/7700] arch/arm/kernel/module-plts.c:26:2: error: 'FTRACE_ADDR' undeclared here (not in a function)
@ 2021-06-08  6:29 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-08  6:29 UTC (permalink / raw
  To: Alex Sverdlin
  Cc: kbuild-all, Linux Memory Management List, Russell King (Oracle)

[-- Attachment #1: Type: text/plain, Size: 1615 bytes --]

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@intel.com>

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@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 35141 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-08  6:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-08  6:29 [linux-next:master 6218/7700] arch/arm/kernel/module-plts.c:26:2: error: 'FTRACE_ADDR' undeclared here (not in a function) kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).