# git rev-parse -q --verify 0d665e7b109d512b7cae3ccef6e8654714887844^{commit} 0d665e7b109d512b7cae3ccef6e8654714887844 already have revision, skipping fetch # git checkout -q -f -B kisskb 0d665e7b109d512b7cae3ccef6e8654714887844 # git clean -qxdf # git log -1 commit 0d665e7b109d512b7cae3ccef6e8654714887844 Author: Kirill A. Shutemov Date: Fri Jan 19 15:49:24 2018 +0300 mm, page_vma_mapped: Drop faulty pointer arithmetics in check_pte() Tetsuo reported random crashes under memory pressure on 32-bit x86 system and tracked down to change that introduced page_vma_mapped_walk(). The root cause of the issue is the faulty pointer math in check_pte(). As ->pte may point to an arbitrary page we have to check that they are belong to the section before doing math. Otherwise it may lead to weird results. It wasn't noticed until now as mem_map[] is virtually contiguous on flatmem or vmemmap sparsemem. Pointer arithmetic just works against all 'struct page' pointers. But with classic sparsemem, it doesn't because each section memap is allocated separately and so consecutive pfns crossing two sections might have struct pages at completely unrelated addresses. Let's restructure code a bit and replace pointer arithmetic with operations on pfns. Signed-off-by: Kirill A. Shutemov Reported-and-tested-by: Tetsuo Handa Acked-by: Michal Hocko Fixes: ace71a19cec5 ("mm: introduce page_vma_mapped_walk()") Cc: stable@vger.kernel.org Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < git log --format=%s --max-count=1 0d665e7b109d512b7cae3ccef6e8654714887844 # < make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_polaris_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- polaris_defconfig # make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_polaris_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- make[1]: Entering directory '/home/kisskb/slave/build/linus_polaris_defconfig_sh4' GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config/kernel.release GEN ./Makefile WRAP arch/sh/include/generated/uapi/asm/bitsperlong.h WRAP arch/sh/include/generated/uapi/asm/bpf_perf_event.h WRAP arch/sh/include/generated/uapi/asm/errno.h WRAP arch/sh/include/generated/uapi/asm/fcntl.h WRAP arch/sh/include/generated/uapi/asm/ioctl.h WRAP arch/sh/include/generated/uapi/asm/ipcbuf.h UPD include/config/kernel.release WRAP arch/sh/include/generated/uapi/asm/kvm_para.h WRAP arch/sh/include/generated/uapi/asm/mman.h WRAP arch/sh/include/generated/uapi/asm/msgbuf.h WRAP arch/sh/include/generated/uapi/asm/param.h WRAP arch/sh/include/generated/uapi/asm/poll.h WRAP arch/sh/include/generated/uapi/asm/resource.h WRAP arch/sh/include/generated/uapi/asm/sembuf.h WRAP arch/sh/include/generated/uapi/asm/shmbuf.h WRAP arch/sh/include/generated/uapi/asm/siginfo.h WRAP arch/sh/include/generated/uapi/asm/socket.h CHK include/generated/uapi/linux/version.h WRAP arch/sh/include/generated/uapi/asm/statfs.h WRAP arch/sh/include/generated/uapi/asm/termbits.h WRAP arch/sh/include/generated/uapi/asm/termios.h WRAP arch/sh/include/generated/uapi/asm/ucontext.h UPD include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h Using /home/kisskb/slave/src as source for kernel WRAP arch/sh/include/generated/asm/clkdev.h WRAP arch/sh/include/generated/asm/current.h WRAP arch/sh/include/generated/asm/delay.h WRAP arch/sh/include/generated/asm/div64.h WRAP arch/sh/include/generated/asm/emergency-restart.h WRAP arch/sh/include/generated/asm/exec.h WRAP arch/sh/include/generated/asm/irq_regs.h WRAP arch/sh/include/generated/asm/local.h WRAP arch/sh/include/generated/asm/irq_work.h WRAP arch/sh/include/generated/asm/local64.h WRAP arch/sh/include/generated/asm/mcs_spinlock.h WRAP arch/sh/include/generated/asm/mm-arch-hooks.h WRAP arch/sh/include/generated/asm/parport.h WRAP arch/sh/include/generated/asm/percpu.h WRAP arch/sh/include/generated/asm/preempt.h WRAP arch/sh/include/generated/asm/rwsem.h WRAP arch/sh/include/generated/asm/serial.h WRAP arch/sh/include/generated/asm/sizes.h WRAP arch/sh/include/generated/asm/trace_clock.h WRAP arch/sh/include/generated/asm/xor.h HOSTCC scripts/kallsyms HOSTCC scripts/conmakehash HOSTCC scripts/asn1_compiler HOSTCC scripts/extract-cert HOSTCC scripts/genksyms/genksyms.o SHIPPED scripts/genksyms/parse.tab.c SHIPPED scripts/genksyms/lex.lex.c CC scripts/mod/empty.o SHIPPED scripts/genksyms/parse.tab.h HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s HOSTCC scripts/genksyms/parse.tab.o HOSTCC scripts/genksyms/lex.lex.o CHK scripts/mod/devicetable-offsets.h UPD scripts/mod/devicetable-offsets.h MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/sumversion.o HOSTLD scripts/genksyms/genksyms HOSTLD scripts/mod/modpost Generating include/generated/machtypes.h CC kernel/bounds.s CHK include/generated/timeconst.h UPD include/generated/timeconst.h CHK include/generated/bounds.h UPD include/generated/bounds.h CC arch/sh/kernel/asm-offsets.s CHK include/generated/asm-offsets.h UPD include/generated/asm-offsets.h CALL /home/kisskb/slave/src/scripts/checksyscalls.sh :1317:2: warning: #warning syscall pkey_mprotect not implemented [-Wcpp] :1320:2: warning: #warning syscall pkey_alloc not implemented [-Wcpp] :1323:2: warning: #warning syscall pkey_free not implemented [-Wcpp] :1326:2: warning: #warning syscall statx not implemented [-Wcpp] CC init/main.o CHK include/generated/compile.h CC init/noinitramfs.o CC init/do_mounts.o CC init/init_task.o AR usr/built-in.o AS arch/sh/kernel/debugtraps.o UPD include/generated/compile.h CC arch/sh/kernel/dma-nommu.o CC arch/sh/kernel/dumpstack.o CC arch/sh/kernel/idle.o CC init/version.o CC arch/sh/kernel/io.o CC arch/sh/mm/alignment.o CC arch/sh/kernel/irq.o CC arch/sh/mm/cache.o CC arch/sh/kernel/irq_32.o CC arch/sh/mm/init.o CC arch/sh/mm/consistent.o CC arch/sh/kernel/kdebugfs.o CC arch/sh/mm/mmap.o CC arch/sh/boards/board-polaris.o CC arch/sh/kernel/machvec.o CC arch/sh/mm/cache-sh3.o CC arch/sh/kernel/nmi_debug.o CC arch/sh/mm/ioremap.o CC arch/sh/mm/kmap.o CC arch/sh/mm/tlbex_32.o CC arch/sh/mm/pgtable.o CC arch/sh/mm/tlb-sh3.o CC arch/sh/mm/extable_32.o CC arch/sh/kernel/process.o CC arch/sh/kernel/setup.o CC arch/sh/kernel/reboot.o CC arch/sh/kernel/ptrace_32.o CC arch/sh/kernel/unwinder.o CC arch/sh/kernel/ptrace.o CC arch/sh/mm/fault.o CC arch/sh/mm/uncached.o CC arch/sh/kernel/topology.o CC arch/sh/kernel/sys_sh.o CC arch/sh/kernel/return_address.o AS arch/sh/kernel/syscalls_32.o CC arch/sh/kernel/signal_32.o CC arch/sh/kernel/traps_32.o CC arch/sh/kernel/time.o CC arch/sh/kernel/process_32.o CC arch/sh/kernel/traps.o CC arch/sh/mm/gup.o CC arch/sh/mm/tlbflush_32.o CC arch/sh/math-emu/math.o CC arch/sh/kernel/iomap.o CC kernel/fork.o CC kernel/exec_domain.o CC arch/sh/kernel/sys_sh32.o CC arch/sh/kernel/cpu/irq/imask.o CC arch/sh/kernel/cpu/irq/ipr.o CC arch/sh/kernel/module.o CC arch/sh/kernel/sh_ksyms_32.o CC arch/sh/kernel/vsyscall/vsyscall.o CC arch/sh/kernel/stacktrace.o CC arch/sh/kernel/disassemble.o CC arch/sh/kernel/perf_event.o CC kernel/panic.o CC arch/sh/kernel/hw_breakpoint.o AS arch/sh/kernel/head_32.o LDS arch/sh/kernel/vsyscall/vsyscall.lds CC arch/sh/kernel/perf_callchain.o LDS arch/sh/kernel/vmlinux.lds AS arch/sh/kernel/cpu/sh3/ex.o CC arch/sh/kernel/cpu/sh3/probe.o In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:23:0: /home/kisskb/slave/src/include/math-emu/single.h:50:21: warning: "__BIG_ENDIAN" is not defined [-Wundef] In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:24:0: /home/kisskb/slave/src/include/math-emu/double.h:59:21: warning: "__BIG_ENDIAN" is not defined [-Wundef] /home/kisskb/slave/src/arch/sh/math-emu/math.c:54:0: warning: "WRITE" redefined [enabled by default] /home/kisskb/slave/src/include/linux/kernel.h:65:0: note: this is the location of the previous definition /home/kisskb/slave/src/arch/sh/math-emu/math.c:55:0: warning: "READ" redefined [enabled by default] /home/kisskb/slave/src/include/linux/kernel.h:64:0: note: this is the location of the previous definition /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fcmp_gt': /home/kisskb/slave/src/arch/sh/math-emu/math.c:81:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:81:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fcmp_eq': /home/kisskb/slave/src/arch/sh/math-emu/math.c:92:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:92:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fadd': /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: left shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fsub': /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: left shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fmul': /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: left shift count is negative [enabled by default] CC arch/sh/kernel/cpu/adc.o /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: left shift count is negative [enabled by default] AS arch/sh/kernel/vsyscall/vsyscall-trapa.o AS arch/sh/kernel/cpu/sh3/entry.o /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: left shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: left shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fdiv': /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:1: warning: left shift count is negative [enabled by default] CC arch/sh/kernel/cpu/clock-cpg.o /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fmac': /home/kisskb/slave/src/arch/sh/math-emu/math.c:145:2: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:145:2: warning: left shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:147:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:147:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:147:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'ffloat': /home/kisskb/slave/src/arch/sh/math-emu/math.c:294:3: warning: right shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:294:3: warning: right shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:294:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:294:3: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:294:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:294:3: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:294:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:296:3: warning: right shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:296:3: warning: right shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:296:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:296:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:296:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'ftrc': /home/kisskb/slave/src/arch/sh/math-emu/math.c:310:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:310:1: warning: left shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:310:1: warning: left shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:310:1: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:310:1: warning: left shift count >= width of type [enabled by default] CC arch/sh/kernel/cpu/init.o /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fcnvsd': /home/kisskb/slave/src/arch/sh/math-emu/math.c:323:2: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:324:1: warning: statement with no effect [-Wunused-value] AS arch/sh/kernel/vsyscall/vsyscall-note.o /home/kisskb/slave/src/arch/sh/math-emu/math.c:324:2: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:324:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:324:2: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:324:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fcnvds': /home/kisskb/slave/src/arch/sh/math-emu/math.c:333:1: warning: left shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:334:2: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:334:2: warning: left shift count >= width of type [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:334:2: warning: right shift count is negative [enabled by default] /home/kisskb/slave/src/arch/sh/math-emu/math.c:335:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:335:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c:335:1: warning: statement with no effect [-Wunused-value] /home/kisskb/slave/src/arch/sh/math-emu/math.c: At top level: /home/kisskb/slave/src/arch/sh/math-emu/math.c:505:12: warning: 'ieee_fpe_handler' defined but not used [-Wunused-function] CC certs/system_keyring.o CC arch/sh/kernel/cpu/sh3/setup-sh3.o /home/kisskb/slave/src/arch/sh/kernel/cpu/sh3/../../entry-common.S: Assembler messages: /home/kisskb/slave/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:389: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:392: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence EXTRACT_CERTS CC arch/sh/kernel/cpu/sh3/setup-sh770x.o CC arch/sh/kernel/cpu/fpu.o CC kernel/cpu.o CC arch/sh/kernel/cpu/sh3/serial-sh770x.o AS certs/system_certificates.o CC kernel/exit.o CC arch/sh/kernel/cpu/clock.o CC arch/sh/kernel/cpu/pfc.o CC arch/sh/kernel/cpu/proc.o CC arch/sh/kernel/cpu/sh3/clock-sh7709.o CC kernel/softirq.o CC kernel/resource.o CC kernel/sysctl.o CC mm/filemap.o CC kernel/sysctl_binary.o CC mm/mempool.o CC mm/oom_kill.o CC fs/open.o AR arch/sh/boards/built-in.o CC kernel/capability.o CC kernel/signal.o CC kernel/ptrace.o CC kernel/user.o CC mm/maccess.o CC kernel/sys.o CC ipc/util.o CC ipc/msgutil.o CC kernel/umh.o CC kernel/workqueue.o CC fs/read_write.o /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c: In function 'cpg_clk_init': /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:53:3: warning: 'arch_init_clk_ops' is deprecated (declared at /home/kisskb/slave/src/arch/sh/include/asm/clock.h:8) [-Wdeprecated-declarations] /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c: In function 'arch_clk_init': /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:77:2: warning: 'cpg_clk_init' is deprecated (declared at /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:47) [-Wdeprecated-declarations] AR arch/sh/kernel/cpu/irq/built-in.o CC security/commoncap.o CC security/keys/gc.o AR arch/sh/mm/built-in.o SYSCALL arch/sh/kernel/vsyscall/vsyscall-trapa.so SYSCALL arch/sh/kernel/vsyscall/vsyscall-dummy.o CC security/keys/key.o AR certs/built-in.o CC ipc/msg.o AS arch/sh/kernel/vsyscall/vsyscall-syscall.o CC ipc/sem.o LD arch/sh/kernel/vsyscall/vsyscall-syms.o CC security/keys/keyctl.o CC security/keys/keyring.o CC crypto/api.o CC crypto/cipher.o CC security/keys/permission.o CC security/keys/process_keys.o CC crypto/compress.o CC crypto/memneq.o CC crypto/crypto_wq.o CC kernel/pid.o CC block/bio.o AR arch/sh/kernel/cpu/sh3/built-in.o AR arch/sh/kernel/vsyscall/built-in.o CC block/elevator.o CC block/blk-core.o CC block/blk-tag.o CC block/blk-sysfs.o CC kernel/task_work.o CC ipc/shm.o AR arch/sh/kernel/cpu/built-in.o AR init/mounts.o CC kernel/extable.o CC kernel/params.o AR init/built-in.o CC mm/page_alloc.o AR arch/sh/kernel/built-in.o CC mm/page-writeback.o CC kernel/kthread.o CC security/keys/request_key.o CC security/keys/request_key_auth.o CC kernel/sys_ni.o CC kernel/nsproxy.o AR drivers/amba/built-in.o AR drivers/auxdisplay/built-in.o CC kernel/notifier.o CC security/keys/user_defined.o CC crypto/algapi.o CC drivers/base/component.o CC mm/readahead.o CC kernel/ksysfs.o CC ipc/syscall.o CC crypto/scatterwalk.o CC crypto/proc.o CC crypto/aead.o CC kernel/cred.o CC kernel/reboot.o CC kernel/async.o CC kernel/range.o CC security/keys/proc.o CC security/keys/sysctl.o AR arch/sh/math-emu/built-in.o CC ipc/ipc_sysctl.o CC crypto/ablkcipher.o CC kernel/smpboot.o CC fs/file_table.o AR sound/built-in.o CC kernel/ucount.o CC security/min_addr.o CC security/lsm_audit.o AR firmware/built-in.o CC block/blk-flush.o CC mm/swap.o CC kernel/kmod.o CC kernel/groups.o CC ipc/mqueue.o CC kernel/irq/irqdesc.o CC arch/sh/drivers/dma/dma-sh.o CC kernel/bpf/core.o CC kernel/irq/handle.o CC kernel/events/core.o CC block/blk-settings.o CC net/socket.o CC ipc/namespace.o CC ipc/mq_sysctl.o AR net/802/built-in.o AR kernel/livepatch/built-in.o CC fs/super.o CC mm/truncate.o CC net/bpf/test_run.o CC net/ethernet/eth.o CC net/core/sock.o CC drivers/base/core.o CC kernel/power/qos.o CC kernel/locking/mutex.o CC net/core/request_sock.o CC kernel/printk/printk.o CC arch/sh/drivers/dma/dma-api.o CC kernel/rcu/update.o CC kernel/sched/core.o CC kernel/irq/manage.o CC kernel/time/time.o CC crypto/blkcipher.o CC block/blk-ioc.o CC kernel/irq/spurious.o CC crypto/skcipher.o CC kernel/sched/loadavg.o CC kernel/stacktrace.o CC block/blk-map.o CC kernel/futex.o CC fs/char_dev.o CC crypto/ahash.o CC kernel/up.o CC kernel/uid16.o CC fs/stat.o AR security/keys/built-in.o CC fs/exec.o CC kernel/module.o AR security/built-in.o CC block/blk-exec.o CC crypto/shash.o CC kernel/irq/resend.o CC kernel/kallsyms.o AS arch/sh/lib/movmem.o CC kernel/acct.o CC kernel/irq/chip.o CC mm/vmscan.o CC arch/sh/lib/ashldi3.o CC kernel/utsname.o CC kernel/pid_namespace.o CC kernel/audit.o CC arch/sh/drivers/dma/dma-sysfs.o CC kernel/sched/clock.o CC net/core/skbuff.o AR net/bpf/built-in.o CC block/blk-merge.o CC kernel/irq/dummychip.o CC net/ipv4/route.o CC block/blk-softirq.o CC kernel/auditfilter.o CC kernel/rcu/sync.o CC mm/shmem.o AR kernel/power/built-in.o CC kernel/auditsc.o CC kernel/audit_watch.o CC block/blk-timeout.o AR net/ethernet/built-in.o CC kernel/locking/semaphore.o CC net/ipv6/addrconf_core.o CC block/blk-lib.o CC arch/sh/lib/ashrdi3.o AR arch/sh/drivers/dma/built-in.o CC kernel/irq/devres.o CC arch/sh/drivers/heartbeat.o CC crypto/akcipher.o CC mm/util.o CC block/blk-mq.o CC fs/pipe.o CC crypto/kpp.o CC kernel/sched/cputime.o CC kernel/rcu/srcutree.o /home/kisskb/slave/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /home/kisskb/slave/src/kernel/printk/printk.c:186:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] CC kernel/irq/irqdomain.o CC fs/namei.o ASN.1 crypto/rsapubkey-asn1.c ASN.1 crypto/rsaprivkey-asn1.c CC crypto/rsa.o AR ipc/built-in.o CC drivers/base/bus.o CC fs/fcntl.o CC kernel/irq/proc.o CC arch/sh/lib/lshrdi3.o CC kernel/time/timer.o CC lib/lockref.o CC crypto/rsa_helper.o CC mm/mmzone.o /home/kisskb/slave/src/kernel/rcu/srcutree.c: In function 'init_srcu_struct_fields': /home/kisskb/slave/src/kernel/rcu/srcutree.c:100:33: warning: 'levelspread[]' may be used uninitialized in this function [-Wuninitialized] /home/kisskb/slave/src/kernel/rcu/srcutree.c:67:6: note: 'levelspread[]' was declared here CC kernel/audit_fsnotify.o AR arch/sh/drivers/built-in.o CC kernel/audit_tree.o CC crypto/rsa-pkcs1pad.o CC kernel/hung_task.o AR virt/lib/built-in.o CC block/blk-mq-tag.o CC mm/vmstat.o AR virt/built-in.o CC kernel/locking/rwsem.o CC kernel/locking/percpu-rwsem.o CC kernel/utsname_sysctl.o CC crypto/scompress.o CC crypto/acompress.o CC kernel/elfcore.o CC lib/bcd.o CC kernel/irq_work.o CC mm/backing-dev.o CC kernel/memremap.o CC mm/mm_init.o CC crypto/algboss.o AR kernel/bpf/built-in.o AS arch/sh/lib/ashlsi3.o CC mm/mmu_context.o CC lib/div64.o AS arch/sh/lib/ashrsi3.o CC crypto/testmgr.o AS arch/sh/lib/ashiftrt.o AS arch/sh/lib/lshrsi3.o CC block/blk-stat.o AS arch/sh/lib/udiv_qrnnd.o CC arch/sh/lib/io.o CC net/netlink/af_netlink.o CC mm/percpu.o AS arch/sh/lib/__clear_user.o CC kernel/sched/idle_task.o CC kernel/locking/mutex-debug.o CC kernel/locking/lockdep.o CC mm/slab_common.o AS arch/sh/lib/checksum.o CC kernel/rcu/tree.o CC fs/ioctl.o CC kernel/rcu/rcu_segcblist.o CC crypto/crypto_null.o CC net/ipv6/exthdrs_core.o CC kernel/printk/printk_safe.o AS arch/sh/lib/copy_page.o CC fs/readdir.o CC arch/sh/lib/delay.o CC arch/sh/lib/div64-generic.o AR kernel/irq/built-in.o CC net/ipv6/ip6_checksum.o AS arch/sh/lib/div64.o CC drivers/base/dd.o CC crypto/aes_generic.o CC lib/sort.o CC fs/select.o CC kernel/sched/fair.o CC fs/dcache.o AS arch/sh/lib/memcpy.o AS arch/sh/lib/memchr.o AS arch/sh/lib/memmove.o AS arch/sh/lib/memset.o AR kernel/printk/built-in.o AS arch/sh/lib/strlen.o CC mm/compaction.o CC crypto/rng.o CC mm/vmacache.o AS arch/sh/lib/udivsi3.o AS arch/sh/lib/udivsi3_i4i.o CC kernel/sched/rt.o CC lib/parser.o CC lib/debug_locks.o CC mm/swap_slots.o CC lib/random32.o CC kernel/sched/deadline.o CC net/core/datagram.o AR arch/sh/lib/lib.a CC crypto/asymmetric_keys/asymmetric_type.o EXPORTS arch/sh/lib/lib-ksyms.o CC crypto/asymmetric_keys/restrict.o CC crypto/hash_info.o CC block/blk-mq-sysfs.o AR arch/sh/lib/built-in.o CC [M] crypto/echainiv.o CC kernel/locking/lockdep_proc.o CC kernel/sched/wait.o CC lib/bust_spinlocks.o CC mm/interval_tree.o CC block/blk-mq-cpumap.o CC [M] crypto/hmac.o CC mm/list_lru.o CC [M] crypto/sha256_generic.o CC lib/kasprintf.o CC net/core/stream.o CC kernel/time/hrtimer.o CC mm/workingset.o CC [M] crypto/drbg.o CC lib/bitmap.o CC crypto/asymmetric_keys/signature.o CC mm/debug.o CC crypto/asymmetric_keys/public_key.o CC mm/gup.o CC fs/inode.o CC net/ipv6/ip6_icmp.o CC lib/scatterlist.o CC drivers/base/syscore.o CC net/ipv4/inetpeer.o CC kernel/locking/rtmutex.o CC lib/gcd.o CC lib/lcm.o CC mm/highmem.o CC kernel/sched/wait_bit.o CC net/ipv6/output_core.o ASN.1 crypto/asymmetric_keys/x509-asn1.c CC [M] crypto/jitterentropy.o ASN.1 crypto/asymmetric_keys/x509_akid-asn1.c CC crypto/asymmetric_keys/x509_public_key.o CC fs/attr.o CC lib/list_sort.o CC fs/bad_inode.o CC kernel/sched/swait.o CC lib/uuid.o CC [M] crypto/jitterentropy-kcapi.o ASN.1 crypto/asymmetric_keys/pkcs7-asn1.c CC block/blk-mq-sched.o CC crypto/asymmetric_keys/pkcs7_trust.o CC mm/memory.o AR crypto/crypto.o CC mm/mincore.o CC block/ioctl.o CC block/genhd.o AR crypto/crypto_algapi.o CC mm/mlock.o AR crypto/crypto_blkcipher.o AR crypto/crypto_hash.o CC crypto/rsapubkey-asn1.o CC crypto/rsaprivkey-asn1.o CC kernel/sched/completion.o CC lib/flex_array.o AR crypto/crypto_acompress.o AR crypto/cryptomgr.o CC kernel/locking/rtmutex-debug.o AR crypto/rsa_generic.o CC mm/mmap.o CC kernel/locking/spinlock.o CC lib/clz_ctz.o CC lib/iov_iter.o CC mm/mprotect.o CC kernel/locking/spinlock_debug.o CC mm/mremap.o CC mm/msync.o CC kernel/sched/idle.o CC net/packet/af_packet.o CC kernel/sched/membarrier.o CC crypto/asymmetric_keys/pkcs7_verify.o AR crypto/asymmetric_keys/asymmetric_keys.o CC crypto/asymmetric_keys/x509-asn1.o CC crypto/asymmetric_keys/x509_akid-asn1.o CC lib/bsearch.o CC fs/file.o CC kernel/events/ring_buffer.o CC fs/filesystems.o CC net/ipv6/protocol.o CC crypto/asymmetric_keys/x509_cert_parser.o CC lib/find_bit.o CC lib/llist.o CC crypto/asymmetric_keys/pkcs7-asn1.o CC kernel/time/timekeeping.o CC drivers/base/driver.o CC lib/memweight.o CC crypto/asymmetric_keys/pkcs7_parser.o CC lib/kfifo.o CC fs/namespace.o LD [M] crypto/jitterentropy_rng.o CC net/netlink/genetlink.o CC kernel/locking/rwsem-spinlock.o CC net/core/scm.o CC net/core/gen_stats.o CC lib/percpu-refcount.o CC lib/percpu_ida.o CC lib/rhashtable.o CC lib/reciprocal_div.o CC mm/page_vma_mapped.o CC mm/pagewalk.o CC mm/pgtable-generic.o CC lib/once.o CC net/core/gen_estimator.o CC mm/rmap.o CC net/core/net_namespace.o CC kernel/time/ntp.o CC mm/vmalloc.o CC net/ipv6/ip6_offload.o CC net/ipv4/protocol.o CC net/ipv4/ip_input.o CC lib/refcount.o CC net/ipv4/ip_fragment.o AR crypto/asymmetric_keys/x509_key_parser.o CC lib/usercopy.o CC net/ipv4/ip_forward.o AR kernel/rcu/built-in.o CC lib/errseq.o CC block/partition-generic.o CC drivers/base/class.o CC mm/process_vm_access.o CC lib/string_helpers.o CC block/ioprio.o AR kernel/locking/built-in.o CC kernel/events/callchain.o AR crypto/asymmetric_keys/pkcs7_message.o CC mm/init-mm.o AR crypto/asymmetric_keys/built-in.o AR crypto/built-in.o CC fs/seq_file.o CC lib/hexdump.o CC lib/kstrtox.o CC mm/fadvise.o CC mm/bootmem.o CC fs/xattr.o CC lib/iomap_copy.o CC lib/hweight.o CC lib/devres.o AR kernel/sched/built-in.o CC lib/assoc_array.o CC fs/libfs.o CC fs/fs-writeback.o CC lib/smp_processor_id.o CC mm/madvise.o CC lib/bitrev.o CC mm/memblock.o CC mm/dmapool.o HOSTCC lib/gen_crc32table CC lib/mpi/generic_mpih-lshift.o CC lib/zlib_deflate/deflate.o CC block/badblocks.o CC lib/zlib_inflate/inffast.o CC lib/audit.o AR net/netlink/built-in.o CC kernel/events/hw_breakpoint.o CC net/sched/sch_generic.o CC fs/splice.o CC fs/pnode.o CC kernel/time/clocksource.o CC net/core/secure_seq.o CC net/core/flow_dissector.o CC net/core/sysctl_net_core.o CC mm/slab.o CC lib/syscall.o CC lib/zlib_inflate/inflate.o CC drivers/base/platform.o CC net/ipv4/ip_options.o CC net/ipv4/ip_output.o CC net/core/dev.o CC block/partitions/check.o CC mm/migrate.o CC net/ipv6/tcpv6_offload.o CC mm/quicklist.o CC lib/nlattr.o CC lib/atomic64.o CC lib/dynamic_queue_limits.o CC lib/mpi/generic_mpih-mul1.o CC net/ipv4/ip_sockglue.o CC lib/strnlen_user.o CC lib/strncpy_from_user.o CC net/core/ethtool.o CC lib/net_utils.o CC net/core/dev_addr_lists.o CC net/sched/sch_mq.o CC lib/asn1_decoder.o CC fs/sync.o GEN lib/oid_registry_data.c CC fs/utimes.o CC lib/sbitmap.o CC fs/stack.o CC lib/argv_split.o CC lib/bug.o CC fs/fs_struct.o CC lib/zlib_deflate/deftree.o CC lib/chacha20.o CC lib/clz_tab.o CC block/noop-iosched.o CC lib/ctype.o CC lib/cmdline.o CC kernel/time/jiffies.o CC block/cfq-iosched.o CC lib/mpi/generic_mpih-mul2.o CC lib/dec_and_lock.o CC block/partitions/msdos.o CC lib/decompress.o CC block/partitions/efi.o CC lib/dump_stack.o CC block/mq-deadline.o AR kernel/events/built-in.o CC net/ipv4/inet_hashtables.o CC net/ipv4/inet_timewait_sock.o CC lib/earlycpio.o CC fs/statfs.o CC fs/fs_pin.o CC lib/extable.o CC lib/flex_proportions.o CC lib/zlib_inflate/infutil.o CC fs/nsfs.o CC lib/idr.o CC lib/ioremap.o CC lib/int_sqrt.o CC lib/irq_regs.o CC net/core/dst.o CC lib/is_single_threaded.o CC lib/mpi/generic_mpih-mul3.o CC lib/klist.o CC net/ipv6/exthdrs_offload.o CC lib/kobject.o CC net/core/netevent.o CC lib/kobject_uevent.o CC fs/buffer.o CC lib/zlib_inflate/inftrees.o CC fs/block_dev.o CC lib/nmi_backtrace.o CC lib/plist.o CC lib/nodemask.o CC fs/direct-io.o CC block/kyber-iosched.o CC net/core/neighbour.o CC lib/radix-tree.o CC kernel/time/timer_list.o CC lib/ratelimit.o CC fs/mpage.o CC lib/rbtree.o CC kernel/time/timeconv.o CC lib/zlib_inflate/inflate_syms.o CC lib/seq_buf.o CC fs/proc_namespace.o CC lib/sha1.o CC lib/show_mem.o CC fs/devpts/inode.o CC lib/mpi/generic_mpih-rshift.o CC lib/siphash.o AR fs/exofs/built-in.o CC lib/zlib_deflate/deflate_syms.o CC drivers/base/cpu.o CC fs/exportfs/expfs.o CC net/ipv4/inet_connection_sock.o CC lib/string.o CC fs/jffs2/compr.o CC lib/timerqueue.o CC lib/vsprintf.o CC fs/kernfs/mount.o CC net/core/rtnetlink.o CC lib/win_minmax.o CC fs/kernfs/inode.o AR net/ipv6/built-in.o CC kernel/time/timecounter.o AR block/partitions/built-in.o CC net/sunrpc/clnt.o CC net/core/utils.o CC net/ipv4/tcp.o CC fs/lockd/clntlock.o CC kernel/time/alarmtimer.o GEN lib/crc32table.h CC lib/oid_registry.o CC lib/crc32.o AR lib/zlib_inflate/zlib_inflate.o AR lib/zlib_deflate/zlib_deflate.o AR net/sched/built-in.o AR lib/zlib_inflate/built-in.o CC kernel/time/posix-timers.o AR lib/zlib_deflate/built-in.o CC net/ipv4/tcp_input.o CC net/ipv4/tcp_output.o CC drivers/base/firmware.o AR net/wireless/built-in.o CC net/unix/af_unix.o AR mm/built-in.o CC net/sysctl_net.o AR drivers/block/built-in.o CC net/unix/garbage.o CC kernel/time/posix-cpu-timers.o CC fs/jffs2/dir.o CC fs/nfs/client.o AR drivers/bus/built-in.o CC fs/jffs2/file.o AR drivers/cdrom/built-in.o CC drivers/char/mem.o CC lib/mpi/generic_mpih-sub1.o CC drivers/char/random.o CC net/core/link_watch.o CC fs/kernfs/dir.o CC net/core/filter.o AR fs/devpts/devpts.o CC drivers/base/init.o AR fs/devpts/built-in.o CC net/ipv4/tcp_timer.o CC net/ipv4/tcp_ipv4.o CC fs/nfs_common/grace.o CC fs/notify/fsnotify.o CC net/ipv4/tcp_minisocks.o AR fs/exportfs/exportfs.o AR net/packet/built-in.o CC drivers/base/map.o AR fs/quota/built-in.o AR fs/exportfs/built-in.o CC fs/proc/task_mmu.o CC drivers/base/devres.o CC drivers/base/attribute_container.o CC fs/kernfs/file.o CC fs/sysfs/file.o CC fs/ramfs/inode.o CC net/ipv4/tcp_cong.o CC kernel/time/posix-clock.o CC lib/mpi/generic_mpih-add1.o CC net/ipv4/tcp_metrics.o CC drivers/base/transport_class.o CC fs/jffs2/ioctl.o CC drivers/base/topology.o CC fs/jffs2/nodelist.o CC kernel/time/itimer.o CC net/ipv4/tcp_fastopen.o CC net/core/sock_diag.o CC drivers/char/misc.o CC net/unix/sysctl_net_unix.o CC drivers/base/container.o CC net/core/dev_ioctl.o CC fs/eventpoll.o CC fs/jffs2/malloc.o CC fs/ramfs/file-mmu.o CC drivers/base/property.o CC net/ipv4/tcp_rate.o CC drivers/base/cacheinfo.o CC net/ipv4/tcp_recovery.o CC kernel/time/clockevents.o CC lib/mpi/mpicoder.o CC drivers/base/power/clock_ops.o AR drivers/base/test/built-in.o AR fs/nfs_common/built-in.o CC fs/lockd/clntproc.o CC fs/sysfs/dir.o CC fs/notify/notification.o CC fs/anon_inodes.o CC drivers/base/dma-mapping.o CC kernel/time/tick-common.o CC drivers/base/dma-coherent.o CC net/core/tso.o AR drivers/char/agp/built-in.o CC fs/jffs2/read.o CC drivers/base/firmware_class.o CC kernel/time/sched_clock.o CC net/sunrpc/xprt.o CC fs/jffs2/nodemgmt.o CC net/core/fib_notifier.o CC net/core/sock_reuseport.o CC fs/kernfs/symlink.o CC fs/jffs2/readinode.o AR fs/ramfs/ramfs.o AR fs/ramfs/built-in.o AR drivers/char/built-in.o CC fs/signalfd.o CC fs/proc/inode.o AR drivers/char/ipmi/built-in.o CC drivers/base/module.o CC drivers/clk/clk-devres.o AR drivers/base/power/built-in.o CC net/ipv4/tcp_ulp.o CC fs/nfs/dir.o CC fs/sysfs/symlink.o CC fs/sysfs/mount.o CC fs/timerfd.o CC kernel/time/tick-oneshot.o CC net/ipv4/tcp_offload.o CC kernel/time/tick-sched.o AR fs/kernfs/built-in.o CC fs/eventfd.o AR lib/lib.a CC lib/mpi/mpi-bit.o CC fs/aio.o CC drivers/clk/clk-bulk.o EXPORTS lib/lib-ksyms.o CC fs/notify/group.o CC net/ipv4/datagram.o CC drivers/clk/clkdev.o AR block/built-in.o CC net/core/net-sysfs.o CC fs/jffs2/write.o CC net/ipv4/raw.o CC fs/notify/mark.o CC fs/jffs2/scan.o CC fs/proc/base.o CC fs/proc/root.o CC fs/sysfs/group.o CC net/core/net-procfs.o CC net/ipv4/udp.o CC net/ipv4/udplite.o CC net/ipv4/udp_offload.o CC fs/jffs2/gc.o CC fs/notify/fdinfo.o CC net/ipv4/arp.o AR fs/notify/dnotify/built-in.o AR fs/notify/fanotify/built-in.o CC net/ipv4/icmp.o CC fs/notify/inotify/inotify_fsnotify.o CC net/ipv4/devinet.o CC fs/nfs/file.o CC fs/notify/inotify/inotify_user.o CC fs/lockd/clntxdr.o CC fs/locks.o CC fs/proc/generic.o CC fs/binfmt_script.o CC net/ipv4/af_inet.o AR drivers/clk/bcm/built-in.o AR drivers/clk/imgtec/built-in.o AR fs/sysfs/built-in.o AR drivers/base/built-in.o CC fs/binfmt_elf.o AR net/unix/unix.o CC lib/mpi/mpi-cmp.o AR drivers/clk/mvebu/built-in.o AR net/unix/built-in.o CC drivers/clocksource/sh_tmu.o CC net/ipv4/igmp.o AR drivers/clk/renesas/built-in.o AR drivers/crypto/built-in.o AR drivers/clk/ti/built-in.o AR drivers/firewire/built-in.o AR drivers/clk/built-in.o AR drivers/firmware/broadcom/built-in.o AR drivers/firmware/meson/built-in.o CC drivers/hid/hid-core.o AR drivers/gpu/drm/amd/lib/built-in.o CC drivers/hid/hid-input.o CC drivers/hid/hid-generic.o AR drivers/firmware/tegra/built-in.o CC fs/coredump.o CC fs/jffs2/symlink.o AR drivers/firmware/built-in.o CC fs/drop_caches.o CC fs/fhandle.o AR drivers/hwtracing/intel_th/built-in.o AR drivers/gpu/drm/bridge/synopsys/built-in.o CC fs/jffs2/build.o CC net/sunrpc/socklib.o CC net/ipv4/fib_frontend.o AR drivers/gpu/drm/bridge/built-in.o AR drivers/idle/built-in.o CC fs/lockd/host.o AR drivers/i2c/algos/built-in.o CC drivers/hid/hid-a4tech.o CC drivers/input/input.o AR drivers/gpu/drm/hisilicon/built-in.o AR drivers/i2c/busses/built-in.o CC fs/lockd/svc.o AR drivers/gpu/drm/i2c/built-in.o AR drivers/i2c/muxes/built-in.o AR drivers/gpu/drm/omapdrm/displays/built-in.o AR drivers/i2c/built-in.o CC drivers/hid/hid-apple.o AR drivers/gpu/drm/panel/built-in.o CC fs/jffs2/erase.o AR drivers/gpu/drm/omapdrm/dss/built-in.o AR drivers/iommu/built-in.o AR drivers/gpu/drm/omapdrm/built-in.o AR kernel/time/built-in.o AR kernel/built-in.o CC fs/proc/array.o AR drivers/gpu/drm/tilcdc/built-in.o CC net/ipv4/fib_semantics.o CC net/ipv4/fib_trie.o CC fs/jffs2/background.o CC lib/mpi/mpih-cmp.o CC lib/mpi/mpih-div.o AR drivers/macintosh/built-in.o AR drivers/irqchip/built-in.o AR drivers/gpu/drm/built-in.o CC lib/mpi/mpih-mul.o CC net/ipv4/fib_notifier.o CC net/ipv4/inet_fragment.o AR drivers/mfd/built-in.o AR drivers/media/common/saa7146/built-in.o AR drivers/media/common/b2c2/built-in.o AR drivers/gpu/vga/built-in.o AR drivers/media/common/siano/built-in.o AR drivers/media/common/v4l2-tpg/built-in.o CC drivers/input/input-compat.o AR drivers/gpu/built-in.o CC fs/jffs2/fs.o AR drivers/misc/cb710/built-in.o AR drivers/media/common/built-in.o AR fs/notify/inotify/built-in.o CC drivers/hid/hid-belkin.o CC net/ipv4/ping.o AR drivers/misc/eeprom/built-in.o AR fs/notify/built-in.o CC net/ipv4/ip_tunnel_core.o AR drivers/clocksource/built-in.o AR drivers/mmc/built-in.o CC net/ipv4/gre_offload.o CC drivers/mtd/mtdcore.o AR drivers/misc/lis3lv02d/built-in.o CC fs/proc/fd.o AR drivers/media/firewire/built-in.o CC drivers/net/mii.o AR drivers/nfc/built-in.o AR drivers/misc/ti-st/built-in.o AR drivers/misc/mic/bus/built-in.o CC lib/mpi/mpi-pow.o CC fs/jffs2/writev.o AR drivers/media/i2c/soc_camera/built-in.o AR drivers/media/mmc/siano/built-in.o AR drivers/misc/mic/built-in.o AR drivers/media/i2c/built-in.o AR drivers/nvme/host/built-in.o AR drivers/media/mmc/built-in.o CC fs/jffs2/super.o AR drivers/misc/built-in.o AR drivers/nvme/target/built-in.o AR drivers/media/pci/b2c2/built-in.o AR drivers/nvme/built-in.o AR drivers/media/platform/blackfin/built-in.o CC net/ipv4/sysctl_net_ipv4.o AR drivers/media/pci/ddbridge/built-in.o CC lib/mpi/mpiutil.o CC net/ipv4/proc.o AR drivers/pci/dwc/built-in.o CC drivers/nvmem/core.o AR drivers/media/platform/davinci/built-in.o AR drivers/perf/built-in.o CC net/ipv4/inet_diag.o CC drivers/hid/hid-cherry.o CC fs/nfs/getroot.o AR drivers/media/pci/dm1105/built-in.o AR drivers/platform/built-in.o AR drivers/media/platform/meson/built-in.o AR drivers/power/built-in.o AR drivers/media/pci/mantis/built-in.o AR drivers/media/pci/netup_unidvb/built-in.o CC fs/jffs2/debug.o CC fs/nfs/inode.o CC fs/lockd/svclock.o CC fs/proc/proc_tty.o CC fs/proc/cmdline.o AR drivers/media/platform/omap/built-in.o AR drivers/media/pci/ngene/built-in.o AR drivers/media/pci/pluto2/built-in.o AR drivers/ptp/built-in.o CC net/ipv4/tcp_diag.o CC drivers/hid/hid-chicony.o AR drivers/media/pci/pt1/built-in.o AR drivers/pwm/built-in.o AR drivers/media/platform/stm32/built-in.o CC fs/jffs2/compr_rtime.o AR drivers/media/pci/pt3/built-in.o AR drivers/media/pci/saa7146/built-in.o AR drivers/media/platform/built-in.o AR drivers/media/pci/smipcie/built-in.o CC drivers/rtc/rtc-lib.o CC net/sunrpc/xprtsock.o AR drivers/media/pci/ttpci/built-in.o CC net/sunrpc/sched.o CC drivers/input/input-mt.o CC drivers/input/ff-core.o CC net/sunrpc/auth.o AR drivers/media/pci/built-in.o CC net/ipv4/tcp_cubic.o CC fs/jffs2/compr_zlib.o AR drivers/media/rc/keymaps/built-in.o CC fs/proc/consoles.o CC fs/proc/cpuinfo.o AR drivers/media/rc/built-in.o CC fs/proc/devices.o CC drivers/hid/hid-cypress.o CC drivers/hid/hid-ezkey.o AR net/core/built-in.o AR drivers/media/spi/built-in.o CC drivers/sh/clk/core.o CC drivers/sh/clk/cpg.o AR drivers/media/tuners/built-in.o CC fs/proc/interrupts.o AR drivers/soc/bcm/built-in.o CC drivers/tty/tty_io.o CC fs/proc/loadavg.o AR drivers/soc/fsl/built-in.o AR drivers/media/usb/b2c2/built-in.o AR drivers/soc/mediatek/built-in.o AR lib/mpi/mpi.o AR drivers/media/usb/dvb-usb/built-in.o AR lib/mpi/built-in.o CC fs/proc/meminfo.o AR lib/built-in.o AR drivers/soc/renesas/built-in.o CC fs/proc/stat.o AR drivers/media/usb/s2255/built-in.o AR drivers/media/usb/siano/built-in.o AR drivers/media/usb/dvb-usb-v2/built-in.o AR drivers/video/backlight/built-in.o CC drivers/video/console/dummycon.o AR drivers/soc/built-in.o CC fs/lockd/svcshare.o AR fs/jffs2/jffs2.o /home/kisskb/slave/src/drivers/sh/clk/cpg.c: In function 'r8': /home/kisskb/slave/src/drivers/sh/clk/cpg.c:41:2: warning: passing argument 1 of 'ioread8' discards 'const' qualifier from pointer target type [enabled by default] /home/kisskb/slave/src/include/asm-generic/iomap.h:29:21: note: expected 'void *' but argument is of type 'const void *' /home/kisskb/slave/src/drivers/sh/clk/cpg.c: In function 'r16': /home/kisskb/slave/src/drivers/sh/clk/cpg.c:46:2: warning: passing argument 1 of 'ioread16' discards 'const' qualifier from pointer target type [enabled by default] /home/kisskb/slave/src/include/asm-generic/iomap.h:30:21: note: expected 'void *' but argument is of type 'const void *' /home/kisskb/slave/src/drivers/sh/clk/cpg.c: In function 'r32': /home/kisskb/slave/src/drivers/sh/clk/cpg.c:51:2: warning: passing argument 1 of 'ioread32' discards 'const' qualifier from pointer target type [enabled by default] /home/kisskb/slave/src/include/asm-generic/iomap.h:32:21: note: expected 'void *' but argument is of type 'const void *' AR drivers/media/usb/ttusb-budget/built-in.o AR drivers/media/usb/stkwebcam/built-in.o AR fs/jffs2/built-in.o AR drivers/media/usb/ttusb-dec/built-in.o AR drivers/video/fbdev/core/built-in.o CC fs/nfs/super.o CC fs/proc/uptime.o CC drivers/net/Space.o AR drivers/nvmem/nvmem_core.o CC drivers/net/loopback.o CC drivers/hid/hid-ite.o AR drivers/media/usb/zr364xx/built-in.o AR drivers/nvmem/built-in.o CC drivers/rtc/hctosys.o AR drivers/net/ethernet/8390/built-in.o CC fs/proc/util.o CC drivers/rtc/systohc.o AR drivers/net/ethernet/alacritech/built-in.o AR drivers/media/usb/built-in.o AR drivers/net/ethernet/amazon/built-in.o AR drivers/video/fbdev/omap2/omapfb/displays/built-in.o CC fs/nfs/io.o AR drivers/net/ethernet/aquantia/built-in.o AR drivers/net/ethernet/arc/built-in.o CC drivers/hid/hid-kensington.o AR drivers/video/fbdev/omap2/omapfb/dss/built-in.o CC drivers/tty/n_tty.o AR drivers/net/ethernet/broadcom/built-in.o AR drivers/net/ethernet/cadence/built-in.o AR drivers/net/ethernet/ezchip/built-in.o CC drivers/sh/pm_runtime.o AR drivers/media/built-in.o CC net/sunrpc/auth_null.o AR drivers/video/fbdev/omap2/omapfb/built-in.o AR drivers/net/ethernet/intel/built-in.o AR drivers/net/ethernet/i825xx/built-in.o CC drivers/sh/intc/access.o AR drivers/net/ethernet/huawei/built-in.o CC drivers/sh/intc/chip.o CC drivers/net/phy/mdio-boardinfo.o AR drivers/net/ethernet/marvell/built-in.o AR drivers/net/ethernet/micrel/built-in.o CC fs/proc/version.o AR drivers/video/fbdev/omap2/built-in.o AR drivers/net/ethernet/netronome/built-in.o AR drivers/net/ethernet/natsemi/built-in.o CC fs/proc/softirqs.o AR drivers/net/ethernet/renesas/built-in.o AR drivers/net/ethernet/qualcomm/emac/built-in.o CC fs/proc/namespaces.o AR drivers/net/ethernet/qualcomm/built-in.o AR drivers/video/fbdev/built-in.o AR drivers/net/ethernet/rocker/built-in.o CC drivers/sh/intc/core.o AR drivers/net/ethernet/samsung/built-in.o AR drivers/net/ethernet/seeq/built-in.o CC drivers/net/ethernet/smsc/smsc911x.o CC drivers/mtd/mtdsuper.o AR drivers/net/ethernet/stmicro/built-in.o CC drivers/mtd/mtdconcat.o AR drivers/input/input-core.o AR drivers/net/ethernet/synopsys/built-in.o AR drivers/net/ethernet/via/built-in.o CC drivers/mtd/mtdpart.o AR drivers/net/ethernet/wiznet/built-in.o AR drivers/input/built-in.o CC fs/lockd/svcsubs.o CC fs/lockd/svcproc.o CC drivers/hid/hid-lg.o CC fs/lockd/mon.o CC net/sunrpc/auth_unix.o CC drivers/rtc/class.o CC fs/proc/self.o CC drivers/rtc/interface.o CC drivers/net/phy/phy.o AR drivers/net/wireless/admtek/built-in.o AR drivers/video/console/built-in.o CC drivers/hid/hid-microsoft.o CC fs/lockd/xdr.o AR drivers/sh/clk/built-in.o CC drivers/sh/intc/handle.o CC fs/proc/thread_self.o AR drivers/video/built-in.o CC drivers/sh/intc/irqdomain.o CC drivers/hid/hid-monterey.o CC fs/proc/proc_sysctl.o CC fs/proc/proc_net.o CC fs/proc/kcore.o CC drivers/sh/intc/virq.o AR drivers/net/wireless/ath/built-in.o CC fs/nfs/direct.o AR drivers/net/wireless/atmel/built-in.o CC fs/lockd/clnt4xdr.o AR drivers/net/wireless/broadcom/built-in.o CC fs/lockd/xdr4.o AR drivers/net/wireless/intel/built-in.o AR drivers/net/wireless/cisco/built-in.o CC fs/proc/kmsg.o CC drivers/mtd/mtdchar.o AR drivers/net/wireless/intersil/built-in.o AR drivers/net/wireless/marvell/built-in.o CC fs/lockd/svc4proc.o AR drivers/net/wireless/mediatek/built-in.o CC fs/proc/page.o AR drivers/net/wireless/quantenna/built-in.o CC drivers/net/phy/phy-core.o CC drivers/net/phy/phy-c45.o CC net/sunrpc/auth_generic.o AR drivers/net/wireless/realtek/built-in.o CC drivers/rtc/nvmem.o AR drivers/net/wireless/ralink/built-in.o CC fs/nfs/pagelist.o AR drivers/net/wireless/rsi/built-in.o AR drivers/net/wireless/st/built-in.o CC drivers/rtc/rtc-dev.o CC drivers/rtc/rtc-proc.o CC net/sunrpc/svc.o AR drivers/net/wireless/ti/built-in.o AR drivers/net/wireless/zydas/built-in.o CC drivers/rtc/rtc-sysfs.o CC fs/nfs/read.o CC drivers/rtc/rtc-sh.o CC fs/nfs/symlink.o CC drivers/net/phy/phy_device.o AR drivers/net/wireless/built-in.o CC drivers/tty/tty_ioctl.o CC drivers/mtd/cmdlinepart.o CC drivers/net/phy/mdio_bus.o CC net/sunrpc/svcsock.o CC drivers/mtd/chips/chipreg.o CC drivers/mtd/chips/cfi_probe.o AR drivers/mtd/devices/built-in.o CC fs/nfs/unlink.o AR drivers/sh/intc/built-in.o AR drivers/mtd/lpddr/built-in.o AR drivers/sh/built-in.o CC drivers/net/phy/mdio_device.o CC drivers/mtd/maps/physmap.o AR drivers/mtd/nand/built-in.o CC drivers/net/phy/smsc.o AR drivers/mtd/onenand/built-in.o CC net/sunrpc/svcauth.o AR drivers/hid/hid-logitech.o CC net/sunrpc/svcauth_unix.o CC drivers/tty/tty_ldisc.o AR drivers/mtd/parsers/built-in.o CC drivers/mtd/chips/cfi_util.o CC fs/lockd/procfs.o AR drivers/mtd/tests/built-in.o CC drivers/mtd/mtd_blkdevs.o CC net/sunrpc/addr.o CC drivers/mtd/mtdblock.o CC drivers/mtd/chips/cfi_cmdset_0001.o CC net/sunrpc/rpcb_clnt.o CC drivers/mtd/chips/gen_probe.o CC net/sunrpc/timer.o CC net/sunrpc/xdr.o CC net/sunrpc/sunrpc_syms.o CC net/sunrpc/cache.o AR drivers/rtc/rtc-core.o CC net/sunrpc/rpc_pipe.o CC drivers/tty/tty_buffer.o AR drivers/rtc/built-in.o CC net/sunrpc/svc_xprt.o CC drivers/tty/tty_port.o CC drivers/tty/tty_mutex.o AR drivers/mtd/maps/built-in.o CC fs/nfs/write.o CC drivers/tty/tty_ldsem.o CC drivers/tty/tty_baudrate.o AR net/ipv4/built-in.o CC fs/nfs/namespace.o CC net/sunrpc/xprtmultipath.o CC net/sunrpc/stats.o CC net/sunrpc/sysctl.o CC fs/nfs/mount_clnt.o CC fs/nfs/nfstrace.o CC fs/nfs/export.o AR drivers/mtd/mtd.o CC drivers/tty/tty_jobctrl.o CC fs/nfs/sysctl.o AR drivers/net/ethernet/smsc/built-in.o AR fs/lockd/lockd.o CC fs/nfs/nfs2super.o AR fs/lockd/built-in.o AR drivers/net/ethernet/built-in.o CC drivers/tty/n_null.o CC fs/nfs/proc.o CC drivers/tty/pty.o CC drivers/tty/tty_audit.o CC fs/nfs/nfs2xdr.o AR fs/proc/proc.o AR drivers/tty/ipwireless/built-in.o AR fs/proc/built-in.o CC fs/nfs/nfs3super.o CC fs/nfs/nfs3client.o CC fs/nfs/nfs3proc.o CC fs/nfs/nfs3xdr.o CC drivers/tty/serial/serial_core.o CC drivers/tty/vt/vt_ioctl.o CC drivers/tty/vt/vc_screen.o CC drivers/tty/serial/sh-sci.o CC drivers/tty/vt/selection.o CC drivers/tty/vt/keyboard.o CC drivers/tty/vt/consolemap.o CC drivers/tty/vt/vt.o CONMK drivers/tty/vt/consolemap_deftbl.c SHIPPED drivers/tty/vt/defkeymap.c CC drivers/tty/vt/defkeymap.o CC drivers/tty/vt/consolemap_deftbl.o AR drivers/hid/hid.o AR drivers/hid/built-in.o AR drivers/net/phy/libphy.o AR drivers/net/phy/built-in.o AR drivers/net/built-in.o AR fs/nfs/nfsv2.o AR drivers/mtd/chips/built-in.o AR drivers/mtd/built-in.o AR net/sunrpc/sunrpc.o AR net/sunrpc/built-in.o AR net/built-in.o AR fs/nfs/nfsv3.o AR fs/nfs/nfs.o AR fs/nfs/built-in.o AR fs/built-in.o AR drivers/tty/serial/built-in.o AR drivers/tty/vt/built-in.o AR drivers/tty/built-in.o AR drivers/built-in.o GEN .version CHK include/generated/compile.h AR built-in.o LD vmlinux.o MODPOST vmlinux.o KSYM .tmp_kallsyms1.o KSYM .tmp_kallsyms2.o LD vmlinux SYSMAP System.map Building modules, stage 2. AS arch/sh/boot/compressed/head_32.o CC arch/sh/boot/compressed/misc.o MODPOST 5 modules CC arch/sh/boot/compressed/cache.o SHIPPED arch/sh/boot/compressed/ashldi3.c SHIPPED arch/sh/boot/compressed/ashrsi3.S SHIPPED arch/sh/boot/compressed/lshrsi3.S SHIPPED arch/sh/boot/compressed/ashlsi3.S SHIPPED arch/sh/boot/compressed/ashiftrt.S OBJCOPY arch/sh/boot/compressed/vmlinux.bin AS arch/sh/boot/compressed/ashiftrt.o AS arch/sh/boot/compressed/ashrsi3.o CC arch/sh/boot/compressed/ashldi3.o AS arch/sh/boot/compressed/ashlsi3.o AS arch/sh/boot/compressed/lshrsi3.o CC crypto/drbg.mod.o CC crypto/echainiv.mod.o CC crypto/jitterentropy_rng.mod.o CC crypto/hmac.mod.o CC crypto/sha256_generic.mod.o GZIP arch/sh/boot/compressed/vmlinux.bin.gz LD [M] crypto/drbg.ko LD [M] crypto/echainiv.ko LD [M] crypto/jitterentropy_rng.ko LD [M] crypto/hmac.ko LD [M] crypto/sha256_generic.ko LD arch/sh/boot/compressed/piggy.o LD arch/sh/boot/compressed/vmlinux OBJCOPY arch/sh/boot/zImage Kernel: arch/sh/boot/zImage is ready make[1]: Leaving directory '/home/kisskb/slave/build/linus_polaris_defconfig_sh4' Completed OK # rm -rf /home/kisskb/slave/build/linus_polaris_defconfig_sh4 # Build took: 0:00:42.230283