All of lore.kernel.org
 help / color / mirror / Atom feed
* [rppt:pt-cleanups/pXd-consolidation 22/26] arch/x86/include/asm/pgtable.h:1085:27: error: implicit declaration of function 'init_trampoline_default'; did you mean 'init_trampoline'?
@ 2020-05-05 10:05 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-05 10:05 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git pt-cleanups/pXd-consolidation
head:   3938b8b12f4104fa561dc8148c4547d315af3893
commit: 88fa24a978e453c7db4a9d81ad7cfa6ae59b553c [22/26] x86/mm/kaslr: move init_trampoline_default() definition close to its use
config: x86_64-randconfig-h002-20200503 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
        git checkout 88fa24a978e453c7db4a9d81ad7cfa6ae59b553c
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/pgtable.h:5:0,
                    from include/linux/mm.h:31,
                    from include/linux/kallsyms.h:12,
                    from include/linux/bpf.h:21,
                    from include/linux/bpf-cgroup.h:5,
                    from include/linux/cgroup-defs.h:22,
                    from include/linux/cgroup.h:28,
                    from include/linux/memcontrol.h:13,
                    from include/linux/swap.h:9,
                    from arch/x86/mm/init.c:4:
   arch/x86/mm/init.c: In function 'init_mem_mapping':
>> arch/x86/include/asm/pgtable.h:1085:27: error: implicit declaration of function 'init_trampoline_default'; did you mean 'init_trampoline'? [-Werror=implicit-function-declaration]
    #  define init_trampoline init_trampoline_default
                              ^
>> arch/x86/mm/init.c:668:2: note: in expansion of macro 'init_trampoline'
     init_trampoline();
     ^~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +1085 arch/x86/include/asm/pgtable.h

4fc19708b165c1 Nadav Amit      2019-04-26  1078  
c164fbb40c43f8 Logan Gunthorpe 2020-04-10  1079  unsigned long init_memory_mapping(unsigned long start,
c164fbb40c43f8 Logan Gunthorpe 2020-04-10  1080  				  unsigned long end, pgprot_t prot);
c164fbb40c43f8 Logan Gunthorpe 2020-04-10  1081  
0483e1fa6e09d4 Thomas Garnier  2016-06-21  1082  # ifdef CONFIG_RANDOMIZE_MEMORY
0483e1fa6e09d4 Thomas Garnier  2016-06-21  1083  void __meminit init_trampoline(void);
0483e1fa6e09d4 Thomas Garnier  2016-06-21  1084  # else
0483e1fa6e09d4 Thomas Garnier  2016-06-21 @1085  #  define init_trampoline init_trampoline_default
0483e1fa6e09d4 Thomas Garnier  2016-06-21  1086  # endif
b234e8a09003af Thomas Garnier  2016-06-21  1087  #else
b234e8a09003af Thomas Garnier  2016-06-21  1088  static inline void init_trampoline(void) { }
b234e8a09003af Thomas Garnier  2016-06-21  1089  #endif
b234e8a09003af Thomas Garnier  2016-06-21  1090  

:::::: The code at line 1085 was first introduced by commit
:::::: 0483e1fa6e09d4948272680f691dccb1edb9677f x86/mm: Implement ASLR for kernel memory regions

:::::: TO: Thomas Garnier <thgarnie@google.com>
:::::: CC: Ingo Molnar <mingo@kernel.org>

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

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

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

only message in thread, other threads:[~2020-05-05 10:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-05 10:05 [rppt:pt-cleanups/pXd-consolidation 22/26] arch/x86/include/asm/pgtable.h:1085:27: error: implicit declaration of function 'init_trampoline_default'; did you mean 'init_trampoline'? kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.