# git rev-parse -q --verify 490fc053865c9cc40f1085ef8a5504f5341f79d2^{commit} 490fc053865c9cc40f1085ef8a5504f5341f79d2 already have revision, skipping fetch # git checkout -q -f -B kisskb 490fc053865c9cc40f1085ef8a5504f5341f79d2 # git clean -qxdf # < git log -1 # commit 490fc053865c9cc40f1085ef8a5504f5341f79d2 # Author: Linus Torvalds # Date: Sat Jul 21 15:24:03 2018 -0700 # # mm: make vm_area_alloc() initialize core fields # # Like vm_area_dup(), it initializes the anon_vma_chain head, and the # basic mm pointer. # # The rest of the fields end up being different for different users, # although the plan is to also initialize the 'vm_ops' field to a dummy # entry. # # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux-gcc --version # < git log --format=%s --max-count=1 490fc053865c9cc40f1085ef8a5504f5341f79d2 # < make -s -j 48 ARCH=nds32 O=/kisskb/build/linus_nds32-allyesconfig_nds32le CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux- allyesconfig # make -s -j 48 ARCH=nds32 O=/kisskb/build/linus_nds32-allyesconfig_nds32le CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux- :1335:2: warning: #warning syscall rseq not implemented [-Wcpp] /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 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: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/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 ?: "", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 ?: "", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(rblkcipher.geniv)); ~~~~~~~~~~~~~~~~~~~~~~~~~ /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 ?: "", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(rblkcipher.geniv)); ~~~~~~~~~~~~~~~~~~~~~~~~~ /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/fs/cifs/cifsencrypt.c: In function 'calc_lanman_hash': /kisskb/src/fs/cifs/cifsencrypt.c:306:3: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(password_with_pad, password, CIFS_ENCPWD_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 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 '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/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/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/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/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/fs/ext4/super.c: In function '__save_error_info': /kisskb/src/fs/ext4/super.c:326: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:330: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/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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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_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/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/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/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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'nvme_init_subnqn', inlined from 'nvme_init_subsystem' at /kisskb/src/drivers/nvme/host/core.c:2192:2, inlined from 'nvme_init_identify' at /kisskb/src/drivers/nvme/host/core.c:2350:9: /kisskb/src/drivers/nvme/host/core.c:2046: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/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/nvme/target/discovery.c: In function 'nvmet_execute_identify_disc_ctrl': /kisskb/src/drivers/nvme/target/discovery.c:160:2: warning: 'strncpy' output truncated copying 8 bytes from a string of length 11 [-Wstringop-truncation] strncpy((char *)id->fr, UTS_RELEASE, sizeof(id->fr)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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/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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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) ^~~~~~~~~~~~~~~~~~~ /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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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/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/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/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/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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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); ^~~~~~~~~~~ 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/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/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)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ WARNING: EXPORT symbol "copy_page" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "clear_page" [vmlinux] version generation failed, symbol will not be versioned. Completed OK # rm -rf /kisskb/build/linus_nds32-allyesconfig_nds32le # Build took: 0:08:33.653793