# git rev-parse -q --verify 53a01c9a5fcf74b7f855e70dd69742fb3cb84c83^{commit} 53a01c9a5fcf74b7f855e70dd69742fb3cb84c83 already have revision, skipping fetch # git checkout -q -f -B kisskb 53a01c9a5fcf74b7f855e70dd69742fb3cb84c83 # git clean -qxdf # < git log -1 # commit 53a01c9a5fcf74b7f855e70dd69742fb3cb84c83 # Merge: 9157141c95bc 0af4c8be97a1 # Author: Linus Torvalds # Date: Thu Aug 23 16:03:58 2018 -0700 # # Merge tag 'nfs-for-4.19-1' of git://git.linux-nfs.org/projects/anna/linux-nfs # # Pull NFS client updates from Anna Schumaker: # "These patches include adding async support for the v4.2 COPY # operation. I think Bruce is planning to send the server patches for # the next release, but I figured we could get the client side out of # the way now since it's been in my tree for a while. This shouldn't # cause any problems, since the server will still respond with # synchronous copies even if the client requests async. # # Features: # - Add support for asynchronous server-side COPY operations # # Stable bufixes: # - Fix an off-by-one in bl_map_stripe() (v3.17+) # - NFSv4 client live hangs after live data migration recovery (v4.9+) # - xprtrdma: Fix disconnect regression (v4.18+) # - Fix locking in pnfs_generic_recover_commit_reqs (v4.14+) # - Fix a sleep in atomic context in nfs4_callback_sequence() (v4.9+) # # Other bugfixes and cleanups: # - Optimizations and fixes involving NFS v4.1 / pNFS layout handling # - Optimize lseek(fd, SEEK_CUR, 0) on directories to avoid locking # - Immediately reschedule writeback when the server replies with an # error # - Fix excessive attribute revalidation in nfs_execute_ok() # - Add error checking to nfs_idmap_prepare_message() # - Use new vm_fault_t return type # - Return a delegation when reclaiming one that the server has # recalled # - Referrals should inherit proto setting from parents # - Make rpc_auth_create_args a const # - Improvements to rpc_iostats tracking # - Fix a potential reference leak when there is an error processing a # callback # - Fix rmdir / mkdir / rename nlink accounting # - Fix updating inode change attribute # - Fix error handling in nfsn4_sp4_select_mode() # - Use an appropriate work queue for direct-write completion # - Don't busy wait if NFSv4 session draining is interrupted" # # * tag 'nfs-for-4.19-1' of git://git.linux-nfs.org/projects/anna/linux-nfs: (54 commits) # pNFS: Remove unwanted optimisation of layoutget # pNFS/flexfiles: ff_layout_pg_init_read should exit on error # pNFS: Treat RECALLCONFLICT like DELAY... # pNFS: When updating the stateid in layoutreturn, also update the recall range # NFSv4: Fix a sleep in atomic context in nfs4_callback_sequence() # NFSv4: Fix locking in pnfs_generic_recover_commit_reqs # NFSv4: Fix a typo in nfs4_init_channel_attrs() # NFSv4: Don't busy wait if NFSv4 session draining is interrupted # NFS recover from destination server reboot for copies # NFS add a simple sync nfs4_proc_commit after async COPY # NFS handle COPY ERR_OFFLOAD_NO_REQS # NFS send OFFLOAD_CANCEL when COPY killed # NFS export nfs4_async_handle_error # NFS handle COPY reply CB_OFFLOAD call race # NFS add support for asynchronous COPY # NFS COPY xdr handle async reply # NFS OFFLOAD_CANCEL xdr # NFS CB_OFFLOAD xdr # NFS: Use an appropriate work queue for direct-write completion # NFSv4: Fix error handling in nfs4_sp4_select_mode() # ... # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux-gcc --version # < git log --format=%s --max-count=1 53a01c9a5fcf74b7f855e70dd69742fb3cb84c83 # < make -s -j 10 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 10 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- /kisskb/src/scripts/unifdef.c: In function 'Mpass': /kisskb/src/scripts/unifdef.c:453:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] static void Mpass (void) { strncpy(keyword, "if ", 4); Pelif(); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/security/selinux/hooks.c: In function 'selinux_ib_endport_manage_subnet': /kisskb/src/security/selinux/hooks.c:6730:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy(ibendport.dev_name, dev_name, sizeof(ibendport.dev_name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:31: /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/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/drivers/bluetooth/hci_h5.c:920:22: warning: 'rtl_vnd' defined but not used [-Wunused-variable] static struct h5_vnd rtl_vnd = { ^~~~~~~ /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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/hfsplus/xattr.c: In function 'copy_name': /kisskb/src/fs/hfsplus/xattr.c:410: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/lib/test_hexdump.c: In function 'test_hexdump_prepare_test.isra.0': /kisskb/src/lib/test_hexdump.c:116: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:102: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:100:19: note: length computed here size_t amount = strlen(q); ^~~~~~~~~ /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/i2c/i2c-core-base.c: In function 'i2c_generic_scl_recovery': /kisskb/src/drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] if (ret == -EOPNOTSUPP) ^ /kisskb/src/drivers/input/joystick/analog.c:172:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] #warning Precise timer not defined for this architecture. ^~~~~~~ /kisskb/src/fs/ocfs2/dlmglue.c:99:30: warning: 'lockdep_keys' defined but not used [-Wunused-variable] static struct lock_class_key lockdep_keys[OCFS2_NUM_LOCK_TYPES]; ^~~~~~~~~~~~ /kisskb/src/drivers/isdn/capi/capidrv.c: In function 'capidrv_command': /kisskb/src/drivers/isdn/capi/capidrv.c:2017: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:1828: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:2303: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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_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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/elfcore.h:9, from /kisskb/src/include/linux/crash_core.h:6, from /kisskb/src/fs/proc/kcore.c:13: /kisskb/src/fs/proc/kcore.c: In function 'read_kcore': /kisskb/src/arch/nds32/include/asm/elf.h:126:29: error: expected '}' before ';' token #define ELF_DATA ELFDATA2LSB; ^ /kisskb/src/fs/proc/kcore.c:318:17: note: in expansion of macro 'ELF_DATA' [EI_DATA] = ELF_DATA, ^~~~~~~~ /kisskb/src/fs/proc/kcore.c:312:15: note: to match this '{' .e_ident = { ^ make[3]: *** [/kisskb/src/scripts/Makefile.build:307: fs/proc/kcore.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:548: fs/proc] Error 2 make[1]: *** [/kisskb/src/Makefile:1057: fs] Error 2 make[1]: *** Waiting for unfinished jobs.... /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/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/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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/mtd/nand/raw/qcom_nandc.c:154: warning: "PAGE_READ" redefined #define PAGE_READ 0x2 In file included from /kisskb/src/include/linux/memremap.h:7, from /kisskb/src/include/linux/mm.h:27, from /kisskb/src/include/linux/scatterlist.h:8, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/drivers/mtd/nand/raw/qcom_nandc.c:17: /kisskb/src/arch/nds32/include/asm/pgtable.h:145: note: this is the location of the previous definition #define PAGE_READ __pgprot(_PAGE_V | _PAGE_M_UR_KR) /kisskb/src/drivers/media/platform/qcom/camss/camss.c:1001:12: warning: 'camss_runtime_resume' defined but not used [-Wunused-function] static int camss_runtime_resume(struct device *dev) ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/media/platform/qcom/camss/camss.c:996:12: warning: 'camss_runtime_suspend' defined but not used [-Wunused-function] static int camss_runtime_suspend(struct device *dev) ^~~~~~~~~~~~~~~~~~~~~ In function 'nvme_init_subnqn', inlined from 'nvme_init_subsystem' at /kisskb/src/drivers/nvme/host/core.c:2225:2, inlined from 'nvme_init_identify' at /kisskb/src/drivers/nvme/host/core.c:2372:9: /kisskb/src/drivers/nvme/host/core.c:2079: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/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/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 'qcom_glink_rx_close', inlined from 'qcom_glink_work' at /kisskb/src/drivers/rpmsg/qcom_glink_native.c:1533:4: /kisskb/src/drivers/rpmsg/qcom_glink_native.c:1459: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:1530:4: /kisskb/src/drivers/rpmsg/qcom_glink_native.c:1409:3: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(rpdev->id.name, name, RPMSG_NAME_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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/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/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/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/vc04_services/bcm2835-camera/mmal-vchiq.c: In function 'create_component': /kisskb/src/drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c:917:2: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(m.u.component_create.name, name, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(m.u.component_create.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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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/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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:146: sub-make] Error 2 Command 'make -s -j 10 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:14:49.785887