# git rev-parse -q --verify 5990cdee689c6885b27c6d969a3d58b09002b0bc^{commit} 5990cdee689c6885b27c6d969a3d58b09002b0bc already have revision, skipping fetch # git checkout -q -f -B kisskb 5990cdee689c6885b27c6d969a3d58b09002b0bc # git clean -qxdf # < git log -1 # commit 5990cdee689c6885b27c6d969a3d58b09002b0bc # Author: Nathan Chancellor # Date: Mon Apr 13 12:50:42 2020 -0700 # # lib/mpi: Fix building for powerpc with clang # # 0day reports over and over on an powerpc randconfig with clang: # # lib/mpi/generic_mpih-mul1.c:37:13: error: invalid use of a cast in a # inline asm context requiring an l-value: remove the cast or build with # -fheinous-gnu-extensions # # Remove the superfluous casts, which have been done previously for x86 # and arm32 in commit dea632cadd12 ("lib/mpi: fix build with clang") and # commit 7b7c1df2883d ("lib/mpi/longlong.h: fix building with 32-bit # x86"). # # Reported-by: kbuild test robot # Signed-off-by: Nathan Chancellor # Acked-by: Herbert Xu # Signed-off-by: Michael Ellerman # Link: https://github.com/ClangBuiltLinux/linux/issues/991 # Link: https://lore.kernel.org/r/20200413195041.24064-1-natechancellor@gmail.com # < /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 5990cdee689c6885b27c6d969a3d58b09002b0bc # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_canyonlands_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- 44x/canyonlands_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_canyonlands_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_canyonlands_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_canyonlands_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: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:72:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:471: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 /kisskb/src/fs/namei.c: In function 'handle_dots': /kisskb/src/fs/namei.c:1805:10: warning: 'inode' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/namei.c:1805:10: warning: 'seq' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/usb/core/devio.c: In function 'async_completed': /kisskb/src/drivers/usb/core/devio.c:625:23: warning: 'errno' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/io_uring.c: In function '__io_sqe_files_update.isra.94': /kisskb/src/fs/io_uring.c:6701:13: warning: 'err' may be used uninitialized in this function [-Wuninitialized] Completed OK # rm -rf /kisskb/build/powerpc-fixes_44x_canyonlands_defconfig_powerpc-gcc4.6 # Build took: 0:00:40.392844