# git rev-parse -q --verify 960b6f657c92adab4931653f9dc0e94ed5da1975^{commit} 960b6f657c92adab4931653f9dc0e94ed5da1975 already have revision, skipping fetch # git checkout -q -f -B kisskb 960b6f657c92adab4931653f9dc0e94ed5da1975 # git clean -qxdf # < git log -1 # commit 960b6f657c92adab4931653f9dc0e94ed5da1975 # Author: Michael Ellerman # Date: Thu Apr 5 22:39:34 2018 +1000 # # powerpc/64s: Fix section mismatch warnings from setup_rfi_flush() # # The recent LPM changes to setup_rfi_flush() are causing some section # mismatch warnings because we removed the __init annotation on # setup_rfi_flush(): # # The function setup_rfi_flush() references # the function __init ppc64_bolted_size(). # the function __init memblock_alloc_base(). # # The references are actually in init_fallback_flush(), but that is # inlined into setup_rfi_flush(). # # These references are safe because: # - only pseries calls setup_rfi_flush() at runtime # - pseries always passes L1D_FLUSH_FALLBACK at boot # - so the fallback flush area will always be allocated # - so the check in init_fallback_flush() will always return early: # /* Only allocate the fallback flush area once (at boot time). */ # if (l1d_flush_fallback_area) # return; # # - and therefore we won't actually call the freed init routines. # # We should rework the code to make it safer by default rather than # relying on the above, but for now as a quick-fix just add a __ref # annotation to squash the warning. # # Fixes: abf110f3e1ce ("powerpc/rfi-flush: Make it possible to call setup_rfi_flush() again") # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 960b6f657c92adab4931653f9dc0e94ed5da1975 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64e_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc64e_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64e_defconfig_powerpc 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:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/cgroup/cgroup-v1.c: In function 'cgroup1_mount': /kisskb/src/kernel/cgroup/cgroup-v1.c:1268:20: warning: 'root' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/bridge/br_netlink.c: In function 'br_afspec': /kisskb/src/net/bridge/br_netlink.c:635:7: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/nfsd/nfs4xdr.c: In function 'nfsd4_encode_components_esc': /kisskb/src/fs/nfsd/nfs4xdr.c:2043:9: warning: 'str' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1816:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1726:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:251:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:231:19: note: 'i' was declared here INFO: Uncompressed kernel (size 0xd84d08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) Image Name: Linux-4.16.0-rc4-g960b6f6 Created: Fri Apr 6 02:58:14 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5783103 Bytes = 5647.56 kB = 5.52 MB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc64e_defconfig_powerpc # Build took: 0:01:24.503393