Messages in this thread | | | Date | Tue, 13 Sep 2016 21:31:26 +0800 | From | kbuild test robot <> | Subject | [tip:mm/pkeys 12/12] arch/x86/kernel/process_64.c:98:2: error: implicit declaration of function 'pr_default' |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git mm/pkeys head: 19ab2b679c4af895ac0f3e79eea14952a6b2b2ce commit: 19ab2b679c4af895ac0f3e79eea14952a6b2b2ce [12/12] x86/mm/pkeys: Do not skip PKRU register if debug registers are not used config: x86_64-randconfig-x013-201637 (attached as .config) compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705 reproduce: git checkout 19ab2b679c4af895ac0f3e79eea14952a6b2b2ce # save the attached .config to linux build tree make ARCH=x86_64
All errors (new ones prefixed by >>):
arch/x86/kernel/process_64.c: In function '__show_regs': >> arch/x86/kernel/process_64.c:98:2: error: implicit declaration of function 'pr_default' [-Werror=implicit-function-declaration] pr_default("FS: %016lx(%04x) GS:%016lx(%04x) knlGS:%016lx\n", ^~~~~~~~~~ Cyclomatic Complexity 2 arch/x86/include/asm/bitops.h:set_bit Cyclomatic Complexity 2 arch/x86/include/asm/bitops.h:clear_bit Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:constant_test_bit Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:variable_test_bit Cyclomatic Complexity 1 arch/x86/include/asm/current.h:get_current Cyclomatic Complexity 1 arch/x86/include/asm/segment.h:__loadsegment_fs Cyclomatic Complexity 1 arch/x86/include/asm/paravirt.h:load_sp0 Cyclomatic Complexity 1 arch/x86/include/asm/paravirt.h:paravirt_get_debugreg Cyclomatic Complexity 1 arch/x86/include/asm/paravirt.h:clts Cyclomatic Complexity 1 arch/x86/include/asm/paravirt.h:read_cr0 Cyclomatic Complexity 1 arch/x86/include/asm/paravirt.h:write_cr0 Cyclomatic Complexity 1 arch/x86/include/asm/paravirt.h:read_cr2 Cyclomatic Complexity 1 arch/x86/include/asm/paravirt.h:read_cr3 Cyclomatic Complexity 1 arch/x86/include/asm/paravirt.h:__read_cr4 Cyclomatic Complexity 1 arch/x86/include/asm/paravirt.h:paravirt_read_msr Cyclomatic Complexity 1 arch/x86/include/asm/paravirt.h:paravirt_write_msr Cyclomatic Complexity 1 arch/x86/include/asm/paravirt.h:paravirt_write_msr_safe Cyclomatic Complexity 1 arch/x86/include/asm/paravirt.h:wrmsrl Cyclomatic Complexity 1 arch/x86/include/asm/paravirt.h:load_TLS Cyclomatic Complexity 1 arch/x86/include/asm/paravirt.h:load_gs_index Cyclomatic Complexity 1 arch/x86/include/asm/paravirt.h:arch_end_context_switch Cyclomatic Complexity 1 arch/x86/include/asm/msr.h:wrmsrl_safe Cyclomatic Complexity 1 arch/x86/include/asm/special_insns.h:__read_pkru Cyclomatic Complexity 1 arch/x86/include/asm/processor.h:current_top_of_stack Cyclomatic Complexity 1 arch/x86/include/asm/processor.h:prefetch Cyclomatic Complexity 1 arch/x86/include/asm/thread_info.h:current_thread_info Cyclomatic Complexity 2 arch/x86/include/asm/thread_info.h:in_ia32_syscall Cyclomatic Complexity 1 include/linux/thread_info.h:set_ti_thread_flag Cyclomatic Complexity 1 include/linux/thread_info.h:clear_ti_thread_flag Cyclomatic Complexity 5 arch/x86/include/asm/preempt.h:__preempt_count_add Cyclomatic Complexity 5 arch/x86/include/asm/preempt.h:__preempt_count_sub Cyclomatic Complexity 1 include/linux/sched.h:set_tsk_thread_flag Cyclomatic Complexity 2 arch/x86/include/asm/pgtable.h:read_pkru Cyclomatic Complexity 1 arch/x86/include/asm/trace/fpu.h:trace_x86_fpu_regs_activated Cyclomatic Complexity 1 arch/x86/include/asm/trace/fpu.h:trace_x86_fpu_regs_deactivated Cyclomatic Complexity 1 arch/x86/include/asm/fpu/internal.h:use_eager_fpu Cyclomatic Complexity 1 arch/x86/include/asm/fpu/internal.h:use_xsave Cyclomatic Complexity 1 arch/x86/include/asm/fpu/internal.h:use_fxsr Cyclomatic Complexity 1 arch/x86/include/asm/fpu/internal.h:copy_kernel_to_fxregs Cyclomatic Complexity 1 arch/x86/include/asm/fpu/internal.h:copy_kernel_to_fregs Cyclomatic Complexity 1 arch/x86/include/asm/fpu/internal.h:copy_fxregs_to_kernel Cyclomatic Complexity 1 arch/x86/include/asm/fpu/internal.h:copy_kernel_to_xregs Cyclomatic Complexity 3 arch/x86/include/asm/fpu/internal.h:__copy_kernel_to_fpregs Cyclomatic Complexity 3 arch/x86/include/asm/fpu/internal.h:fpu_want_lazy_restore Cyclomatic Complexity 2 arch/x86/include/asm/fpu/internal.h:__fpregs_activate_hw Cyclomatic Complexity 2 arch/x86/include/asm/fpu/internal.h:__fpregs_deactivate_hw Cyclomatic Complexity 1 arch/x86/include/asm/fpu/internal.h:__fpregs_activate Cyclomatic Complexity 1 arch/x86/include/asm/fpu/internal.h:fpregs_activate Cyclomatic Complexity 1 arch/x86/kernel/process_64.c:start_thread_common Cyclomatic Complexity 2 arch/x86/include/asm/fpu/internal.h:copy_kernel_to_fpregs Cyclomatic Complexity 2 arch/x86/include/asm/fpu/internal.h:switch_fpu_finish Cyclomatic Complexity 2 include/linux/thread_info.h:test_ti_thread_flag Cyclomatic Complexity 1 include/linux/sched.h:test_tsk_thread_flag Cyclomatic Complexity 2 arch/x86/include/asm/fpu/internal.h:copy_xregs_to_kernel Cyclomatic Complexity 3 arch/x86/include/asm/fpu/internal.h:copy_fpregs_to_fpstate Cyclomatic Complexity 9 arch/x86/include/asm/fpu/internal.h:switch_fpu_prepare Cyclomatic Complexity 5 arch/x86/kernel/process_64.c:__show_regs Cyclomatic Complexity 2 arch/x86/kernel/process_64.c:release_thread Cyclomatic Complexity 1 arch/x86/kernel/process_64.c:start_thread Cyclomatic Complexity 2 arch/x86/kernel/process_64.c:compat_start_thread Cyclomatic Complexity 21 arch/x86/kernel/process_64.c:__switch_to Cyclomatic Complexity 2 arch/x86/kernel/process_64.c:set_personality_64bit Cyclomatic Complexity 4 arch/x86/kernel/process_64.c:set_personality_ia32 Cyclomatic Complexity 11 arch/x86/kernel/process_64.c:do_arch_prctl Cyclomatic Complexity 12 arch/x86/kernel/process_64.c:copy_thread_tls Cyclomatic Complexity 1 arch/x86/kernel/process_64.c:sys_arch_prctl Cyclomatic Complexity 1 arch/x86/kernel/process_64.c:KSTK_ESP cc1: some warnings being treated as errors
vim +/pr_default +98 arch/x86/kernel/process_64.c
92 93 cr0 = read_cr0(); 94 cr2 = read_cr2(); 95 cr3 = read_cr3(); 96 cr4 = __read_cr4(); 97 > 98 pr_default("FS: %016lx(%04x) GS:%016lx(%04x) knlGS:%016lx\n", 99 fs, fsindex, gs, gsindex, shadowgs); 100 pr_default("CS: %04x DS: %04x ES: %04x CR0: %016lx\n", cs, ds, 101 es, cr0);
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation [unhandled content-type:application/octet-stream] | |