# git rev-parse -q --verify 9308f4c88c0c426ec58f0ef0d8cec99cd6a40df2^{commit} 9308f4c88c0c426ec58f0ef0d8cec99cd6a40df2 already have revision, skipping fetch # git checkout -q -f -B kisskb 9308f4c88c0c426ec58f0ef0d8cec99cd6a40df2 # git clean -qxdf # < git log -1 # commit 9308f4c88c0c426ec58f0ef0d8cec99cd6a40df2 # Author: Corentin Labbe # Date: Tue Jan 8 12:52:50 2019 +0000 # # powerpc/dts: Build virtex dtbs # # I wanted to test the virtex440-ml507 qemu machine and found that the # dtb for it was not built. # # All powerpc dtbs are only built when CONFIG_OF_ALL_DTBS is set which # depend on COMPILE_TEST. # # This patch enables building of the virtex dtbs when # CONFIG_XILINX_VIRTEX440_GENERIC_BOARD is enabled. # # Signed-off-by: Corentin Labbe # [mpe: Put both targets on a single line] # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 9308f4c88c0c426ec58f0ef0d8cec99cd6a40df2 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/arch/powerpc/kernel/ptrace.c:24: In function 'user_regset_copyin', inlined from 'vr_set' at /kisskb/src/arch/powerpc/kernel/ptrace.c:619:9: /kisskb/src/include/linux/regset.h:295:4: error: 'memcpy' offset [-527, -529] is out of the bounds [0, 16] of object 'vrsave' with type 'union ' [-Werror=array-bounds] memcpy(data, *kbuf, copy); ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kernel/ptrace.c: In function 'vr_set': /kisskb/src/arch/powerpc/kernel/ptrace.c:614:5: note: 'vrsave' declared here } vrsave; ^~~~~~ In file included from /kisskb/src/arch/powerpc/kernel/ptrace.c:24: In function 'user_regset_copyout', inlined from 'vr_get' at /kisskb/src/arch/powerpc/kernel/ptrace.c:572:9: /kisskb/src/include/linux/regset.h:270:4: error: 'memcpy' offset [-527, -529] is out of the bounds [0, 16] of object 'vrsave' with type 'union ' [-Werror=array-bounds] memcpy(*kbuf, data, copy); ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kernel/ptrace.c: In function 'vr_get': /kisskb/src/arch/powerpc/kernel/ptrace.c:567:5: note: 'vrsave' declared here } vrsave; ^~~~~~ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:277: arch/powerpc/kernel/ptrace.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:492: arch/powerpc/kernel] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1042: arch/powerpc] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/fs/cifs/cifssmb.c: In function '__cifs_reconnect_tcon': /kisskb/src/fs/cifs/cifssmb.c:186:1: warning: the frame size of 1328 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/fs/cifs/smb2pdu.c: In function '__smb2_reconnect': /kisskb/src/fs/cifs/smb2pdu.c:220:1: warning: the frame size of 1328 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ In file included from /kisskb/src/sound/ppc/pmac.h:25, from /kisskb/src/sound/ppc/awacs.c:29: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:223:9: warning: 'speaker_vol' may be used uninitialized in this function [-Wmaybe-uninitialized] return _snd_ctl_add_slave(master, slave, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/sound/ppc/awacs.c:886:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^~~~~~~~~~~ make: *** [Makefile:152: sub-make] Error 2 Command 'make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 # Build took: 0:03:03.481024