# 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/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ld --version # < git log --format=%s --max-count=1 459e3a21535ae3c7a9a123650e54f5c882b8fcbf # < make -s -j 48 ARCH=arm O=/kisskb/build/linus_spear3xx_defconfig_arm CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- spear3xx_defconfig # make -s -j 48 ARCH=arm O=/kisskb/build/linus_spear3xx_defconfig_arm CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- /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/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2594:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1855:6: warning: 'ret' 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 Completed OK # rm -rf /kisskb/build/linus_spear3xx_defconfig_arm # Build took: 0:00:55.707694