# git rev-parse -q --verify 512a9ffd687976079408cd43d442ebba5f34175c^{commit} 512a9ffd687976079408cd43d442ebba5f34175c already have revision, skipping fetch # git checkout -q -f -B kisskb 512a9ffd687976079408cd43d442ebba5f34175c # git clean -qxdf # < git log -1 # commit 512a9ffd687976079408cd43d442ebba5f34175c # Author: Alexey Kardashevskiy # Date: Wed Jan 23 14:53:40 2019 +1100 # # vfio-pci/nvlink2: Fix ancient gcc warnings # # Using the {0} construct as a generic initializer is perfectly fine in C, # however due to a bug in old gcc there is a warning: # # + /kisskb/src/drivers/vfio/pci/vfio_pci_nvlink2.c: warning: (near # initialization for 'cap.header') [-Wmissing-braces]: => 181:9 # # Since for whatever reason we still want to compile the modern kernel # with such an old gcc without warnings, this changes the capabilities # initialization. # # The gcc bugzilla: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 # # Signed-off-by: Alexey Kardashevskiy # < /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 512a9ffd687976079408cd43d442ebba5f34175c # < make -s -j 10 ARCH=powerpc O=/kisskb/build/aik_ppc40x_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc40x_defconfig # make -s -j 10 ARCH=powerpc O=/kisskb/build/aik_ppc40x_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:186:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/i2c/i2c-core-base.c: In function 'i2c_generic_scl_recovery': /kisskb/src/drivers/i2c/i2c-core-base.c:235:5: 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:339:21: note: 'pdeo' was declared here /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:227:19: note: 'i' was declared here INFO: Uncompressed kernel (size 0x5415a0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5415a0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5415a0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x530f2c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5415a0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.0.0-rc2-g512a9ffd6879 Created: Wed Jan 23 18:48:09 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2639795 Bytes = 2577.92 KiB = 2.52 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.0.0-rc2-g512a9ffd6879 Created: Wed Jan 23 18:48:09 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2671570 Bytes = 2608.96 KiB = 2.55 MiB Load Address: 00600000 Entry Point: 00601758 Image Name: Linux-5.0.0-rc2-g512a9ffd6879 Created: Wed Jan 23 18:48:09 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2671857 Bytes = 2609.24 KiB = 2.55 MiB Load Address: 00600000 Entry Point: 006019cc Completed OK # rm -rf /kisskb/build/aik_ppc40x_defconfig_powerpc-gcc4.6 # Build took: 0:00:48.206276