# git rev-parse -q --verify 45591da765885f7320a111d290b3a28a23eed359^{commit} 45591da765885f7320a111d290b3a28a23eed359 already have revision, skipping fetch # git checkout -q -f -B kisskb 45591da765885f7320a111d290b3a28a23eed359 # git clean -qxdf # < git log -1 # commit 45591da765885f7320a111d290b3a28a23eed359 # Author: Stephen Rothwell # Date: Wed Apr 22 15:41:29 2020 +1000 # # powerpc/vas: Include linux/types.h in uapi/asm/vas-api.h # # allyesconfig fails with: # ./usr/include/asm/vas-api.h:15:2: error: unknown type name '__u32' # 15 | __u32 version; # | ^~~~~ # ./usr/include/asm/vas-api.h:16:2: error: unknown type name '__s16' # 16 | __s16 vas_id; /* specific instance of vas or -1 for default */ # | ^~~~~ # ./usr/include/asm/vas-api.h:17:2: error: unknown type name '__u16' # 17 | __u16 reserved1; # | ^~~~~ # ./usr/include/asm/vas-api.h:18:2: error: unknown type name '__u64' # 18 | __u64 flags; /* Future use */ # | ^~~~~ # ./usr/include/asm/vas-api.h:19:2: error: unknown type name '__u64' # 19 | __u64 reserved2[6]; # | ^~~~~ # # uapi headers should be self contained, so add an include of # linux/types.h. # # Fixes: 45f25a79fe50 ("powerpc/vas: Define VAS_TX_WIN_OPEN ioctl API") # Signed-off-by: Stephen Rothwell # Acked-by: Haren Myneni # [mpe: Flesh out change log from linux-next error report] # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20200422154129.11f988fd@canb.auug.org.au # < /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 45591da765885f7320a111d290b3a28a23eed359 # < make -s -j 80 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 80 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 80 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 80 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:267: 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/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/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/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/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/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/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/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 '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/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 80 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:26.655546