# git rev-parse -q --verify 1f2cfdd349b7647f438c1e552dc1b983da86d830^{commit} 1f2cfdd349b7647f438c1e552dc1b983da86d830 already have revision, skipping fetch # git checkout -q -f -B kisskb 1f2cfdd349b7647f438c1e552dc1b983da86d830 # git clean -qxdf # < git log -1 # commit 1f2cfdd349b7647f438c1e552dc1b983da86d830 # Author: Mickaël Salaün # Date: Thu Feb 3 15:50:29 2022 +0100 # # printk: Fix incorrect __user type in proc_dointvec_minmax_sysadmin() # # The move of proc_dointvec_minmax_sysadmin() from kernel/sysctl.c to # kernel/printk/sysctl.c introduced an incorrect __user attribute to the # buffer argument. I spotted this change in [1] as well as the kernel # test robot. Revert this change to please sparse: # # kernel/printk/sysctl.c:20:51: warning: incorrect type in argument 3 (different address spaces) # kernel/printk/sysctl.c:20:51: expected void * # kernel/printk/sysctl.c:20:51: got void [noderef] __user *buffer # # Fixes: faaa357a55e0 ("printk: move printk sysctl to printk/sysctl.c") # Link: https://lore.kernel.org/r/20220104155024.48023-2-mic@digikod.net [1] # Reported-by: kernel test robot # Cc: Andrew Morton # Cc: John Ogness # Cc: Luis Chamberlain # Cc: Petr Mladek # Cc: Sergey Senozhatsky # Cc: Steven Rostedt # Cc: Xiaoming Ni # Signed-off-by: Mickaël Salaün # Link: https://lore.kernel.org/r/20220203145029.272640-1-mic@digikod.net # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 1f2cfdd349b7647f438c1e552dc1b983da86d830 # < make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_sparc64-defconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sparc64-linux/bin/sparc64-linux- defconfig # < make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_sparc64-defconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_sparc64-defconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_sparc64-defconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sparc64-linux/bin/sparc64-linux- :1517:2: warning: #warning syscall clone3 not implemented [-Wcpp] WARNING: modpost: EXPORT symbol "_mcount" [vmlinux] version ... Is "_mcount" prototyped in ? kernel: arch/sparc/boot/image is ready kernel: arch/sparc/boot/zImage is ready Completed OK # rm -rf /kisskb/build/linus_sparc64-defconfig_sparc64-gcc11 # Build took: 0:01:01.987808