# git rev-parse -q --verify a0aebae07f211c05d64be886e56d352eea86350b^{commit} a0aebae07f211c05d64be886e56d352eea86350b already have revision, skipping fetch # git checkout -q -f -B kisskb a0aebae07f211c05d64be886e56d352eea86350b # git clean -qxdf # < git log -1 # commit a0aebae07f211c05d64be886e56d352eea86350b # Author: Joel Stanley # Date: Mon Oct 22 22:39:26 2018 +1030 # # selftests: powerpc: Fix warning for security subdir # # typing 'make' inside tools/testing/selftests/powerpc gave a build # warning: # # BUILD_TARGET=tools/testing/selftests/powerpc/security; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C security all # make[1]: Entering directory 'tools/testing/selftests/powerpc/security' # ../../lib.mk:20: ../../../../scripts/subarch.include: No such file or directory # make[1]: *** No rule to make target '../../../../scripts/subarch.include'. # make[1]: Failed to remake makefile '../../../../scripts/subarch.include'. # # The build is one level deeper than lib.mk thinks it is. Set top_srcdir # to set things straight. # # Note that the test program is still built. # # Signed-off-by: Joel Stanley # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 a0aebae07f211c05d64be886e56d352eea86350b # < make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-next_powernv_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- powernv_defconfig # make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-next_powernv_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/fs/cifs/cifssmb.c: In function 'CIFSSMBNegotiate': /kisskb/src/fs/cifs/cifssmb.c:605:3: warning: 'strncpy' writing 16 bytes into a region of size 1 overflows the destination [-Wstringop-overflow=] strncpy(pSMB->DialectsArray+count, protocols[i].name, 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ WARNING: modpost: Found 2 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' Completed OK # rm -rf /kisskb/build/powerpc-next_powernv_defconfig_powerpc-gcc8 # Build took: 0:05:44.637356