Buildresult: linus/nds32-allmodconfig/nds32le-gcc8 built on Aug 15 2018, 04:19
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Aug 15 2018, 04:19
Duration:
0:07:22.601360
Builder:
ka1
Revision:
Merge branch 'l1tf-final' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (
958f338e96f874a0d29442396d6adf9c1e17aa2d)
Target:
linus/nds32-allmodconfig/nds32le-gcc8
Branch:
linus
Compiler:
nds32le-gcc8
(nds32le-linux-gcc (GCC) 8.1.0)
Config:
allmodconfig
(
download
)
Log:
Download original
Possible errors
kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' make[2]: *** [kernel/cpu.o] Error 1 make[1]: *** [kernel] Error 2 make: *** [sub-make] Error 2
Possible warnings (80)
<stdin>:1335:2: warning: #warning syscall rseq not implemented [-Wcpp] fs/configfs/symlink.c:67:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] drivers/auxdisplay/panel.c:1505:2: warning: 'strncpy' output may be truncated copying 8 bytes from a string of length 8 [-Wstringop-truncation] drivers/auxdisplay/panel.c:1506:2: warning: 'strncpy' output may be truncated copying 8 bytes from a string of length 8 [-Wstringop-truncation] drivers/auxdisplay/panel.c:1507:2: warning: 'strncpy' output may be truncated copying 8 bytes from a string of length 8 [-Wstringop-truncation] fs/cifs/cifsencrypt.c:312:3: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] security/selinux/hooks.c:6718:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] include/trace/events/wbt.h:36:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/wbt.h:70:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/wbt.h:106:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/wbt.h:141:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] fs/ceph/mds_client.c:3647:2: warning: 'strncpy' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] crypto/blkcipher.c:513:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] crypto/ablkcipher.c:374:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] crypto/ablkcipher.c:448:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] fs/f2fs/namei.c:257:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] fs/f2fs/namei.c:249:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] net/bluetooth/hidp/core.c:778:2: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] fs/kernfs/symlink.c:91:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] fs/hfsplus/xattr.c:416:3: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] fs/ext4/super.c:344:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] fs/ext4/super.c:349:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] lib/kobject.c:128:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] lib/test_hexdump.c:98:3: warning: 'strncpy' output truncated copying between 0 and 32 bytes from a string of length 32 [-Wstringop-truncation] lib/test_hexdump.c:84:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] drivers/devfreq/devfreq.c:593:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:223:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:277:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:299:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:324:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:375:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:69:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:99:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:179:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:586:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] include/trace/events/writeback.h:660:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] net/netfilter/ipset/ip_set_core.c:1170:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] drivers/gpu/drm/bridge/cdns-dsi.c:1353:12: warning: 'cdns_dsi_suspend' defined but not used [-Wunused-function] drivers/gpu/drm/bridge/cdns-dsi.c:1340:12: warning: 'cdns_dsi_resume' defined but not used [-Wunused-function] drivers/input/joystick/analog.c:176:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] #warning Precise timer not defined for this architecture. drivers/gpu/drm/panel/panel-arm-versatile.c:267:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] drivers/isdn/capi/capidrv.c:2016:3: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 49 [-Wstringop-truncation] drivers/isdn/capi/capidrv.c:1827:3: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 49 [-Wstringop-truncation] drivers/isdn/capi/capidrv.c:2302:2: warning: 'strncpy' output may be truncated copying 19 bytes from a string of length 19 [-Wstringop-truncation] net/tipc/bearer.c:141:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] net/tipc/topsrv.c:660:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] drivers/misc/c2port/core.c:929:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] drivers/isdn/i4l/isdn_tty.c:790:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] drivers/isdn/i4l/isdn_net.c:2997:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] drivers/isdn/i4l/isdn_tty.c:880:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] drivers/isdn/i4l/isdn_tty.c:2054:4: warning: 'strncpy' output may be truncated copying 5 bytes from a string of length 49 [-Wstringop-truncation] drivers/net/hamradio/hdlcdrv.c:614:4: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] drivers/nvme/host/core.c:2061:3: warning: 'strncpy' output may be truncated copying 223 bytes from a string of length 255 [-Wstringop-truncation] drivers/md/dm-log-userspace-base.c:226:2: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] drivers/rpmsg/qcom_glink_native.c:1454:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] drivers/rpmsg/qcom_glink_native.c:1404:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] drivers/power/supply/charger-manager.c:488:3: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 32 [-Wstringop-truncation] drivers/target/iscsi/iscsi_target_tpg.c:639:3: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] drivers/target/iscsi/iscsi_target_tpg.c:640:3: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] drivers/media/platform/omap3isp/isp.c:1008:13: warning: 'isp_resume_modules' defined but not used [-Wunused-function] drivers/media/platform/omap3isp/isp.c:974:12: warning: 'isp_suspend_modules' defined but not used [-Wunused-function] include/scsi/fc_encode.h:275:3: warning: 'strncpy' output may be truncated copying 64 bytes from a string of length 79 [-Wstringop-truncation] include/scsi/fc_encode.h:287:3: warning: 'strncpy' output may be truncated copying 64 bytes from a string of length 79 [-Wstringop-truncation] drivers/video/hdmi.c:174:2: warning: 'strncpy' specified bound 8 equals destination size [-Wstringop-truncation] drivers/video/hdmi.c:175:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] drivers/staging/fbtft/fbtft-core.c:774:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] drivers/video/fbdev/uvesafb.c:425:2: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] drivers/video/fbdev/uvesafb.c:1873:2: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] drivers/net/wireless/intersil/hostap/hostap_ioctl.c:3611:3: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] drivers/staging/ks7010/ks_wlan_net.c:385:2: warning: 'strncpy' output may be truncated copying 16 bytes from a string of length 32 [-Wstringop-truncation] drivers/net/wireless/realtek/rtl818x/rtl8187/leds.c:149:2: warning: 'strncpy' specified bound 22 equals destination size [-Wstringop-truncation] drivers/net/wireless/broadcom/b43/leds.c:134:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:4167:2: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:4167:2: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:1923:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] drivers/staging/rtl8712/rtl871x_ioctl_linux.c:1792:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] drivers/staging/speakup/kobjects.c:522:2: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] drivers/staging/speakup/kobjects.c:391:2: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c:916:2: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation]
Full Log
# 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 <torvalds@linux-foundation.org> # 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/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux-gcc --version # < git log --format=%s --max-count=1 958f338e96f874a0d29442396d6adf9c1e17aa2d # < make -s -j 48 ARCH=nds32 O=/kisskb/build/linus_nds32-allmodconfig_nds32le CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux- allmodconfig # make -s -j 48 ARCH=nds32 O=/kisskb/build/linus_nds32-allmodconfig_nds32le CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux- <stdin>:1335:2: warning: #warning syscall rseq not implemented [-Wcpp] In file included from /kisskb/src/include/asm-generic/percpu.h:7, from ./arch/nds32/include/generated/asm/percpu.h:1, from /kisskb/src/include/linux/percpu.h:13, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:34, from /kisskb/src/include/linux/proc_fs.h:9, from /kisskb/src/kernel/cpu.c:6: /kisskb/src/kernel/cpu.c: In function 'boot_cpu_hotplug_init': /kisskb/src/kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' this_cpu_write(cpuhp_state.booted_once, true); ^ /kisskb/src/include/linux/percpu-defs.h:221:47: note: in definition of macro '__verify_pcpu_ptr' const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ ^~~ /kisskb/src/include/linux/percpu-defs.h:510:34: note: in expansion of macro '__pcpu_size_call' #define this_cpu_write(pcp, val) __pcpu_size_call(this_cpu_write_, pcp, val) ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:2: note: in expansion of macro 'this_cpu_write' this_cpu_write(cpuhp_state.booted_once, true); ^~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' this_cpu_write(cpuhp_state.booted_once, true); ^ /kisskb/src/include/linux/percpu-defs.h:378:16: note: in definition of macro '__pcpu_size_call' switch(sizeof(variable)) { \ ^~~~~~~~ /kisskb/src/kernel/cpu.c:2275:2: note: in expansion of macro 'this_cpu_write' this_cpu_write(cpuhp_state.booted_once, true); ^~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' this_cpu_write(cpuhp_state.booted_once, true); ^ /kisskb/src/include/linux/percpu-defs.h:221:47: note: in definition of macro '__verify_pcpu_ptr' const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ ^~~ /kisskb/src/include/linux/percpu-defs.h:265:47: note: in expansion of macro 'VERIFY_PERCPU_PTR' #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); VERIFY_PERCPU_PTR(ptr); }) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:266:26: note: in expansion of macro 'per_cpu_ptr' #define raw_cpu_ptr(ptr) per_cpu_ptr(ptr, 0) ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:76:3: note: in expansion of macro 'raw_cpu_ptr' *raw_cpu_ptr(&(pcp)) op val; \ ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:152:2: note: in expansion of macro 'raw_cpu_generic_to_op' raw_cpu_generic_to_op(pcp, val, op); \ ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:337:36: note: in expansion of macro 'this_cpu_generic_to_op' #define this_cpu_write_1(pcp, val) this_cpu_generic_to_op(pcp, val, =) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_write_1' case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /kisskb/src/include/linux/percpu-defs.h:510:34: note: in expansion of macro '__pcpu_size_call' #define this_cpu_write(pcp, val) __pcpu_size_call(this_cpu_write_, pcp, val) ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:2: note: in expansion of macro 'this_cpu_write' this_cpu_write(cpuhp_state.booted_once, true); ^~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' this_cpu_write(cpuhp_state.booted_once, true); ^ /kisskb/src/include/linux/percpu-defs.h:262:12: note: in definition of macro 'VERIFY_PERCPU_PTR' (typeof(*(__p)) __kernel __force *)(__p); \ ^~~ /kisskb/src/include/linux/percpu-defs.h:266:26: note: in expansion of macro 'per_cpu_ptr' #define raw_cpu_ptr(ptr) per_cpu_ptr(ptr, 0) ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:76:3: note: in expansion of macro 'raw_cpu_ptr' *raw_cpu_ptr(&(pcp)) op val; \ ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:152:2: note: in expansion of macro 'raw_cpu_generic_to_op' raw_cpu_generic_to_op(pcp, val, op); \ ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:337:36: note: in expansion of macro 'this_cpu_generic_to_op' #define this_cpu_write_1(pcp, val) this_cpu_generic_to_op(pcp, val, =) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_write_1' case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /kisskb/src/include/linux/percpu-defs.h:510:34: note: in expansion of macro '__pcpu_size_call' #define this_cpu_write(pcp, val) __pcpu_size_call(this_cpu_write_, pcp, val) ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:2: note: in expansion of macro 'this_cpu_write' this_cpu_write(cpuhp_state.booted_once, true); ^~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' this_cpu_write(cpuhp_state.booted_once, true); ^ /kisskb/src/include/linux/percpu-defs.h:262:38: note: in definition of macro 'VERIFY_PERCPU_PTR' (typeof(*(__p)) __kernel __force *)(__p); \ ^~~ /kisskb/src/include/linux/percpu-defs.h:266:26: note: in expansion of macro 'per_cpu_ptr' #define raw_cpu_ptr(ptr) per_cpu_ptr(ptr, 0) ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:76:3: note: in expansion of macro 'raw_cpu_ptr' *raw_cpu_ptr(&(pcp)) op val; \ ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:152:2: note: in expansion of macro 'raw_cpu_generic_to_op' raw_cpu_generic_to_op(pcp, val, op); \ ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:337:36: note: in expansion of macro 'this_cpu_generic_to_op' #define this_cpu_write_1(pcp, val) this_cpu_generic_to_op(pcp, val, =) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:379:11: note: in expansion of macro 'this_cpu_write_1' case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ /kisskb/src/include/linux/percpu-defs.h:510:34: note: in expansion of macro '__pcpu_size_call' #define this_cpu_write(pcp, val) __pcpu_size_call(this_cpu_write_, pcp, val) ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:2: note: in expansion of macro 'this_cpu_write' this_cpu_write(cpuhp_state.booted_once, true); ^~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' this_cpu_write(cpuhp_state.booted_once, true); ^ /kisskb/src/include/linux/percpu-defs.h:221:47: note: in definition of macro '__verify_pcpu_ptr' const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ ^~~ /kisskb/src/include/linux/percpu-defs.h:265:47: note: in expansion of macro 'VERIFY_PERCPU_PTR' #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); VERIFY_PERCPU_PTR(ptr); }) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:266:26: note: in expansion of macro 'per_cpu_ptr' #define raw_cpu_ptr(ptr) per_cpu_ptr(ptr, 0) ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:76:3: note: in expansion of macro 'raw_cpu_ptr' *raw_cpu_ptr(&(pcp)) op val; \ ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:152:2: note: in expansion of macro 'raw_cpu_generic_to_op' raw_cpu_generic_to_op(pcp, val, op); \ ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:340:36: note: in expansion of macro 'this_cpu_generic_to_op' #define this_cpu_write_2(pcp, val) this_cpu_generic_to_op(pcp, val, =) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_write_2' case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /kisskb/src/include/linux/percpu-defs.h:510:34: note: in expansion of macro '__pcpu_size_call' #define this_cpu_write(pcp, val) __pcpu_size_call(this_cpu_write_, pcp, val) ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:2: note: in expansion of macro 'this_cpu_write' this_cpu_write(cpuhp_state.booted_once, true); ^~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' this_cpu_write(cpuhp_state.booted_once, true); ^ /kisskb/src/include/linux/percpu-defs.h:262:12: note: in definition of macro 'VERIFY_PERCPU_PTR' (typeof(*(__p)) __kernel __force *)(__p); \ ^~~ /kisskb/src/include/linux/percpu-defs.h:266:26: note: in expansion of macro 'per_cpu_ptr' #define raw_cpu_ptr(ptr) per_cpu_ptr(ptr, 0) ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:76:3: note: in expansion of macro 'raw_cpu_ptr' *raw_cpu_ptr(&(pcp)) op val; \ ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:152:2: note: in expansion of macro 'raw_cpu_generic_to_op' raw_cpu_generic_to_op(pcp, val, op); \ ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:340:36: note: in expansion of macro 'this_cpu_generic_to_op' #define this_cpu_write_2(pcp, val) this_cpu_generic_to_op(pcp, val, =) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_write_2' case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /kisskb/src/include/linux/percpu-defs.h:510:34: note: in expansion of macro '__pcpu_size_call' #define this_cpu_write(pcp, val) __pcpu_size_call(this_cpu_write_, pcp, val) ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:2: note: in expansion of macro 'this_cpu_write' this_cpu_write(cpuhp_state.booted_once, true); ^~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' this_cpu_write(cpuhp_state.booted_once, true); ^ /kisskb/src/include/linux/percpu-defs.h:262:38: note: in definition of macro 'VERIFY_PERCPU_PTR' (typeof(*(__p)) __kernel __force *)(__p); \ ^~~ /kisskb/src/include/linux/percpu-defs.h:266:26: note: in expansion of macro 'per_cpu_ptr' #define raw_cpu_ptr(ptr) per_cpu_ptr(ptr, 0) ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:76:3: note: in expansion of macro 'raw_cpu_ptr' *raw_cpu_ptr(&(pcp)) op val; \ ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:152:2: note: in expansion of macro 'raw_cpu_generic_to_op' raw_cpu_generic_to_op(pcp, val, op); \ ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:340:36: note: in expansion of macro 'this_cpu_generic_to_op' #define this_cpu_write_2(pcp, val) this_cpu_generic_to_op(pcp, val, =) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:380:11: note: in expansion of macro 'this_cpu_write_2' case 2: stem##2(variable, __VA_ARGS__);break; \ ^~~~ /kisskb/src/include/linux/percpu-defs.h:510:34: note: in expansion of macro '__pcpu_size_call' #define this_cpu_write(pcp, val) __pcpu_size_call(this_cpu_write_, pcp, val) ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:2: note: in expansion of macro 'this_cpu_write' this_cpu_write(cpuhp_state.booted_once, true); ^~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' this_cpu_write(cpuhp_state.booted_once, true); ^ /kisskb/src/include/linux/percpu-defs.h:221:47: note: in definition of macro '__verify_pcpu_ptr' const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ ^~~ /kisskb/src/include/linux/percpu-defs.h:265:47: note: in expansion of macro 'VERIFY_PERCPU_PTR' #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); VERIFY_PERCPU_PTR(ptr); }) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:266:26: note: in expansion of macro 'per_cpu_ptr' #define raw_cpu_ptr(ptr) per_cpu_ptr(ptr, 0) ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:76:3: note: in expansion of macro 'raw_cpu_ptr' *raw_cpu_ptr(&(pcp)) op val; \ ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:152:2: note: in expansion of macro 'raw_cpu_generic_to_op' raw_cpu_generic_to_op(pcp, val, op); \ ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:343:36: note: in expansion of macro 'this_cpu_generic_to_op' #define this_cpu_write_4(pcp, val) this_cpu_generic_to_op(pcp, val, =) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_write_4' case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /kisskb/src/include/linux/percpu-defs.h:510:34: note: in expansion of macro '__pcpu_size_call' #define this_cpu_write(pcp, val) __pcpu_size_call(this_cpu_write_, pcp, val) ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:2: note: in expansion of macro 'this_cpu_write' this_cpu_write(cpuhp_state.booted_once, true); ^~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' this_cpu_write(cpuhp_state.booted_once, true); ^ /kisskb/src/include/linux/percpu-defs.h:262:12: note: in definition of macro 'VERIFY_PERCPU_PTR' (typeof(*(__p)) __kernel __force *)(__p); \ ^~~ /kisskb/src/include/linux/percpu-defs.h:266:26: note: in expansion of macro 'per_cpu_ptr' #define raw_cpu_ptr(ptr) per_cpu_ptr(ptr, 0) ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:76:3: note: in expansion of macro 'raw_cpu_ptr' *raw_cpu_ptr(&(pcp)) op val; \ ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:152:2: note: in expansion of macro 'raw_cpu_generic_to_op' raw_cpu_generic_to_op(pcp, val, op); \ ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:343:36: note: in expansion of macro 'this_cpu_generic_to_op' #define this_cpu_write_4(pcp, val) this_cpu_generic_to_op(pcp, val, =) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_write_4' case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /kisskb/src/include/linux/percpu-defs.h:510:34: note: in expansion of macro '__pcpu_size_call' #define this_cpu_write(pcp, val) __pcpu_size_call(this_cpu_write_, pcp, val) ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:2: note: in expansion of macro 'this_cpu_write' this_cpu_write(cpuhp_state.booted_once, true); ^~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' this_cpu_write(cpuhp_state.booted_once, true); ^ /kisskb/src/include/linux/percpu-defs.h:262:38: note: in definition of macro 'VERIFY_PERCPU_PTR' (typeof(*(__p)) __kernel __force *)(__p); \ ^~~ /kisskb/src/include/linux/percpu-defs.h:266:26: note: in expansion of macro 'per_cpu_ptr' #define raw_cpu_ptr(ptr) per_cpu_ptr(ptr, 0) ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:76:3: note: in expansion of macro 'raw_cpu_ptr' *raw_cpu_ptr(&(pcp)) op val; \ ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:152:2: note: in expansion of macro 'raw_cpu_generic_to_op' raw_cpu_generic_to_op(pcp, val, op); \ ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:343:36: note: in expansion of macro 'this_cpu_generic_to_op' #define this_cpu_write_4(pcp, val) this_cpu_generic_to_op(pcp, val, =) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:381:11: note: in expansion of macro 'this_cpu_write_4' case 4: stem##4(variable, __VA_ARGS__);break; \ ^~~~ /kisskb/src/include/linux/percpu-defs.h:510:34: note: in expansion of macro '__pcpu_size_call' #define this_cpu_write(pcp, val) __pcpu_size_call(this_cpu_write_, pcp, val) ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:2: note: in expansion of macro 'this_cpu_write' this_cpu_write(cpuhp_state.booted_once, true); ^~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' this_cpu_write(cpuhp_state.booted_once, true); ^ /kisskb/src/include/linux/percpu-defs.h:221:47: note: in definition of macro '__verify_pcpu_ptr' const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ ^~~ /kisskb/src/include/linux/percpu-defs.h:265:47: note: in expansion of macro 'VERIFY_PERCPU_PTR' #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); VERIFY_PERCPU_PTR(ptr); }) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:266:26: note: in expansion of macro 'per_cpu_ptr' #define raw_cpu_ptr(ptr) per_cpu_ptr(ptr, 0) ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:76:3: note: in expansion of macro 'raw_cpu_ptr' *raw_cpu_ptr(&(pcp)) op val; \ ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:152:2: note: in expansion of macro 'raw_cpu_generic_to_op' raw_cpu_generic_to_op(pcp, val, op); \ ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:346:36: note: in expansion of macro 'this_cpu_generic_to_op' #define this_cpu_write_8(pcp, val) this_cpu_generic_to_op(pcp, val, =) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_write_8' case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /kisskb/src/include/linux/percpu-defs.h:510:34: note: in expansion of macro '__pcpu_size_call' #define this_cpu_write(pcp, val) __pcpu_size_call(this_cpu_write_, pcp, val) ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:2: note: in expansion of macro 'this_cpu_write' this_cpu_write(cpuhp_state.booted_once, true); ^~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' this_cpu_write(cpuhp_state.booted_once, true); ^ /kisskb/src/include/linux/percpu-defs.h:262:12: note: in definition of macro 'VERIFY_PERCPU_PTR' (typeof(*(__p)) __kernel __force *)(__p); \ ^~~ /kisskb/src/include/linux/percpu-defs.h:266:26: note: in expansion of macro 'per_cpu_ptr' #define raw_cpu_ptr(ptr) per_cpu_ptr(ptr, 0) ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:76:3: note: in expansion of macro 'raw_cpu_ptr' *raw_cpu_ptr(&(pcp)) op val; \ ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:152:2: note: in expansion of macro 'raw_cpu_generic_to_op' raw_cpu_generic_to_op(pcp, val, op); \ ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:346:36: note: in expansion of macro 'this_cpu_generic_to_op' #define this_cpu_write_8(pcp, val) this_cpu_generic_to_op(pcp, val, =) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_write_8' case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /kisskb/src/include/linux/percpu-defs.h:510:34: note: in expansion of macro '__pcpu_size_call' #define this_cpu_write(pcp, val) __pcpu_size_call(this_cpu_write_, pcp, val) ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:2: note: in expansion of macro 'this_cpu_write' this_cpu_write(cpuhp_state.booted_once, true); ^~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:28: error: 'struct cpuhp_cpu_state' has no member named 'booted_once' this_cpu_write(cpuhp_state.booted_once, true); ^ /kisskb/src/include/linux/percpu-defs.h:262:38: note: in definition of macro 'VERIFY_PERCPU_PTR' (typeof(*(__p)) __kernel __force *)(__p); \ ^~~ /kisskb/src/include/linux/percpu-defs.h:266:26: note: in expansion of macro 'per_cpu_ptr' #define raw_cpu_ptr(ptr) per_cpu_ptr(ptr, 0) ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:76:3: note: in expansion of macro 'raw_cpu_ptr' *raw_cpu_ptr(&(pcp)) op val; \ ^~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:152:2: note: in expansion of macro 'raw_cpu_generic_to_op' raw_cpu_generic_to_op(pcp, val, op); \ ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/percpu.h:346:36: note: in expansion of macro 'this_cpu_generic_to_op' #define this_cpu_write_8(pcp, val) this_cpu_generic_to_op(pcp, val, =) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:382:11: note: in expansion of macro 'this_cpu_write_8' case 8: stem##8(variable, __VA_ARGS__);break; \ ^~~~ /kisskb/src/include/linux/percpu-defs.h:510:34: note: in expansion of macro '__pcpu_size_call' #define this_cpu_write(pcp, val) __pcpu_size_call(this_cpu_write_, pcp, val) ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/cpu.c:2275:2: note: in expansion of macro 'this_cpu_write' this_cpu_write(cpuhp_state.booted_once, true); ^~~~~~~~~~~~~~ /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.... In function 'fill_item_path', inlined from 'configfs_get_target_path' at /kisskb/src/fs/configfs/symlink.c:250:2, inlined from 'configfs_getlink' at /kisskb/src/fs/configfs/symlink.c:272:10, inlined from 'configfs_get_link' at /kisskb/src/fs/configfs/symlink.c:295:10: /kisskb/src/fs/configfs/symlink.c:67:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(buffer + length,config_item_name(p),cur); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/configfs/symlink.c: In function 'configfs_get_link': /kisskb/src/fs/configfs/symlink.c:63:13: note: length computed here int cur = strlen(config_item_name(p)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'panel_bind_key', inlined from 'keypad_init' at /kisskb/src/drivers/auxdisplay/panel.c:1560:3, inlined from 'panel_attach' at /kisskb/src/drivers/auxdisplay/panel.c:1614:3: /kisskb/src/drivers/auxdisplay/panel.c:1505:2: warning: 'strncpy' output may be truncated copying 8 bytes from a string of length 8 [-Wstringop-truncation] strncpy(key->u.kbd.press_str, press, sizeof(key->u.kbd.press_str)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/auxdisplay/panel.c:1506:2: warning: 'strncpy' output may be truncated copying 8 bytes from a string of length 8 [-Wstringop-truncation] strncpy(key->u.kbd.repeat_str, repeat, sizeof(key->u.kbd.repeat_str)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/auxdisplay/panel.c:1507:2: warning: 'strncpy' output may be truncated copying 8 bytes from a string of length 8 [-Wstringop-truncation] strncpy(key->u.kbd.release_str, release, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(key->u.kbd.release_str)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/cifs/cifsencrypt.c: In function 'calc_lanman_hash': /kisskb/src/fs/cifs/cifsencrypt.c:312:3: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(password_with_pad, password, CIFS_ENCPWD_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/security/selinux/hooks.c: In function 'selinux_ib_endport_manage_subnet': /kisskb/src/security/selinux/hooks.c:6718:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy(ibendport.dev_name, dev_name, sizeof(ibendport.dev_name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/trace/define_trace.h:96, from /kisskb/src/include/trace/events/wbt.h:154, from /kisskb/src/block/blk-wbt.c:30: /kisskb/src/include/trace/events/wbt.h: In function 'trace_event_raw_event_wbt_stat': /kisskb/src/include/trace/events/wbt.h:36:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/wbt.h:15:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(wbt_stat, ^~~~~~~~~~~ /kisskb/src/include/trace/events/wbt.h:35:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/wbt.h: In function 'trace_event_raw_event_wbt_lat': /kisskb/src/include/trace/events/wbt.h:70:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/wbt.h:58:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(wbt_lat, ^~~~~~~~~~~ /kisskb/src/include/trace/events/wbt.h:69:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/wbt.h: In function 'trace_event_raw_event_wbt_step': /kisskb/src/include/trace/events/wbt.h:106:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/wbt.h:87:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(wbt_step, ^~~~~~~~~~~ /kisskb/src/include/trace/events/wbt.h:105:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/wbt.h: In function 'trace_event_raw_event_wbt_timer': /kisskb/src/include/trace/events/wbt.h:141:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/wbt.h:126:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(wbt_timer, ^~~~~~~~~~~ /kisskb/src/include/trace/events/wbt.h:140:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/fs/ceph/mds_client.c: In function 'ceph_mdsc_init': /kisskb/src/fs/ceph/mds_client.c:3647:2: warning: 'strncpy' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] strncpy(mdsc->nodename, utsname()->nodename, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(mdsc->nodename) - 1); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/crypto/blkcipher.c: In function 'crypto_blkcipher_report': /kisskb/src/crypto/blkcipher.c:513:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy(rblkcipher.geniv, alg->cra_blkcipher.geniv ?: "<default>", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(rblkcipher.geniv)); ~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/crypto/ablkcipher.c: In function 'crypto_ablkcipher_report': /kisskb/src/crypto/ablkcipher.c:374:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy(rblkcipher.geniv, alg->cra_ablkcipher.geniv ?: "<default>", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(rblkcipher.geniv)); ~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/crypto/ablkcipher.c: In function 'crypto_givcipher_report': /kisskb/src/crypto/ablkcipher.c:448:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy(rblkcipher.geniv, alg->cra_ablkcipher.geniv ?: "<built-in>", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(rblkcipher.geniv)); ~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/f2fs/namei.c: In function 'f2fs_update_extension_list': /kisskb/src/fs/f2fs/namei.c:257:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(extlist[cold_count], name, strlen(name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/f2fs/namei.c:249:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(extlist[count], name, strlen(name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/Makefile:1029: recipe for target 'kernel' failed make[1]: *** [kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... In function 'hidp_setup_hid', inlined from 'hidp_session_dev_init' at /kisskb/src/net/bluetooth/hidp/core.c:815:9, inlined from 'hidp_session_new' at /kisskb/src/net/bluetooth/hidp/core.c:953:8, inlined from 'hidp_connection_add' at /kisskb/src/net/bluetooth/hidp/core.c:1366:8: /kisskb/src/net/bluetooth/hidp/core.c:778:2: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] strncpy(hid->name, req->name, sizeof(req->name) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'kernfs_get_target_path', inlined from 'kernfs_getlink' at /kisskb/src/fs/kernfs/symlink.c:109:10, inlined from 'kernfs_iop_get_link' at /kisskb/src/fs/kernfs/symlink.c:127:10: /kisskb/src/fs/kernfs/symlink.c:91:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(s + len, kn->name, slen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/kernfs/symlink.c: In function 'kernfs_iop_get_link': /kisskb/src/fs/kernfs/symlink.c:88:14: note: length computed here int slen = strlen(kn->name); ^~~~~~~~~~~~~~~~ /kisskb/src/fs/hfsplus/xattr.c: In function 'copy_name': /kisskb/src/fs/hfsplus/xattr.c:416:3: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] strncpy(buffer, XATTR_MAC_OSX_PREFIX, XATTR_MAC_OSX_PREFIX_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ext4/super.c: In function '__save_error_info': /kisskb/src/fs/ext4/super.c:344:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(es->s_last_error_func, func, sizeof(es->s_last_error_func)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ext4/super.c:349:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(es->s_first_error_func, func, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(es->s_first_error_func)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'fill_kobj_path', inlined from 'kobject_get_path' at /kisskb/src/lib/kobject.c:155:2: /kisskb/src/lib/kobject.c:128:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(path + length, kobject_name(parent), cur); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/kobject.c: In function 'kobject_get_path': /kisskb/src/lib/kobject.c:125:13: note: length computed here int cur = strlen(kobject_name(parent)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_hexdump.c: In function 'test_hexdump_prepare_test.isra.0': /kisskb/src/lib/test_hexdump.c:98:3: warning: 'strncpy' output truncated copying between 0 and 32 bytes from a string of length 32 [-Wstringop-truncation] strncpy(p, data_a, l); ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_hexdump.c:84:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(p, q, amount); ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_hexdump.c:82:19: note: length computed here size_t amount = strlen(q); ^~~~~~~~~ /kisskb/src/drivers/devfreq/devfreq.c: In function 'devfreq_add_device': /kisskb/src/drivers/devfreq/devfreq.c:593:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(devfreq->governor_name, governor_name, DEVFREQ_NAME_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/trace/define_trace.h:96, from /kisskb/src/include/trace/events/writeback.h:762, from /kisskb/src/fs/fs-writeback.c:98: /kisskb/src/include/trace/events/writeback.h: In function 'trace_event_raw_event_writeback_work_class': /kisskb/src/include/trace/events/writeback.h:223:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, ^~~~~~~~~~~~~~~~~~~~~~ wb->bdi->dev ? dev_name(wb->bdi->dev) : "(unknown)", 32); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:222:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'trace_event_raw_event_writeback_class': /kisskb/src/include/trace/events/writeback.h:277:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(wb->bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:276:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'trace_event_raw_event_writeback_bdi_register': /kisskb/src/include/trace/events/writeback.h:299:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:292:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(writeback_bdi_register, ^~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h:298:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'trace_event_raw_event_wbc_class': /kisskb/src/include/trace/events/writeback.h:324:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:323:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'trace_event_raw_event_writeback_queue_io': /kisskb/src/include/trace/events/writeback.h:375:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, dev_name(wb->bdi->dev), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:360:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(writeback_queue_io, ^~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h:373:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'trace_event_raw_event_writeback_dirty_page': /kisskb/src/include/trace/events/writeback.h:69:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, ^~~~~~~~~~~~~~~~~~~~~~ mapping ? dev_name(inode_to_bdi(mapping->host)->dev) : "(unknown)", 32); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:56:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(writeback_dirty_page, ^~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h:68:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'trace_event_raw_event_writeback_dirty_inode_template': /kisskb/src/include/trace/events/writeback.h:99:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, ^~~~~~~~~~~~~~~~~~~~~~ bdi->dev ? dev_name(bdi->dev) : "(unknown)", 32); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:95:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'trace_event_raw_event_writeback_write_inode_template': /kisskb/src/include/trace/events/writeback.h:179:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, ^~~~~~~~~~~~~~~~~~~~~~ dev_name(inode_to_bdi(inode)->dev), 32); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:178:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'trace_event_raw_event_writeback_sb_inodes_requeue': /kisskb/src/include/trace/events/writeback.h:586:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, ^~~~~~~~~~~~~~~~~~~~~~ dev_name(inode_to_bdi(inode)->dev), 32); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS' PARAMS(assign), \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:572:1: note: in expansion of macro 'TRACE_EVENT' TRACE_EVENT(writeback_sb_inodes_requeue, ^~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h:585:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/include/trace/events/writeback.h: In function 'trace_event_raw_event_writeback_single_inode_template': /kisskb/src/include/trace/events/writeback.h:660:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(__entry->name, ^~~~~~~~~~~~~~~~~~~~~~ dev_name(inode_to_bdi(inode)->dev), 32); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/trace/trace_events.h:720:4: note: in definition of macro 'DECLARE_EVENT_CLASS' { assign; } \ ^~~~~~ /kisskb/src/include/trace/events/writeback.h:659:2: note: in expansion of macro 'TP_fast_assign' TP_fast_assign( ^~~~~~~~~~~~~~ /kisskb/src/net/netfilter/ipset/ip_set_core.c: In function 'ip_set_rename': /kisskb/src/net/netfilter/ipset/ip_set_core.c:1170:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(set->name, name2, IPSET_MAXNAMELEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/gpu/drm/bridge/cdns-dsi.c:1353:12: warning: 'cdns_dsi_suspend' defined but not used [-Wunused-function] static int cdns_dsi_suspend(struct device *dev) ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/gpu/drm/bridge/cdns-dsi.c:1340:12: warning: 'cdns_dsi_resume' defined but not used [-Wunused-function] static int cdns_dsi_resume(struct device *dev) ^~~~~~~~~~~~~~~ /kisskb/src/drivers/input/joystick/analog.c:176:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] #warning Precise timer not defined for this architecture. ^~~~~~~ /kisskb/src/drivers/gpu/drm/panel/panel-arm-versatile.c: In function 'versatile_panel_get_modes': /kisskb/src/drivers/gpu/drm/panel/panel-arm-versatile.c:267:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(connector->display_info.name, vpanel->panel_type->name, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DRM_DISPLAY_INFO_LEN); ~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/isdn/capi/capidrv.c: In function 'capidrv_command': /kisskb/src/drivers/isdn/capi/capidrv.c:2016:3: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 49 [-Wstringop-truncation] strncpy(bchan->msn, c->parm.num, ISDN_MSNLEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/isdn/capi/capidrv.c:1827:3: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 49 [-Wstringop-truncation] strncpy(bchan->num, c->parm.setup.phone, sizeof(bchan->num)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/isdn/capi/capidrv.c: In function 'capidrv_addcontr.isra.9': /kisskb/src/drivers/isdn/capi/capidrv.c:2302:2: warning: 'strncpy' output may be truncated copying 19 bytes from a string of length 19 [-Wstringop-truncation] strncpy(card->interface.id, id, sizeof(card->interface.id) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'bearer_name_validate', inlined from 'tipc_enable_bearer' at /kisskb/src/net/tipc/bearer.c:246:7: /kisskb/src/net/tipc/bearer.c:141:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(name_copy, name, TIPC_MAX_BEARER_NAME); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/tipc/topsrv.c: In function 'tipc_topsrv_start': /kisskb/src/net/tipc/topsrv.c:660:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(srv->name, name, strlen(name) + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/tipc/topsrv.c:660:27: note: length computed here strncpy(srv->name, name, strlen(name) + 1); ^~~~~~~~~~~~ /kisskb/src/drivers/misc/c2port/core.c: In function 'c2port_device_register': /kisskb/src/drivers/misc/c2port/core.c:929:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(c2dev->name, name, C2PORT_NAME_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/isdn/i4l/isdn_tty.c: In function 'isdn_tty_suspend.isra.1': /kisskb/src/drivers/isdn/i4l/isdn_tty.c:790:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(&cmd.parm.cmsg.para[6], id, l); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/isdn/i4l/isdn_tty.c:778:6: note: length computed here l = strlen(id); ^~~~~~~~~~ /kisskb/src/drivers/isdn/i4l/isdn_net.c: In function 'isdn_net_getpeer': /kisskb/src/drivers/isdn/i4l/isdn_net.c:2997:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(phone->phone, dev->num[idx], ISDN_MSNLEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/isdn/i4l/isdn_tty.c: In function 'isdn_tty_resume': /kisskb/src/drivers/isdn/i4l/isdn_tty.c:880:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(&cmd.parm.cmsg.para[6], id, l); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/isdn/i4l/isdn_tty.c:817:6: note: length computed here l = strlen(id); ^~~~~~~~~~ /kisskb/src/drivers/isdn/i4l/isdn_tty.c: In function 'isdn_tty_stat_callback': /kisskb/src/drivers/isdn/i4l/isdn_tty.c:2054:4: warning: 'strncpy' output may be truncated copying 5 bytes from a string of length 49 [-Wstringop-truncation] strncpy(info->last_cause, c->parm.num, 5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/hamradio/hdlcdrv.c: In function 'hdlcdrv_ioctl': /kisskb/src/drivers/net/hamradio/hdlcdrv.c:614:4: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(bi.data.drivername, s->ops->drvname, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(bi.data.drivername)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'nvme_init_subnqn', inlined from 'nvme_init_subsystem' at /kisskb/src/drivers/nvme/host/core.c:2207:2, inlined from 'nvme_init_identify' at /kisskb/src/drivers/nvme/host/core.c:2365:9: /kisskb/src/drivers/nvme/host/core.c:2061:3: warning: 'strncpy' output may be truncated copying 223 bytes from a string of length 255 [-Wstringop-truncation] strncpy(subsys->subnqn, id->subnqn, NVMF_NQN_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/md/dm-log-userspace-base.c: In function 'userspace_ctr': /kisskb/src/drivers/md/dm-log-userspace-base.c:226:2: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy(lc->uuid, argv[0], DM_UUID_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'qcom_glink_rx_close', inlined from 'qcom_glink_work' at /kisskb/src/drivers/rpmsg/qcom_glink_native.c:1528:4: /kisskb/src/drivers/rpmsg/qcom_glink_native.c:1454:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(chinfo.name, channel->name, sizeof(chinfo.name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'qcom_glink_rx_open', inlined from 'qcom_glink_work' at /kisskb/src/drivers/rpmsg/qcom_glink_native.c:1525:4: /kisskb/src/drivers/rpmsg/qcom_glink_native.c:1404:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(rpdev->id.name, name, RPMSG_NAME_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/power/supply/charger-manager.c: In function 'uevent_notify.isra.6': /kisskb/src/drivers/power/supply/charger-manager.c:488:3: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 32 [-Wstringop-truncation] strncpy(env_str, env_str_save, UEVENT_BUF_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/target/iscsi/iscsi_target_tpg.c: In function 'iscsit_ta_authentication': /kisskb/src/drivers/target/iscsi/iscsi_target_tpg.c:639:3: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] strncat(buf1, ",", strlen(",")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/target/iscsi/iscsi_target_tpg.c:640:3: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] strncat(buf1, NONE, strlen(NONE)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/omap3isp/isp.c:1008:13: warning: 'isp_resume_modules' defined but not used [-Wunused-function] static void isp_resume_modules(struct isp_device *isp) ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/omap3isp/isp.c:974:12: warning: 'isp_suspend_modules' defined but not used [-Wunused-function] static int isp_suspend_modules(struct isp_device *isp) ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/libfc/fc_elsct.c:30: In function 'fc_ct_ms_fill', inlined from 'fc_elsct_send' at /kisskb/src/include/scsi/fc_encode.h:518:8: /kisskb/src/include/scsi/fc_encode.h:275:3: warning: 'strncpy' output may be truncated copying 64 bytes from a string of length 79 [-Wstringop-truncation] strncpy((char *)&entry->value, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fc_host_manufacturer(lport->host), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FC_FDMI_HBA_ATTR_MANUFACTURER_LEN); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/scsi/fc_encode.h:287:3: warning: 'strncpy' output may be truncated copying 64 bytes from a string of length 79 [-Wstringop-truncation] strncpy((char *)&entry->value, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fc_host_serial_number(lport->host), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FC_FDMI_HBA_ATTR_SERIALNUMBER_LEN); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/video/hdmi.c: In function 'hdmi_spd_infoframe_init': /kisskb/src/drivers/video/hdmi.c:174:2: warning: 'strncpy' specified bound 8 equals destination size [-Wstringop-truncation] strncpy(frame->vendor, vendor, sizeof(frame->vendor)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/video/hdmi.c:175:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(frame->product, product, sizeof(frame->product)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/fbtft/fbtft-core.c: In function 'fbtft_framebuffer_alloc': /kisskb/src/drivers/staging/fbtft/fbtft-core.c:774:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(info->fix.id, dev->driver->name, 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/video/fbdev/uvesafb.c: In function 'uvesafb_vbe_getinfo': /kisskb/src/drivers/video/fbdev/uvesafb.c:425:2: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] strncpy(par->vbe_ib.vbe_signature, "VBE2", 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/video/fbdev/uvesafb.c: In function 'v86d_store': /kisskb/src/drivers/video/fbdev/uvesafb.c:1873:2: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] strncpy(v86d_path, buf, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'prism2_ioctl_get_encryption', inlined from 'prism2_ioctl_priv_hostapd.isra.4' at /kisskb/src/drivers/net/wireless/intersil/hostap/hostap_ioctl.c:3813:9, inlined from 'hostap_ioctl' at /kisskb/src/drivers/net/wireless/intersil/hostap/hostap_ioctl.c:4038:14: /kisskb/src/drivers/net/wireless/intersil/hostap/hostap_ioctl.c:3611:3: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(param->u.crypt.alg, (*crypt)->ops->name, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HOSTAP_CRYPT_ALG_NAME_LEN); ~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/ks7010/ks_wlan_net.c: In function 'ks_wlan_get_nick': /kisskb/src/drivers/staging/ks7010/ks_wlan_net.c:385:2: warning: 'strncpy' output may be truncated copying 16 bytes from a string of length 32 [-Wstringop-truncation] strncpy(extra, priv->nick, 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/leds.c: In function 'rtl8187_register_led': /kisskb/src/drivers/net/wireless/realtek/rtl818x/rtl8187/leds.c:149:2: warning: 'strncpy' specified bound 22 equals destination size [-Wstringop-truncation] strncpy(led->name, name, sizeof(led->name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/broadcom/b43/leds.c: In function 'b43_register_led': /kisskb/src/drivers/net/wireless/broadcom/b43/leds.c:134:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(led->name, name, sizeof(led->name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'brcmf_vndr_ie', inlined from 'brcmf_vif_set_mgmt_ie' at /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:4278:25: /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:4167:2: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] strncpy(iebuf, add_del_cmd, VNDR_IE_CMD_LEN - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'brcmf_vndr_ie', inlined from 'brcmf_vif_set_mgmt_ie' at /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:4315:25: /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:4167:2: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] strncpy(iebuf, add_del_cmd, VNDR_IE_CMD_LEN - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c: In function 'rtw_wx_set_enc_ext': /kisskb/src/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:1923:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy((char *)param->u.crypt.alg, alg_name, IEEE_CRYPT_ALG_NAME_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/rtl8712/rtl871x_ioctl_linux.c: In function 'r871x_wx_set_enc_ext': /kisskb/src/drivers/staging/rtl8712/rtl871x_ioctl_linux.c:1792:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy((char *)param->u.crypt.alg, alg_name, IEEE_CRYPT_ALG_NAME_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/speakup/kobjects.c: In function 'punc_store': /kisskb/src/drivers/staging/speakup/kobjects.c:522:2: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(punc_buf, buf, x); ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/speakup/kobjects.c:504:6: note: length computed here x = strlen(buf); ^~~~~~~~~~~ /kisskb/src/drivers/staging/speakup/kobjects.c: In function 'synth_store': /kisskb/src/drivers/staging/speakup/kobjects.c:391:2: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(new_synth_name, buf, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/staging/speakup/kobjects.c:388:8: note: length computed here len = strlen(buf); ^~~~~~~~~~~ /kisskb/src/drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c: In function 'create_component': /kisskb/src/drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c:916:2: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(m.u.component_create.name, name, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(m.u.component_create.name)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Makefile:146: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -s -j 48 ARCH=nds32 O=/kisskb/build/linus_nds32-allmodconfig_nds32le CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_nds32-allmodconfig_nds32le # Build took: 0:07:22.601360
© Michael Ellerman 2006-2018.