# git rev-parse -q --verify ceb307474506f888e8f16dab183405ff01dffa08^{commit} ceb307474506f888e8f16dab183405ff01dffa08 already have revision, skipping fetch # git checkout -q -f -B kisskb ceb307474506f888e8f16dab183405ff01dffa08 # git clean -qxdf # < git log -1 # commit ceb307474506f888e8f16dab183405ff01dffa08 # Merge: 0da522107e5d b111df8447ac # Author: Linus Torvalds # Date: Sun Dec 1 14:00:59 2019 -0800 # # Merge tag 'y2038-cleanups-5.5' of git://git.kernel.org:/pub/scm/linux/kernel/git/arnd/playground # # Pull y2038 cleanups from Arnd Bergmann: # "y2038 syscall implementation cleanups # # This is a series of cleanups for the y2038 work, mostly intended for # namespace cleaning: the kernel defines the traditional time_t, timeval # and timespec types that often lead to y2038-unsafe code. Even though # the unsafe usage is mostly gone from the kernel, having the types and # associated functions around means that we can still grow new users, # and that we may be missing conversions to safe types that actually # matter. # # There are still a number of driver specific patches needed to get the # last users of these types removed, those have been submitted to the # respective maintainers" # # Link: https://lore.kernel.org/lkml/20191108210236.1296047-1-arnd@arndb.de/ # # * tag 'y2038-cleanups-5.5' of git://git.kernel.org:/pub/scm/linux/kernel/git/arnd/playground: (26 commits) # y2038: alarm: fix half-second cut-off # y2038: ipc: fix x32 ABI breakage # y2038: fix typo in powerpc vdso "LOPART" # y2038: allow disabling time32 system calls # y2038: itimer: change implementation to timespec64 # y2038: move itimer reset into itimer.c # y2038: use compat_{get,set}_itimer on alpha # y2038: itimer: compat handling to itimer.c # y2038: time: avoid timespec usage in settimeofday() # y2038: timerfd: Use timespec64 internally # y2038: elfcore: Use __kernel_old_timeval for process times # y2038: make ns_to_compat_timeval use __kernel_old_timeval # y2038: socket: use __kernel_old_timespec instead of timespec # y2038: socket: remove timespec reference in timestamping # y2038: syscalls: change remaining timeval to __kernel_old_timeval # y2038: rusage: use __kernel_old_timeval # y2038: uapi: change __kernel_time_t to __kernel_old_time_t # y2038: stat: avoid 'time_t' in 'struct stat' # y2038: ipc: remove __kernel_time_t reference from headers # y2038: vdso: powerpc: avoid timespec references # ... # < /opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 ceb307474506f888e8f16dab183405ff01dffa08 # < make -s -j 10 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- randconfig KCONFIG_SEED=0xD651E554 # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # yes \n | make -s -j 10 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 10 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- arch/arm64/Makefile:38: LSE atomics not supported by binutils arch/arm64/Makefile:38: LSE atomics not supported by binutils /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_zone_nr_conv_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:327:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(zone_nr_conv, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_mbps_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:323:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(mbps, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_index_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:318:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(index, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_hw_queue_depth_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:317:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(hw_queue_depth, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_irqmode_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:316:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(irqmode, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_blocksize_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:315:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(blocksize, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_queue_mode_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:314:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(queue_mode, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_home_node_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:313:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(home_node, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_zone_size_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:326:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(zone_size, ulong, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_cache_size_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:324:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(cache_size, ulong, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_completion_nsec_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:311:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(completion_nsec, ulong, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_size_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:310:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(size, ulong, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_zoned_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:325:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(zoned, bool, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_discard_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:322:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(discard, bool, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_memory_backed_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:321:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(memory_backed, bool, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_use_per_node_hctx_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:320:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(use_per_node_hctx, bool, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_blocking_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:319:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(blocking, bool, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_submit_queues_store': /kisskb/src/drivers/block/null_blk_main.c:307:48: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] return set->nr_hw_queues == submit_queues ? 0 : -ENOMEM; ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:312:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(submit_queues, uint, nullb_apply_submit_queues); ^ In file included from /kisskb/src/include/linux/wait.h:7:0, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/f2fs/node.c:8: /kisskb/src/fs/f2fs/node.c: In function '__set_nat_cache_dirty': /kisskb/src/include/linux/list.h:63:13: warning: 'head' may be used uninitialized in this function [-Wmaybe-uninitialized] next->prev = new; ^ /kisskb/src/fs/f2fs/node.c:236:24: note: 'head' was declared here struct nat_entry_set *head; ^ /kisskb/src/fs/ntfs/aops.c: In function 'ntfs_write_mst_block': /kisskb/src/fs/ntfs/aops.c:1314:1: warning: the frame size of 2224 bytes is larger than 2048 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c: In function 'sh_mobile_i2c_isr': /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:399:26: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] pd->msg->buf[real_pos] = data; ^ /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:372:16: note: 'data' was declared here unsigned char data; ^ drivers/staging/hp/hp100.o: In function `hp100_pci_remove': hp100.c:(.text+0x20): undefined reference to `unregister_netdev' hp100.c:(.text+0x54): undefined reference to `free_netdev' drivers/staging/hp/hp100.o: In function `hp100_clean_txring': hp100.c:(.text+0x15e4): undefined reference to `__dev_kfree_skb_any' drivers/staging/hp/hp100.o: In function `hp100_build_rx_pdl.isra.17': hp100.c:(.text+0x1668): undefined reference to `__netdev_alloc_skb' hp100.c:(.text+0x1698): undefined reference to `skb_put' drivers/staging/hp/hp100.o: In function `hp100_rx_bm': hp100.c:(.text+0x1908): undefined reference to `skb_trim' hp100.c:(.text+0x1918): undefined reference to `eth_type_trans' hp100.c:(.text+0x1924): undefined reference to `netif_rx' hp100.c:(.text+0x19f4): undefined reference to `__dev_kfree_skb_any' drivers/staging/hp/hp100.o: In function `hp100_interrupt': hp100.c:(.text+0x1bbc): undefined reference to `__netdev_alloc_skb' hp100.c:(.text+0x1be4): undefined reference to `skb_put' hp100.c:(.text+0x1c10): undefined reference to `eth_type_trans' hp100.c:(.text+0x1c1c): undefined reference to `netif_rx' drivers/staging/hp/hp100.o: In function `hp100_start_xmit_bm': hp100.c:(.text+0x2834): undefined reference to `dev_trans_start' hp100.c:(.text+0x2920): undefined reference to `consume_skb' hp100.c:(.text+0x2a04): undefined reference to `__skb_pad' drivers/staging/hp/hp100.o: In function `hp100_pci_probe': hp100.c:(.text+0x2b04): undefined reference to `alloc_etherdev_mqs' hp100.c:(.text+0x2b94): undefined reference to `free_netdev' hp100.c:(.text+0x3344): undefined reference to `register_netdev' drivers/staging/hp/hp100.o: In function `hp100_start_xmit': hp100.c:(.text+0x3548): undefined reference to `consume_skb' hp100.c:(.text+0x3718): undefined reference to `__dev_kfree_skb_any' hp100.c:(.text+0x372c): undefined reference to `dev_trans_start' drivers/staging/hp/hp100.o:(.rodata+0x58): undefined reference to `eth_mac_addr' drivers/staging/hp/hp100.o:(.rodata+0x60): undefined reference to `eth_validate_addr' drivers/staging/hp/hp100.o:(.rodata+0x268): undefined reference to `eth_mac_addr' drivers/staging/hp/hp100.o:(.rodata+0x270): undefined reference to `eth_validate_addr' make[1]: *** [/kisskb/src/Makefile:1077: vmlinux] Error 1 make: *** [Makefile:179: sub-make] Error 2 Command 'make -s -j 10 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4 # Build took: 0:03:52.720018