# 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/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 ceb307474506f888e8f16dab183405ff01dffa08 # < make -s -j 10 ARCH=sh O=/kisskb/build/linus_ul2_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- ul2_defconfig # make -s -j 10 ARCH=sh O=/kisskb/build/linus_ul2_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:385: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:388: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/mm/vmstat.c: In function 'sysctl_vm_numa_stat_handler': /kisskb/src/mm/vmstat.c:90:5: warning: 'oldval' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/ext4/extents.c: In function 'ext4_convert_unwritten_io_end_vec': /kisskb/src/fs/ext4/extents.c:5054:23: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:338:21: note: 'pdeo' was declared here /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1496:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/sh/clk/cpg.c: In function 'r8': /kisskb/src/drivers/sh/clk/cpg.c:41:2: warning: passing argument 1 of 'ioread8' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:29:21: note: expected 'void *' but argument is of type 'const void *' /kisskb/src/drivers/sh/clk/cpg.c: In function 'r16': /kisskb/src/drivers/sh/clk/cpg.c:46:2: warning: passing argument 1 of 'ioread16' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:30:21: note: expected 'void *' but argument is of type 'const void *' /kisskb/src/drivers/sh/clk/cpg.c: In function 'r32': /kisskb/src/drivers/sh/clk/cpg.c:51:2: warning: passing argument 1 of 'ioread32' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:32:21: note: expected 'void *' but argument is of type 'const void *' /kisskb/src/drivers/usb/core/devio.c: In function 'async_completed': /kisskb/src/drivers/usb/core/devio.c:625:23: warning: 'errno' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mac80211/mlme.c: In function 'ieee80211_rx_mgmt_beacon': /kisskb/src/net/mac80211/mlme.c:1576:3: warning: 'pwr_level_cisco' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mac80211/mlme.c:1533:6: note: 'pwr_level_cisco' was declared here mm/page_alloc.o: In function `get_page_from_freelist': page_alloc.c:(.text+0x3148): undefined reference to `node_reclaim_distance' make[1]: *** [/kisskb/src/Makefile:1077: vmlinux] Error 1 make: *** [Makefile:179: sub-make] Error 2 Command 'make -s -j 10 ARCH=sh O=/kisskb/build/linus_ul2_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_ul2_defconfig_sh4 # Build took: 0:01:27.716603