# git rev-parse -q --verify 4caf4ebfe4cf0ea262eb9e829bb254a6a6d58acc^{commit} 4caf4ebfe4cf0ea262eb9e829bb254a6a6d58acc already have revision, skipping fetch # git checkout -q -f -B kisskb 4caf4ebfe4cf0ea262eb9e829bb254a6a6d58acc # git clean -qxdf # < git log -1 # commit 4caf4ebfe4cf0ea262eb9e829bb254a6a6d58acc # Author: Linus Torvalds # Date: Fri Jan 4 09:58:25 2019 -0800 # # Fix access_ok() fallout for sparc32 and powerpc # # These two architectures actually had an intentional use of the 'type' # argument to access_ok() just to avoid warnings. # # I had actually noticed the powerpc one, but forgot to then fix it up. # And I missed the sparc32 case entirely. # # This is hopefully all of it. # # Reported-by: Mathieu Malaterre # Reported-by: Guenter Roeck # Fixes: 96d4f267e40f ("Remove 'type' argument from access_ok() function") # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux-ld --version # < git log --format=%s --max-count=1 4caf4ebfe4cf0ea262eb9e829bb254a6a6d58acc # < make -s -j 48 ARCH=parisc O=/kisskb/build/linus_a500_defconfig_parisc64 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux- a500_defconfig # make -s -j 48 ARCH=parisc O=/kisskb/build/linus_a500_defconfig_parisc64 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux- :1336:2: warning: #warning syscall rseq not implemented [-Wcpp] In file included from /kisskb/src/arch/parisc/include/asm/atomic.h:10, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/arch/parisc/include/asm/bitops.h:13, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/scsi/scsi_debug.c:23: /kisskb/src/drivers/scsi/scsi_debug.c: In function 'resp_start_stop': /kisskb/src/arch/parisc/include/asm/cmpxchg.h:48:3: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))) /kisskb/src/arch/parisc/include/asm/atomic.h:78:30: note: in expansion of macro 'xchg' #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) ^~~~ /kisskb/src/drivers/scsi/scsi_debug.c:1624:2: note: in expansion of macro 'atomic_xchg' atomic_xchg(&devip->stopped, stop); ^~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus_a500_defconfig_parisc64 # Build took: 0:01:07.791618