# git rev-parse -q --verify 8996ae8f05a1cc5559120aaec36183edb9c68c50^{commit} 8996ae8f05a1cc5559120aaec36183edb9c68c50 already have revision, skipping fetch # git checkout -q -f -B kisskb 8996ae8f05a1cc5559120aaec36183edb9c68c50 # git clean -qxdf # < git log -1 # commit 8996ae8f05a1cc5559120aaec36183edb9c68c50 # Author: Stephen Rothwell # Date: Mon Sep 30 10:13:42 2019 +1000 # # powerpc/64s/radix: Fix build failure with RADIX_MMU=n # # After merging the powerpc tree, today's linux-next build (powerpc64 # allnoconfig) failed like this: # # arch/powerpc/mm/book3s64/pgtable.c:216:3: # error: implicit declaration of function 'radix__flush_all_lpid_guest' # # radix__flush_all_lpid_guest() is only declared for # CONFIG_PPC_RADIX_MMU which is not set for this build. # # Fix it by adding an empty version for the RADIX_MMU=n case, which # should never be called. # # Fixes: 99161de3a283 ("powerpc/64s/radix: tidy up TLB flushing code") # Signed-off-by: Stephen Rothwell # [mpe: Munge change log] # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20190930101342.36c1afa0@canb.auug.org.au # < /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 8996ae8f05a1cc5559120aaec36183edb9c68c50 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc5200_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc5200_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc5200_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:194: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:2591: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:1852:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/soc-pcm.c: In function 'soc_pcm_trigger': /kisskb/src/sound/soc/soc-pcm.c:1074:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/soc-pcm.c: In function 'soc_pcm_bespoke_trigger': /kisskb/src/sound/soc/soc-pcm.c:1092:9: 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:338:21: note: 'pdeo' was declared here /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] INFO: Uncompressed kernel (size 0x6fb7f0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6fb7f0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6fb7f0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6eb174) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-5.3.0-g8996ae8f05a1 Created: Tue Oct 1 23:36:53 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3517585 Bytes = 3435.14 KiB = 3.35 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.3.0-g8996ae8f05a1 Created: Tue Oct 1 23:36:53 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3547668 Bytes = 3464.52 KiB = 3.38 MiB Load Address: 00700000 Entry Point: 00700278 Image Name: Linux-5.3.0-g8996ae8f05a1 Created: Tue Oct 1 23:36:53 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3547650 Bytes = 3464.50 KiB = 3.38 MiB Load Address: 00700000 Entry Point: 00700278 Image Name: Linux-5.3.0-g8996ae8f05a1 Created: Tue Oct 1 23:36:53 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3547242 Bytes = 3464.10 KiB = 3.38 MiB Load Address: 00700000 Entry Point: 00700278 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc5200_defconfig_powerpc-gcc4.6 # Build took: 0:00:58.866928