# 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/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 459e3a21535ae3c7a9a123650e54f5c882b8fcbf # < make -s -j 48 ARCH=powerpc O=/kisskb/build/linus_mpc885_ads_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc885_ads_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/linus_mpc885_ads_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /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 Image Name: Linux-5.1.0-rc7-g459e3a21535a Created: Thu May 2 05:23:04 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 1841105 Bytes = 1797.95 KiB = 1.76 MiB Load Address: 00400000 Entry Point: 004001dc Completed OK # rm -rf /kisskb/build/linus_mpc885_ads_defconfig_powerpc-gcc4.6 # Build took: 0:00:37.162129