# git rev-parse -q --verify 480e535775c12c540e9dd9f581adca13d14e5554^{commit} 480e535775c12c540e9dd9f581adca13d14e5554 already have revision, skipping fetch # git checkout -q -f -B kisskb 480e535775c12c540e9dd9f581adca13d14e5554 # git clean -qxdf # < git log -1 # commit 480e535775c12c540e9dd9f581adca13d14e5554 # Author: Aneesh Kumar K.V # Date: Sat Mar 30 11:13:45 2019 +0530 # # powerpc/mm: Fix section mismatch warning # # This patch fix the below section mismatch warnings. # # WARNING: vmlinux.o(.text+0x2d1f44): Section mismatch in reference from the function devm_memremap_pages_release() to the function .meminit.text:arch_remove_memory() # WARNING: vmlinux.o(.text+0x2d265c): Section mismatch in reference from the function devm_memremap_pages() to the function .meminit.text:arch_add_memory() # # Signed-off-by: Aneesh Kumar K.V # Signed-off-by: Michael Ellerman # < /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 480e535775c12c540e9dd9f581adca13d14e5554 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc7448_hpc2_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc7448_hpc2_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc7448_hpc2_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- :1478:2: warning: #warning syscall pidfd_send_signal not implemented [-Wcpp] :1481:2: warning: #warning syscall io_uring_setup not implemented [-Wcpp] :1484:2: warning: #warning syscall io_uring_enter not implemented [-Wcpp] :1487:2: warning: #warning syscall io_uring_register not implemented [-Wcpp] /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/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 /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/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1658:3: warning: 'oldval' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/futex.c:1633:6: note: 'oldval' was declared here WARNING: vmlinux.o(.text+0x12e50): Section mismatch in reference from the function setup_kup() to the function .init.text:setup_kuep() The function setup_kup() references the function __init setup_kuep(). This is often because setup_kup lacks a __init annotation or the annotation of setup_kuep is wrong. WARNING: vmlinux.o(.text+0x12e58): Section mismatch in reference from the function setup_kup() to the function .init.text:setup_kuap() The function setup_kup() references the function __init setup_kuap(). This is often because setup_kup lacks a __init annotation or the annotation of setup_kuap is wrong. INFO: Uncompressed kernel (size 0x526248) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x515c3c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.1.0-rc3-g480e535775c1 Created: Sun Apr 21 21:16:26 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2608115 Bytes = 2546.99 KiB = 2.49 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.1.0-rc3-g480e535775c1 Created: Sun Apr 21 21:16:26 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2636809 Bytes = 2575.01 KiB = 2.51 MiB Load Address: 00600000 Entry Point: 006001c0 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc7448_hpc2_defconfig_powerpc-gcc4.6 # Build took: 0:00:38.935460