# git rev-parse -q --verify 958f338e96f874a0d29442396d6adf9c1e17aa2d^{commit} 958f338e96f874a0d29442396d6adf9c1e17aa2d already have revision, skipping fetch # git checkout -q -f -B kisskb 958f338e96f874a0d29442396d6adf9c1e17aa2d # git clean -qxdf # < git log -1 # commit 958f338e96f874a0d29442396d6adf9c1e17aa2d # Merge: 781fca5 07d981a # Author: Linus Torvalds # Date: Tue Aug 14 09:46:06 2018 -0700 # # Merge branch 'l1tf-final' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip # # Merge L1 Terminal Fault fixes from Thomas Gleixner: # "L1TF, aka L1 Terminal Fault, is yet another speculative hardware # engineering trainwreck. It's a hardware vulnerability which allows # unprivileged speculative access to data which is available in the # Level 1 Data Cache when the page table entry controlling the virtual # address, which is used for the access, has the Present bit cleared or # other reserved bits set. # # If an instruction accesses a virtual address for which the relevant # page table entry (PTE) has the Present bit cleared or other reserved # bits set, then speculative execution ignores the invalid PTE and loads # the referenced data if it is present in the Level 1 Data Cache, as if # the page referenced by the address bits in the PTE was still present # and accessible. # # While this is a purely speculative mechanism and the instruction will # raise a page fault when it is retired eventually, the pure act of # loading the data and making it available to other speculative # instructions opens up the opportunity for side channel attacks to # unprivileged malicious code, similar to the Meltdown attack. # # While Meltdown breaks the user space to kernel space protection, L1TF # allows to attack any physical memory address in the system and the # attack works across all protection domains. It allows an attack of SGX # and also works from inside virtual machines because the speculation # bypasses the extended page table (EPT) protection mechanism. # # The assoicated CVEs are: CVE-2018-3615, CVE-2018-3620, CVE-2018-3646 # # The mitigations provided by this pull request include: # # - Host side protection by inverting the upper address bits of a non # present page table entry so the entry points to uncacheable memory. # # - Hypervisor protection by flushing L1 Data Cache on VMENTER. # # - SMT (HyperThreading) control knobs, which allow to 'turn off' SMT # by offlining the sibling CPU threads. The knobs are available on # the kernel command line and at runtime via sysfs # # - Control knobs for the hypervisor mitigation, related to L1D flush # and SMT control. The knobs are available on the kernel command line # and at runtime via sysfs # # - Extensive documentation about L1TF including various degrees of # mitigations. # # Thanks to all people who have contributed to this in various ways - # patches, review, testing, backporting - and the fruitful, sometimes # heated, but at the end constructive discussions. # # There is work in progress to provide other forms of mitigations, which # might be less horrible performance wise for a particular kind of # workloads, but this is not yet ready for consumption due to their # complexity and limitations" # # * 'l1tf-final' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (75 commits) # x86/microcode: Allow late microcode loading with SMT disabled # tools headers: Synchronise x86 cpufeatures.h for L1TF additions # x86/mm/kmmio: Make the tracer robust against L1TF # x86/mm/pat: Make set_memory_np() L1TF safe # x86/speculation/l1tf: Make pmd/pud_mknotpresent() invert # x86/speculation/l1tf: Invert all not present mappings # cpu/hotplug: Fix SMT supported evaluation # KVM: VMX: Tell the nested hypervisor to skip L1D flush on vmentry # x86/speculation: Use ARCH_CAPABILITIES to skip L1D flush on vmentry # x86/speculation: Simplify sysfs report of VMX L1TF vulnerability # Documentation/l1tf: Remove Yonah processors from not vulnerable list # x86/KVM/VMX: Don't set l1tf_flush_l1d from vmx_handle_external_intr() # x86/irq: Let interrupt handlers set kvm_cpu_l1tf_flush_l1d # x86: Don't include linux/irq.h from asm/hardirq.h # x86/KVM/VMX: Introduce per-host-cpu analogue of l1tf_flush_l1d # x86/irq: Demote irq_cpustat_t::__softirq_pending to u16 # x86/KVM/VMX: Move the l1tf_flush_l1d test to vmx_l1d_flush() # x86/KVM/VMX: Replace 'vmx_l1d_flush_always' with 'vmx_l1d_flush_cond' # x86/KVM/VMX: Don't set l1tf_flush_l1d to true from vmx_l1d_flush() # cpu/hotplug: detect SMT disabled by BIOS # ... # < /opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < git log --format=%s --max-count=1 958f338e96f874a0d29442396d6adf9c1e17aa2d # < make -s -j 120 ARCH=sh O=/kisskb/build/linus_sh-allyesconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- allyesconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # make -s -j 120 ARCH=sh O=/kisskb/build/linus_sh-allyesconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 120 ARCH=sh O=/kisskb/build/linus_sh-allyesconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :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] :1332:2: warning: #warning syscall io_pgetevents not implemented [-Wcpp] :1335:2: warning: #warning syscall rseq not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:89: Warning: overflow in branch to __restore_all; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:208: Warning: overflow in branch to syscall_call; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:356: Warning: overflow in branch to syscall_trace_entry; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:358: Warning: overflow in branch to syscall_trace_entry; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:389: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:392: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/clock.c: In function 'clk_init': /kisskb/src/arch/sh/kernel/cpu/clock.c:25:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/arch/sh/kernel/cpu/clock-cpg.c: In function 'cpg_clk_init': /kisskb/src/arch/sh/kernel/cpu/clock-cpg.c:53:3: warning: 'arch_init_clk_ops' is deprecated (declared at /kisskb/src/arch/sh/include/asm/clock.h:8) [-Wdeprecated-declarations] /kisskb/src/arch/sh/kernel/cpu/clock-cpg.c: In function 'arch_clk_init': /kisskb/src/arch/sh/kernel/cpu/clock-cpg.c:77:2: warning: 'cpg_clk_init' is deprecated (declared at /kisskb/src/arch/sh/kernel/cpu/clock-cpg.c:47) [-Wdeprecated-declarations] In file included from /kisskb/src/arch/sh/math-emu/math.c:23:0: /kisskb/src/include/math-emu/single.h:50:21: warning: "__BIG_ENDIAN" is not defined [-Wundef] In file included from /kisskb/src/arch/sh/math-emu/math.c:24:0: /kisskb/src/include/math-emu/double.h:59:21: warning: "__BIG_ENDIAN" is not defined [-Wundef] /kisskb/src/arch/sh/math-emu/math.c:54:0: warning: "WRITE" redefined [enabled by default] /kisskb/src/include/linux/kernel.h:66:0: note: this is the location of the previous definition /kisskb/src/arch/sh/math-emu/math.c:55:0: warning: "READ" redefined [enabled by default] /kisskb/src/include/linux/kernel.h:65:0: note: this is the location of the previous definition /kisskb/src/arch/sh/math-emu/math.c: In function 'fcmp_gt': /kisskb/src/arch/sh/math-emu/math.c:81:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:81:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c: In function 'fcmp_eq': /kisskb/src/arch/sh/math-emu/math.c:92:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:92:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c: In function 'fadd': /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: left shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c: In function 'fsub': /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: left shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c: In function 'fmul': /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: left shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: left shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c: In function 'fdiv': /kisskb/src/arch/sh/math-emu/math.c:129:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:129:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:129:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:129:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:129:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c: In function 'fmac': /kisskb/src/arch/sh/math-emu/math.c:145:2: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:145:2: warning: left shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:147:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:147:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:147:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c: In function 'ffloat': /kisskb/src/arch/sh/math-emu/math.c:294:3: warning: right shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:294:3: warning: right shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:294:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:294:3: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:294:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:294:3: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:294:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:296:3: warning: right shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:296:3: warning: right shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:296:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:296:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:296:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c: In function 'ftrc': /kisskb/src/arch/sh/math-emu/math.c:310:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:310:1: warning: left shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:310:1: warning: left shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:310:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:310:1: warning: left shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c: In function 'fcnvsd': /kisskb/src/arch/sh/math-emu/math.c:323:2: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:324:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:324:2: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:324:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:324:2: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:324:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c: In function 'fcnvds': /kisskb/src/arch/sh/math-emu/math.c:333:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:334:2: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:334:2: warning: left shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:334:2: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:335:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:335:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:335:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c: At top level: /kisskb/src/arch/sh/math-emu/math.c:505:12: warning: 'ieee_fpe_handler' defined but not used [-Wunused-function] /kisskb/src/kernel/cpu.c: In function 'boot_cpu_hotplug_init': /kisskb/src/kernel/cpu.c:2275:2: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' /kisskb/src/kernel/cpu.c:2275:2: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' /kisskb/src/kernel/cpu.c:2275:1: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' /kisskb/src/kernel/cpu.c:2275:1: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' /kisskb/src/kernel/cpu.c:2275:1: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' /kisskb/src/kernel/cpu.c:2275:1: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' /kisskb/src/kernel/cpu.c:2275:1: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' /kisskb/src/kernel/cpu.c:2275:1: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' /kisskb/src/kernel/cpu.c:2275:1: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' /kisskb/src/kernel/cpu.c:2275:1: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' /kisskb/src/kernel/cpu.c:2275:1: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' /kisskb/src/kernel/cpu.c:2275:1: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' /kisskb/src/kernel/cpu.c:2275:1: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' /kisskb/src/kernel/cpu.c:2275:1: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' /kisskb/src/scripts/Makefile.build:317: recipe for target 'kernel/cpu.o' failed make[2]: *** [kernel/cpu.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/afs/dynroot.c: In function 'afs_lookup_atcell': /kisskb/src/fs/afs/dynroot.c:126:6: warning: 'len' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/nobootmem.c: In function '__alloc_memory_core_early': /kisskb/src/mm/nobootmem.c:65:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2497:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1819:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/hda/hdac_regmap.c: In function 'hda_reg_write': /kisskb/src/sound/hda/hdac_regmap.c:282:16: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/cgroup/cgroup-v1.c: In function 'cgroup1_mount': /kisskb/src/kernel/cgroup/cgroup-v1.c:1256:20: warning: 'root' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/drivers/serial-u16550.c: In function 'snd_serial_probe': /kisskb/src/sound/drivers/serial-u16550.c:959:6: warning: 'uart' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/Makefile:1029: recipe for target 'kernel' failed make[1]: *** [kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/fs/f2fs/file.c: In function 'f2fs_precache_extents': /kisskb/src/fs/f2fs/file.c:2823:6: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/bridge/br_netlink.c: In function 'br_process_vlan_info': /kisskb/src/net/bridge/br_netlink.c:579:10: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/arizona.c: In function 'arizona_hw_params': /kisskb/src/sound/soc/codecs/arizona.c:1893:3: warning: 'aif_rx_state' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/arizona.c:1890:3: warning: 'aif_tx_state' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:339:21: note: 'pdeo' was declared here /kisskb/src/fs/btrfs/ref-verify.c: In function 'process_extent_item': /kisskb/src/fs/btrfs/ref-verify.c:503:2: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/btrfs/ref-verify.c: In function 'process_leaf': /kisskb/src/fs/btrfs/ref-verify.c:555:2: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/clk/sunxi-ng/ccu_mux.c: In function 'ccu_mux_helper_determine_rate': /kisskb/src/drivers/clk/sunxi-ng/ccu_mux.c:153:22: warning: 'best_parent' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/dma-buf/reservation.c: In function 'reservation_object_add_shared_replace': /kisskb/src/drivers/dma-buf/reservation.c:155:1: warning: 'k' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/vmcore.c:228:12: warning: 'vmcoredd_mmap_dumps' defined but not used [-Wunused-function] /kisskb/src/sound/soc/codecs/da7219-aad.c: In function 'da7219_aad_hptest_work': /kisskb/src/sound/soc/codecs/da7219-aad.c:318:17: warning: 'pll_ctrl' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/ocfs2/file.c: In function 'ocfs2_file_write_iter': /kisskb/src/fs/ocfs2/file.c:2386:3: warning: value computed is not used [-Wunused-value] /kisskb/src/fs/nfsd/nfs4xdr.c: In function 'nfsd4_encode_components_esc': /kisskb/src/fs/nfsd/nfs4xdr.c:2046:9: warning: 'str' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/ncsi/ncsi-manage.c: In function 'set_one_vid': /kisskb/src/net/ncsi/ncsi-manage.c:625:19: warning: 'vid' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/rt5665.c: In function 'rt5665_i2s_pin_event': /kisskb/src/sound/soc/codecs/rt5665.c:2666:33: warning: 'val2' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/rt5665.c:2663:33: warning: 'val1' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/input/joystick/analog.c:176:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] /kisskb/src/drivers/net/arcnet/arc-rimi.c: In function 'arc_rimi_exit': /kisskb/src/drivers/net/arcnet/arc-rimi.c:346:23: warning: unused variable 'lp' [-Wunused-variable] /kisskb/src/drivers/net/can/cc770/cc770_platform.c: In function 'cc770_platform_remove': /kisskb/src/drivers/net/can/cc770/cc770_platform.c:244:21: warning: unused variable 'priv' [-Wunused-variable] /kisskb/src/net/mac80211/mlme.c: In function 'ieee80211_handle_pwr_constr': /kisskb/src/net/mac80211/mlme.c:1353:3: warning: 'pwr_level_cisco' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/8390/ax88796.c: In function 'ax_remove': /kisskb/src/drivers/net/ethernet/8390/ax88796.c:813:20: warning: unused variable 'ei_local' [-Wunused-variable] /kisskb/src/drivers/mfd/htc-pasic3.c: In function 'pasic3_remove': /kisskb/src/drivers/mfd/htc-pasic3.c:189:22: warning: unused variable 'asic' [-Wunused-variable] /kisskb/src/net/mac80211/mesh_pathtbl.c: In function 'mesh_path_add': /kisskb/src/net/mac80211/mesh_pathtbl.c:417:28: warning: 'new_mpath' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/hwmon/w83627ehf.c: In function 'sensors_w83627ehf_init': /kisskb/src/drivers/hwmon/w83627ehf.c:2835:30: warning: 'address' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/mtd/maps/solutionengine.c: In function 'init_soleng_maps': /kisskb/src/drivers/mtd/maps/solutionengine.c:64:9: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'resource_size_t' [-Wformat] /kisskb/src/drivers/mtd/maps/solutionengine.c:64:9: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'resource_size_t' [-Wformat] /kisskb/src/drivers/net/ethernet/fujitsu/fmvj18x_cs.c: In function 'fjn_start_xmit': /kisskb/src/drivers/net/ethernet/fujitsu/fmvj18x_cs.c:818:17: warning: unused variable 'buf' [-Wunused-variable] /kisskb/src/drivers/net/wireless/cisco/airo.c: In function 'airo_read_stats': /kisskb/src/drivers/net/wireless/cisco/airo.c:2250:48: warning: '*((void *)&stats_rid+180)' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c:2250:48: warning: '*((void *)&stats_rid+176)' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c:2250:72: warning: '*((void *)&stats_rid+184)' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c:2252:48: warning: '*((void *)&stats_rid+160)' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c:2252:48: warning: '*((void *)&stats_rid+164)' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c:2252:72: warning: '*((void *)&stats_rid+168)' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c:2254:22: warning: '*((void *)&stats_rid+372)' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c:2255:22: warning: '*((void *)&stats_rid+368)' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c:2256:46: warning: '*((void *)&stats_rid+4)' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c:2256:46: warning: '*((void *)&stats_rid+12)' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c:2256:69: warning: '*((void *)&stats_rid+16)' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c:2257:31: warning: '*((void *)&stats_rid+20)' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c:2258:47: warning: '*((void *)&stats_rid+172)' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c:2261:24: warning: '*((void *)&stats_rid+360)' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c: In function 'airo_get_freq': /kisskb/src/drivers/net/wireless/cisco/airo.c:5828:5: warning: 'status_rid.channel' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c: In function 'airo_read_wireless_stats': /kisskb/src/drivers/net/wireless/cisco/airo.c:7709:23: warning: 'status_rid.mode' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c:7714:20: warning: 'status_rid.sigQuality' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c:7717:27: warning: 'status_rid.normalizedSignalStrength' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c:5738:6: warning: 'status_rid.signalQuality' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c:7692:12: note: 'status_rid.signalQuality' was declared here /kisskb/src/drivers/net/wireless/cisco/airo.c:7724:5: warning: 'status_rid.len' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c:7725:28: warning: 'status_rid.noisedBm' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c: In function '_init_airo_card.constprop.32': /kisskb/src/drivers/net/wireless/cisco/airo.c:2865:37: warning: 'cap_rid.softCap' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c:2868:2: warning: 'cap_rid.softVer' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c:2868:2: warning: 'cap_rid.softSubVer' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/cisco/airo.c: In function 'get_wep_tx_idx': /kisskb/src/drivers/net/wireless/cisco/airo.c:5188:6: warning: 'wkr.kindex' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1835:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1545:34: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1745:46: note: 'linear' was declared here /kisskb/src/drivers/net/ethernet/freescale/fsl_pq_mdio.c: In function 'fsl_pq_mdio_remove': /kisskb/src/drivers/net/ethernet/freescale/fsl_pq_mdio.c:523:27: warning: unused variable 'priv' [-Wunused-variable] /kisskb/src/drivers/net/wireless/broadcom/b43/phy_n.c: In function 'b43_nphy_rf_ctl_override_rev7': /kisskb/src/drivers/net/wireless/broadcom/b43/phy_n.c:202:21: warning: 'val_addr' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/smsc/smc91c92_cs.c: In function 'smc91c92_release': /kisskb/src/drivers/net/ethernet/smsc/smc91c92_cs.c:958:23: warning: unused variable 'smc' [-Wunused-variable] /kisskb/src/drivers/net/ethernet/smsc/smc911x.c: In function 'smc911x_drv_remove': /kisskb/src/drivers/net/ethernet/smsc/smc911x.c:2136:24: warning: unused variable 'lp' [-Wunused-variable] /kisskb/src/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c: In function 'rtl8723a_phy_lc_calibrate': /kisskb/src/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:3481:23: warning: 'rf_amode' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/thermal/broadcom/ns-thermal.c: In function 'ns_thermal_remove': /kisskb/src/drivers/thermal/broadcom/ns-thermal.c:81:21: warning: unused variable 'ns_thermal' [-Wunused-variable] /kisskb/src/drivers/media/usb/dvb-usb/pctv452e.c: In function 'pctv452e_frontend_attach': /kisskb/src/drivers/media/usb/dvb-usb/pctv452e.c:922:2: warning: value computed is not used [-Wunused-value] /kisskb/src/drivers/staging/iio/adc/ad7606_par.c: In function 'ad7606_par16_read_block': /kisskb/src/drivers/staging/iio/adc/ad7606_par.c:22:23: warning: unused variable 'st' [-Wunused-variable] /kisskb/src/drivers/staging/iio/adc/ad7606_par.c: In function 'ad7606_par8_read_block': /kisskb/src/drivers/staging/iio/adc/ad7606_par.c:37:23: warning: unused variable 'st' [-Wunused-variable] Makefile:146: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -s -j 120 ARCH=sh O=/kisskb/build/linus_sh-allyesconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_sh-allyesconfig_sh4 # Build took: 0:02:25.065614