# git rev-parse -q --verify 0b26eadbf200abf6c97c6d870286c73219cdac65^{commit} 0b26eadbf200abf6c97c6d870286c73219cdac65 already have revision, skipping fetch # git checkout -q -f -B kisskb 0b26eadbf200abf6c97c6d870286c73219cdac65 # git clean -qxdf # < git log -1 # commit 0b26eadbf200abf6c97c6d870286c73219cdac65 # Author: Linus Torvalds # Date: Thu Jun 29 20:41:24 2023 -0700 # # sparc32: fix lock_mm_and_find_vma() conversion # # The sparc32 conversion to lock_mm_and_find_vma() in commit a050ba1e7422 # ("mm/fault: convert remaining simple cases to lock_mm_and_find_vma()") # missed the fact that we didn't actually have a 'regs' pointer available # in the 'force_user_fault()' case. # # It's there in the regular page fault path ("do_sparc_fault()"), but not # the window underflow/overflow paths. # # Which is all fine - we can just pass in a NULL pointer. The register # state is only used to avoid deadlock with kernel faults, which is not # the case for any of these register window faults. # # Reported-by: Stephen Rothwell # Fixes: a050ba1e7422 ("mm/fault: convert remaining simple cases to lock_mm_and_find_vma()") # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 0b26eadbf200abf6c97c6d870286c73219cdac65 # make -s -j 40 ARCH=sh O=/kisskb/build/linus_se7619_defconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- se7619_defconfig # < make -s -j 40 ARCH=sh O=/kisskb/build/linus_se7619_defconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 40 ARCH=sh O=/kisskb/build/linus_se7619_defconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 40 ARCH=sh O=/kisskb/build/linus_se7619_defconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/drivers/char/mem.c: In function 'read_mem': /kisskb/src/drivers/char/mem.c:164:25: error: implicit declaration of function 'unxlate_dev_mem_ptr'; did you mean 'xlate_dev_mem_ptr'? [-Werror=implicit-function-declaration] 164 | unxlate_dev_mem_ptr(p, ptr); | ^~~~~~~~~~~~~~~~~~~ | xlate_dev_mem_ptr cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:252: drivers/char/mem.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:494: drivers/char] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:494: drivers] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:2032: .] Error 2 make: *** [Makefile:226: __sub-make] Error 2 Command 'make -s -j 40 ARCH=sh O=/kisskb/build/linus_se7619_defconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_se7619_defconfig_sh4-gcc11 # Build took: 0:00:15.627655