# 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 8 ARCH=sh O=/kisskb/build/linus_rsk7201_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- rsk7201_defconfig # make -s -j 8 ARCH=sh O=/kisskb/build/linus_rsk7201_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/sh2a/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh2a/../../entry-common.S:385: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2a/../../entry-common.S:388: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /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/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 *' Image Name: Linux-5.4.0+ Created: Mon Dec 2 13:59:04 2019 Image Type: SuperH Linux Kernel Image (gzip compressed) Data Size: 1610269 Bytes = 1572.53 KiB = 1.54 MiB Load Address: 08001000 Entry Point: 08002000 Image arch/sh/boot/uImage is ready Completed OK # rm -rf /kisskb/build/linus_rsk7201_defconfig_sh4 # Build took: 0:00:46.729326