All of lore.kernel.org
 help / color / mirror / Atom feed
* [weiny2:tip-pks-v4-5.12-rc 13/23] vgetcpu.c:(.text+0x0): multiple definition of `pkrs_write_current'; arch/x86/entry/vdso/vclock_gettime.o:vclock_gettime.c:(.text+0x0): first defined here
@ 2021-04-08  1:23 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-08  1:23 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
TO: Ira Weiny <ira.weiny@intel.com>

tree:   https://github.com/weiny2/linux-kernel.git tip-pks-v4-5.12-rc
head:   b8f2dcd125fa7a88ac29aabf06ff75ee220feb12
commit: f780e759e9e5e521e2a8f60ef83615e8bb6c4676 [13/23] WIP: x86/pks: override invalid PKeys
:::::: branch date: 27 hours ago
:::::: commit date: 27 hours ago
config: x86_64-allnoconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

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

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

   In file included from arch/x86/include/asm/cpufeature.h:5,
                    from arch/x86/include/asm/thread_info.h:53,
                    from include/linux/thread_info.h:58,
                    from arch/x86/include/asm/preempt.h:7,
                    from include/linux/preempt.h:78,
                    from include/linux/spinlock.h:51,
                    from include/linux/mmzone.h:8,
                    from include/linux/gfp.h:6,
                    from include/linux/slab.h:15,
                    from include/linux/crypto.h:20,
                    from arch/x86/kernel/asm-offsets.c:9:
>> arch/x86/include/asm/processor.h:806:6: warning: no previous prototype for 'pkrs_write_current' [-Wmissing-prototypes]
     806 | void pkrs_write_current(void) { }
         |      ^~~~~~~~~~~~~~~~~~
--
   In file included from arch/x86/include/asm/timex.h:5,
                    from include/linux/timex.h:65,
                    from include/linux/time32.h:13,
                    from include/linux/time.h:60,
                    from include/linux/stat.h:19,
                    from include/linux/module.h:13,
                    from init/main.c:17:
>> arch/x86/include/asm/processor.h:806:6: warning: no previous prototype for 'pkrs_write_current' [-Wmissing-prototypes]
     806 | void pkrs_write_current(void) { }
         |      ^~~~~~~~~~~~~~~~~~
   init/main.c:764:20: warning: no previous prototype for 'arch_post_acpi_subsys_init' [-Wmissing-prototypes]
     764 | void __init __weak arch_post_acpi_subsys_init(void) { }
         |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
   init/main.c:776:20: warning: no previous prototype for 'mem_encrypt_init' [-Wmissing-prototypes]
     776 | void __init __weak mem_encrypt_init(void) { }
         |                    ^~~~~~~~~~~~~~~~
--
   In file included from arch/x86/include/asm/cpufeature.h:5,
                    from arch/x86/include/asm/thread_info.h:53,
                    from include/linux/thread_info.h:58,
                    from arch/x86/include/asm/preempt.h:7,
                    from include/linux/preempt.h:78,
                    from include/linux/spinlock.h:51,
                    from include/linux/mmzone.h:8,
                    from include/linux/gfp.h:6,
                    from include/linux/mm.h:10,
                    from arch/x86/kernel/process.c:6:
>> arch/x86/include/asm/processor.h:806:6: warning: no previous prototype for 'pkrs_write_current' [-Wmissing-prototypes]
     806 | void pkrs_write_current(void) { }
         |      ^~~~~~~~~~~~~~~~~~
   arch/x86/kernel/process.c:845:13: warning: no previous prototype for 'arch_post_acpi_subsys_init' [-Wmissing-prototypes]
     845 | void __init arch_post_acpi_subsys_init(void)
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from arch/x86/include/asm/cpufeature.h:5,
                    from arch/x86/include/asm/thread_info.h:53,
                    from include/linux/thread_info.h:58,
                    from arch/x86/include/asm/preempt.h:7,
                    from include/linux/preempt.h:78,
                    from include/linux/spinlock.h:51,
                    from include/linux/mmzone.h:8,
                    from include/linux/gfp.h:6,
                    from include/linux/mm.h:10,
                    from include/linux/memblock.h:13,
                    from arch/x86/mm/ioremap.c:10:
>> arch/x86/include/asm/processor.h:806:6: warning: no previous prototype for 'pkrs_write_current' [-Wmissing-prototypes]
     806 | void pkrs_write_current(void) { }
         |      ^~~~~~~~~~~~~~~~~~
   arch/x86/mm/ioremap.c:737:17: warning: no previous prototype for 'early_memremap_pgprot_adjust' [-Wmissing-prototypes]
     737 | pgprot_t __init early_memremap_pgprot_adjust(resource_size_t phys_addr,
         |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from arch/x86/include/asm/cpufeature.h:5,
                    from arch/x86/include/asm/thread_info.h:53,
                    from include/linux/thread_info.h:58,
                    from arch/x86/include/asm/preempt.h:7,
                    from include/linux/preempt.h:78,
                    from include/linux/rcupdate.h:27,
                    from include/linux/rculist.h:11,
                    from include/linux/pid.h:5,
                    from include/linux/sched.h:14,
                    from include/linux/uaccess.h:8,
                    from arch/x86/mm/extable.c:3:
>> arch/x86/include/asm/processor.h:806:6: warning: no previous prototype for 'pkrs_write_current' [-Wmissing-prototypes]
     806 | void pkrs_write_current(void) { }
         |      ^~~~~~~~~~~~~~~~~~
   arch/x86/mm/extable.c:27:16: warning: no previous prototype for 'ex_handler_default' [-Wmissing-prototypes]
      27 | __visible bool ex_handler_default(const struct exception_table_entry *fixup,
         |                ^~~~~~~~~~~~~~~~~~
   arch/x86/mm/extable.c:37:16: warning: no previous prototype for 'ex_handler_fault' [-Wmissing-prototypes]
      37 | __visible bool ex_handler_fault(const struct exception_table_entry *fixup,
         |                ^~~~~~~~~~~~~~~~
   arch/x86/mm/extable.c:58:16: warning: no previous prototype for 'ex_handler_fprestore' [-Wmissing-prototypes]
      58 | __visible bool ex_handler_fprestore(const struct exception_table_entry *fixup,
         |                ^~~~~~~~~~~~~~~~~~~~
   arch/x86/mm/extable.c:73:16: warning: no previous prototype for 'ex_handler_uaccess' [-Wmissing-prototypes]
      73 | __visible bool ex_handler_uaccess(const struct exception_table_entry *fixup,
         |                ^~~~~~~~~~~~~~~~~~
   arch/x86/mm/extable.c:84:16: warning: no previous prototype for 'ex_handler_copy' [-Wmissing-prototypes]
      84 | __visible bool ex_handler_copy(const struct exception_table_entry *fixup,
         |                ^~~~~~~~~~~~~~~
   arch/x86/mm/extable.c:96:16: warning: no previous prototype for 'ex_handler_rdmsr_unsafe' [-Wmissing-prototypes]
      96 | __visible bool ex_handler_rdmsr_unsafe(const struct exception_table_entry *fixup,
         |                ^~~~~~~~~~~~~~~~~~~~~~~
   arch/x86/mm/extable.c:113:16: warning: no previous prototype for 'ex_handler_wrmsr_unsafe' [-Wmissing-prototypes]
     113 | __visible bool ex_handler_wrmsr_unsafe(const struct exception_table_entry *fixup,
         |                ^~~~~~~~~~~~~~~~~~~~~~~
   arch/x86/mm/extable.c:129:16: warning: no previous prototype for 'ex_handler_clear_fs' [-Wmissing-prototypes]
     129 | __visible bool ex_handler_clear_fs(const struct exception_table_entry *fixup,
         |                ^~~~~~~~~~~~~~~~~~~
--
   In file included from arch/x86/include/asm/cpufeature.h:5,
                    from arch/x86/include/asm/thread_info.h:53,
                    from include/linux/thread_info.h:58,
                    from arch/x86/include/asm/preempt.h:7,
                    from include/linux/preempt.h:78,
                    from include/linux/spinlock.h:51,
                    from include/linux/mmzone.h:8,
                    from include/linux/gfp.h:6,
                    from include/linux/mm.h:10,
                    from arch/x86/entry/vdso/vma.c:7:
>> arch/x86/include/asm/processor.h:806:6: warning: no previous prototype for 'pkrs_write_current' [-Wmissing-prototypes]
     806 | void pkrs_write_current(void) { }
         |      ^~~~~~~~~~~~~~~~~~
   arch/x86/entry/vdso/vma.c:35:19: warning: no previous prototype for 'arch_get_vdso_data' [-Wmissing-prototypes]
      35 | struct vdso_data *arch_get_vdso_data(void *vvar_page)
         |                   ^~~~~~~~~~~~~~~~~~
--
   In file included from arch/x86/include/asm/timex.h:5,
                    from include/linux/timex.h:65,
                    from include/linux/time32.h:13,
                    from include/linux/time.h:60,
                    from arch/x86/entry/vdso/vgetcpu.c:10:
>> arch/x86/include/asm/processor.h:806:6: warning: no previous prototype for 'pkrs_write_current' [-Wmissing-prototypes]
     806 | void pkrs_write_current(void) { }
         |      ^~~~~~~~~~~~~~~~~~
   arch/x86/entry/vdso/vgetcpu.c:14:1: warning: no previous prototype for '__vdso_getcpu' [-Wmissing-prototypes]
      14 | __vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused)
         | ^~~~~~~~~~~~~
--
   ld: arch/x86/entry/vdso/vgetcpu.o: in function `pkrs_write_current':
>> vgetcpu.c:(.text+0x0): multiple definition of `pkrs_write_current'; arch/x86/entry/vdso/vclock_gettime.o:vclock_gettime.c:(.text+0x0): first defined here
>> objdump: 'arch/x86/entry/vdso/vdso64.so.dbg': No such file
--
>> objcopy: 'arch/x86/entry/vdso/vdso64.so.dbg': No such file
--
   In file included from include/linux/mutex.h:19,
                    from include/linux/seq_file.h:8,
                    from arch/x86/mm/pat/memtype.c:34:
>> arch/x86/include/asm/processor.h:806:6: warning: no previous prototype for 'pkrs_write_current' [-Wmissing-prototypes]
     806 | void pkrs_write_current(void) { }
         |      ^~~~~~~~~~~~~~~~~~
   arch/x86/mm/pat/memtype.c:803:5: warning: no previous prototype for 'arch_io_reserve_memtype_wc' [-Wmissing-prototypes]
     803 | int arch_io_reserve_memtype_wc(resource_size_t start, resource_size_t size)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/x86/mm/pat/memtype.c:811:6: warning: no previous prototype for 'arch_io_free_memtype_wc' [-Wmissing-prototypes]
     811 | void arch_io_free_memtype_wc(resource_size_t start, resource_size_t size)
         |      ^~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from arch/x86/include/asm/cpufeature.h:5,
                    from arch/x86/include/asm/thread_info.h:53,
                    from include/linux/thread_info.h:58,
                    from arch/x86/include/asm/preempt.h:7,
                    from include/linux/preempt.h:78,
                    from include/linux/percpu.h:6,
                    from include/linux/context_tracking_state.h:5,
                    from include/linux/hardirq.h:5,
                    from include/linux/interrupt.h:11,
                    from kernel/panic.c:14:
>> arch/x86/include/asm/processor.h:806:6: warning: no previous prototype for 'pkrs_write_current' [-Wmissing-prototypes]
     806 | void pkrs_write_current(void) { }
         |      ^~~~~~~~~~~~~~~~~~
   kernel/panic.c:85:13: warning: no previous prototype for 'panic_smp_self_stop' [-Wmissing-prototypes]
      85 | void __weak panic_smp_self_stop(void)
         |             ^~~~~~~~~~~~~~~~~~~
   kernel/panic.c:95:13: warning: no previous prototype for 'nmi_panic_self_stop' [-Wmissing-prototypes]
      95 | void __weak nmi_panic_self_stop(struct pt_regs *regs)
         |             ^~~~~~~~~~~~~~~~~~~
   kernel/panic.c:106:13: warning: no previous prototype for 'crash_smp_send_stop' [-Wmissing-prototypes]
     106 | void __weak crash_smp_send_stop(void)
         |             ^~~~~~~~~~~~~~~~~~~
   kernel/panic.c:576:6: warning: no previous prototype for '__warn' [-Wmissing-prototypes]
     576 | void __warn(const char *file, int line, void *caller, unsigned taint,
         |      ^~~~~~
   kernel/panic.c: In function '__warn':
   kernel/panic.c:590:3: warning: function '__warn' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
     590 |   vprintk(args->fmt, args->args);
         |   ^~~~~~~
   kernel/panic.c: At top level:
   kernel/panic.c:640:6: warning: no previous prototype for '__warn_printk' [-Wmissing-prototypes]
     640 | void __warn_printk(const char *fmt, ...)
         |      ^~~~~~~~~~~~~
   kernel/panic.c: In function '__warn_printk':
   kernel/panic.c:647:2: warning: function '__warn_printk' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
     647 |  vprintk(fmt, args);
         |  ^~~~~~~
..

---
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: 7501 bytes --]

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

only message in thread, other threads:[~2021-04-08  1:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-08  1:23 [weiny2:tip-pks-v4-5.12-rc 13/23] vgetcpu.c:(.text+0x0): multiple definition of `pkrs_write_current'; arch/x86/entry/vdso/vclock_gettime.o:vclock_gettime.c:(.text+0x0): first defined here kernel 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.