# git rev-parse -q --verify 38bc7cb6a88c5806e27890e4a3784a5aaa2ae966^{commit} 38bc7cb6a88c5806e27890e4a3784a5aaa2ae966 already have revision, skipping fetch # git checkout -q -f -B kisskb 38bc7cb6a88c5806e27890e4a3784a5aaa2ae966 # git clean -qxdf # < git log -1 # commit 38bc7cb6a88c5806e27890e4a3784a5aaa2ae966 # Author: Andrey Abramov # Date: Tue Apr 2 23:47:22 2019 +0300 # # powerpc: module_[32|64].c: replace swap function with built-in one # # Replace relaswap with built-in one, because relaswap # does a simple byte to byte swap. # # Since Spectre mitigations have made indirect function calls more # expensive, and the default simple byte copies swap is implemented # without them, an "optimized" custom swap function is now # a waste of time as well as code. # # Signed-off-by: Andrey Abramov # Reviewed by: George Spelvin # Acked-by: Michael Ellerman (powerpc) # Link: https://lore.kernel.org/r/994931554238042@iva8-b333b7f98ab0.qloud-c.yandex.net # < /opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 38bc7cb6a88c5806e27890e4a3784a5aaa2ae966 # < make -s -j 48 ARCH=sh O=/kisskb/build/powerpc-next_sh-defconfig_sh4-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- defconfig # < make -s -j 48 ARCH=sh O=/kisskb/build/powerpc-next_sh-defconfig_sh4-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 48 ARCH=sh O=/kisskb/build/powerpc-next_sh-defconfig_sh4-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 48 ARCH=sh O=/kisskb/build/powerpc-next_sh-defconfig_sh4-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:385: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:388: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/mm/init.c: In function 'arch_add_memory': /kisskb/src/arch/sh/mm/init.c:416:3: error: expected ')' before 'return' /kisskb/src/arch/sh/mm/init.c:424:1: error: expected expression before '}' token /kisskb/src/arch/sh/mm/init.c:413:6: error: unused variable 'ret' [-Werror=unused-variable] /kisskb/src/arch/sh/mm/init.c:412:16: error: unused variable 'nr_pages' [-Werror=unused-variable] /kisskb/src/arch/sh/mm/init.c:411:16: error: unused variable 'start_pfn' [-Werror=unused-variable] /kisskb/src/arch/sh/mm/init.c:424:1: error: control reaches end of non-void function [-Werror=return-type] cc1: all warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:266: arch/sh/mm/init.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1722: arch/sh/mm] Error 2 make[1]: *** Waiting for unfinished jobs.... /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/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/mm/vmstat.c: In function 'sysctl_vm_numa_stat_handler': /kisskb/src/mm/vmstat.c:90:5: warning: 'oldval' may be used uninitialized in this function [-Wuninitialized] /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/kernel/trace/trace_events.c: In function 'event_create_dir': /kisskb/src/kernel/trace/trace_events.c:2189:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/ext4/readpage.c: In function 'ext4_mpage_readpages': /kisskb/src/fs/ext4/readpage.c:416:1: warning: the frame size of 1180 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/fs/ext4/extents.c: In function 'ext4_convert_unwritten_io_end_vec': /kisskb/src/fs/ext4/extents.c:4774:23: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/mpage.c: In function '__mpage_writepage': /kisskb/src/fs/mpage.c:690:1: warning: the frame size of 1152 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/fs/mpage.c: In function 'do_mpage_readpage': /kisskb/src/fs/mpage.c:338:1: warning: the frame size of 1108 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1676:3: warning: 'oldval' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/futex.c:1652:6: note: 'oldval' was declared here /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1774:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/io_uring.c: In function '__io_sqe_files_update': /kisskb/src/fs/io_uring.c:6701:13: warning: 'err' may be used uninitialized in this function [-Wuninitialized] make: *** [Makefile:180: sub-make] Error 2 Command 'make -s -j 48 ARCH=sh O=/kisskb/build/powerpc-next_sh-defconfig_sh4-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_sh-defconfig_sh4-gcc4.6 # Build took: 0:00:25.989596