# git rev-parse -q --verify 4b377b4868ef17b040065bd468668c707d2477a5^{commit} 4b377b4868ef17b040065bd468668c707d2477a5 already have revision, skipping fetch # git checkout -q -f -B kisskb 4b377b4868ef17b040065bd468668c707d2477a5 # git clean -qxdf # < git log -1 # commit 4b377b4868ef17b040065bd468668c707d2477a5 # Author: Linus Torvalds # Date: Fri May 17 19:17:55 2024 -0700 # # kprobe/ftrace: fix build error due to bad function definition # # Commit 1a7d0890dd4a ("kprobe/ftrace: bail out if ftrace was killed") # introduced a bad K&R function definition, which we haven't accepted in a # long long time. # # Gcc seems to let it slide, but clang notices with the appropriate error: # # kernel/kprobes.c:1140:24: error: a function declaration without a prototype is deprecated in all > # 1140 | void kprobe_ftrace_kill() # | ^ # | void # # but this commit was apparently never in linux-next before it was sent # upstream, so it didn't get the appropriate build test coverage. # # Fixes: 1a7d0890dd4a kprobe/ftrace: bail out if ftrace was killed # Cc: Stephen Brennan # Cc: Masami Hiramatsu (Google) # Cc: Guo Ren # Cc: Steven Rostedt (Google) # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/hppa-linux/bin/hppa-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/hppa-linux/bin/hppa-linux-ld --version # < git log --format=%s --max-count=1 4b377b4868ef17b040065bd468668c707d2477a5 # make -s -j 32 ARCH=parisc O=/kisskb/build/linus_defconfig_parisc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/hppa-linux/bin/hppa-linux- defconfig # < make -s -j 32 ARCH=parisc O=/kisskb/build/linus_defconfig_parisc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/hppa-linux/bin/hppa-linux- help # make -s -j 32 ARCH=parisc O=/kisskb/build/linus_defconfig_parisc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/hppa-linux/bin/hppa-linux- olddefconfig # make -s -j 32 ARCH=parisc O=/kisskb/build/linus_defconfig_parisc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/hppa-linux/bin/hppa-linux- /kisskb/src/drivers/gpu/drm/nouveau/nvif/object.c: In function 'nvif_object_mthd': /kisskb/src/drivers/gpu/drm/nouveau/nvif/object.c:161:9: warning: 'memcpy' accessing 4294967264 or more bytes at offsets 0 and 32 overlaps 6442450881 bytes at offset -2147483617 [-Wrestrict] 161 | memcpy(data, args->mthd.data, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/gpu/drm/nouveau/nvif/object.c: In function 'nvif_object_ctor': /kisskb/src/drivers/gpu/drm/nouveau/nvif/object.c:298:17: warning: 'memcpy' accessing 4294967240 or more bytes at offsets 0 and 56 overlaps 6442450833 bytes at offset -2147483593 [-Wrestrict] 298 | memcpy(data, args->new.data, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus_defconfig_parisc-gcc13 # Build took: 0:01:44.864301