# git rev-parse -q --verify 459e3a21535ae3c7a9a123650e54f5c882b8fcbf^{commit} 459e3a21535ae3c7a9a123650e54f5c882b8fcbf already have revision, skipping fetch # git checkout -q -f -B kisskb 459e3a21535ae3c7a9a123650e54f5c882b8fcbf # git clean -qxdf # < git log -1 # commit 459e3a21535ae3c7a9a123650e54f5c882b8fcbf # Author: Linus Torvalds # Date: Wed May 1 11:20:53 2019 -0700 # # gcc-9: properly declare the {pv,hv}clock_page storage # # The pvlock_page and hvclock_page variables are (as the name implies) # addresses to pages, created by the linker script. # # But we declared them as just "extern u8" variables, which _works_, but # now that gcc does some more bounds checking, it causes warnings like # # warning: array subscript 1 is outside array bounds of ‘u8[1]’ # # when we then access more than one byte from those variables. # # Fix this by simply making the declaration of the variables match # reality, which makes the compiler happy too. # # Signed-off-by: Linus Torvalds # < /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 459e3a21535ae3c7a9a123650e54f5c882b8fcbf # < make -s -j 120 ARCH=sh O=/kisskb/build/linus_se7712_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- se7712_defconfig # make -s -j 120 ARCH=sh O=/kisskb/build/linus_se7712_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:385: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh3/../../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:187: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:337: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 *' /kisskb/src/net/ipv4/ip_output.c: In function '__ip_append_data': /kisskb/src/include/linux/skbuff.h:1397:6: warning: 'extra_uref' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/ipv4/ip_output.c:885:14: note: 'extra_uref' was declared here /kisskb/src/mm/mprotect.c: In function 'change_pte_range': /kisskb/src/mm/mprotect.c:42:20: warning: unused variable 'mm' [-Wunused-variable] Kernel: arch/sh/boot/zImage is ready Completed OK # rm -rf /kisskb/build/linus_se7712_defconfig_sh4 # Build took: 0:00:31.462430