# git rev-parse -q --verify 72cc6f88d63076ad3d8acc00a3090ba0d1561a77^{commit} 72cc6f88d63076ad3d8acc00a3090ba0d1561a77 already have revision, skipping fetch # git checkout -q -f -B kisskb 72cc6f88d63076ad3d8acc00a3090ba0d1561a77 # git clean -qxdf # < git log -1 # commit 72cc6f88d63076ad3d8acc00a3090ba0d1561a77 # Author: Arnd Bergmann # Date: Thu Apr 30 23:30:54 2020 +0200 # # media: s5k5baf: avoid gcc-10 zero-length-bounds warning # # gcc-10 warns about accessing a zero-length struct member: # # drivers/media/i2c/s5k5baf.c: In function 's5k5baf_load_setfile': # drivers/media/i2c/s5k5baf.c:390:13: warning: array subscript 65535 is outside the bounds of an interior zero-length array 'struct [0]' [-Wzero-length-bounds] # 390 | if (f->seq[i].offset + d <= end) # | ~~~~~~^~~ # # This should really be a flexible-array member, but the structure # already has one. I experimentally confirmed that swapping the two # avoids the warning, as the 'data[]' array is not accessed like this. # # Fixes: 3ba225b506a2 ("treewide: Replace zero-length array with flexible-array member") # Fixes: 7d459937dc09 ("[media] Add driver for Samsung S5K5BAF camera sensor") # Signed-off-by: Arnd Bergmann # Signed-off-by: Gustavo A. R. Silva # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux-ld --version # < git log --format=%s --max-count=1 72cc6f88d63076ad3d8acc00a3090ba0d1561a77 # < make -s -j 32 ARCH=parisc O=/kisskb/build/gustavoars_generic-32bit_defconfig_parisc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux- generic-32bit_defconfig # < make -s -j 32 ARCH=parisc O=/kisskb/build/gustavoars_generic-32bit_defconfig_parisc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux- help hppa-linux-gcc: error: missing argument to '-Wframe-larger-than=' # make -s -j 32 ARCH=parisc O=/kisskb/build/gustavoars_generic-32bit_defconfig_parisc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux- olddefconfig # make -s -j 32 ARCH=parisc O=/kisskb/build/gustavoars_generic-32bit_defconfig_parisc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux- /kisskb/src/block/genhd.c: In function 'diskstats_show': /kisskb/src/block/genhd.c:1617:1: warning: the frame size of 1720 bytes is larger than 1280 bytes [-Wframe-larger-than=] } ^ Completed OK # rm -rf /kisskb/build/gustavoars_generic-32bit_defconfig_parisc-gcc8 # Build took: 0:01:23.382697