Buildresult: linus/s390-allnoconfig/s390x-gcc11 built on Dec 6 2022, 15:28
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Dec 6 2022, 15:28
Duration:
0:00:53.305305
Builder:
alpine1
Revision:
proc: proc_skip_spaces() shouldn't think it is working on C strings (
bce9332220bd677d83b19d21502776ad555a0e73)
Target:
linus/s390-allnoconfig/s390x-gcc11
Branch:
linus
Compiler:
s390x-gcc11
(s390-linux-gcc (GCC) 11.1.0 / GNU ld (GNU Binutils) 2.36.1)
Config:
allnoconfig
(
download
)
Log:
Download original
Possible warnings (1)
arch/s390/kernel/setup.c:524:9: warning: 'memcpy' offset [0, 127] is out of the bounds [0, 0] [-Warray-bounds]
Full Log
# git rev-parse -q --verify bce9332220bd677d83b19d21502776ad555a0e73^{commit} bce9332220bd677d83b19d21502776ad555a0e73 already have revision, skipping fetch # git checkout -q -f -B kisskb bce9332220bd677d83b19d21502776ad555a0e73 # git clean -qxdf # < git log -1 # commit bce9332220bd677d83b19d21502776ad555a0e73 # Author: Linus Torvalds <torvalds@linux-foundation.org> # Date: Mon Dec 5 12:09:06 2022 -0800 # # proc: proc_skip_spaces() shouldn't think it is working on C strings # # proc_skip_spaces() seems to think it is working on C strings, and ends # up being just a wrapper around skip_spaces() with a really odd calling # convention. # # Instead of basing it on skip_spaces(), it should have looked more like # proc_skip_char(), which really is the exact same function (except it # skips a particular character, rather than whitespace). So use that as # inspiration, odd coding and all. # # Now the calling convention actually makes sense and works for the # intended purpose. # # Reported-and-tested-by: Kyle Zeng <zengyhkyle@gmail.com> # Acked-by: Eric Dumazet <edumazet@google.com> # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux-ld --version # < git log --format=%s --max-count=1 bce9332220bd677d83b19d21502776ad555a0e73 # < make -s -j 160 ARCH=s390 O=/kisskb/build/linus_s390-allnoconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- allnoconfig # < make -s -j 160 ARCH=s390 O=/kisskb/build/linus_s390-allnoconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- help # make -s -j 160 ARCH=s390 O=/kisskb/build/linus_s390-allnoconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- olddefconfig # make -s -j 160 ARCH=s390 O=/kisskb/build/linus_s390-allnoconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- In function 'setup_lowcore_dat_on', inlined from 'setup_arch' at /kisskb/src/arch/s390/kernel/setup.c:1059:2: /kisskb/src/arch/s390/kernel/setup.c:524:9: warning: 'memcpy' offset [0, 127] is out of the bounds [0, 0] [-Warray-bounds] 524 | memcpy(abs_lc->cregs_save_area, S390_lowcore.cregs_save_area, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 525 | sizeof(abs_lc->cregs_save_area)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus_s390-allnoconfig_s390x-gcc11 # Build took: 0:00:53.305305
© Michael Ellerman 2006-2018.