All of lore.kernel.org
 help / color / mirror / Atom feed
* [jolsa-perf:bpf/kallsyms 2/10] arch/x86/mm/init_32.c:241:19: error: redefinition of 'is_kernel_text'
@ 2020-02-04  0:28 kbuild test robot
  2020-02-06 19:02 ` Jiri Olsa
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2020-02-04  0:28 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git bpf/kallsyms
head:   f256d1349d6fcc0d1b049a866fb3eaedc315476f
commit: 7f6f86fa6e5ef5120d0fec0f801ac94f23889580 [2/10] bpf: Add name to struct bpf_ksym
config: i386-tinyconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
reproduce:
        git checkout 7f6f86fa6e5ef5120d0fec0f801ac94f23889580
        # save the attached .config to linux build tree
        make ARCH=i386 

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

All errors (new ones prefixed by >>):

>> arch/x86/mm/init_32.c:241:19: error: redefinition of 'is_kernel_text'
    static inline int is_kernel_text(unsigned long addr)
                      ^~~~~~~~~~~~~~
   In file included from include/linux/bpf.h:21:0,
                    from include/linux/bpf-cgroup.h:5,
                    from include/linux/cgroup-defs.h:22,
                    from include/linux/cgroup.h:28,
                    from include/linux/hugetlb.h:9,
                    from arch/x86/mm/init_32.c:18:
   include/linux/kallsyms.h:31:19: note: previous definition of 'is_kernel_text' was here
    static inline int is_kernel_text(unsigned long addr)
                      ^~~~~~~~~~~~~~

vim +/is_kernel_text +241 arch/x86/mm/init_32.c

^1da177e4c3f41 arch/i386/mm/init.c   Linus Torvalds  2005-04-16  240  
^1da177e4c3f41 arch/i386/mm/init.c   Linus Torvalds  2005-04-16 @241  static inline int is_kernel_text(unsigned long addr)
^1da177e4c3f41 arch/i386/mm/init.c   Linus Torvalds  2005-04-16  242  {
5bd5a452662bc3 arch/x86/mm/init_32.c Matthieu CASTET 2010-11-16  243  	if (addr >= (unsigned long)_text && addr <= (unsigned long)__init_end)
^1da177e4c3f41 arch/i386/mm/init.c   Linus Torvalds  2005-04-16  244  		return 1;
^1da177e4c3f41 arch/i386/mm/init.c   Linus Torvalds  2005-04-16  245  	return 0;
^1da177e4c3f41 arch/i386/mm/init.c   Linus Torvalds  2005-04-16  246  }
^1da177e4c3f41 arch/i386/mm/init.c   Linus Torvalds  2005-04-16  247  

:::::: The code@line 241 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-06 19:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-04  0:28 [jolsa-perf:bpf/kallsyms 2/10] arch/x86/mm/init_32.c:241:19: error: redefinition of 'is_kernel_text' kbuild test robot
2020-02-06 19:02 ` Jiri Olsa

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.