# git rev-parse -q --verify 3439595d5b85f0af565f5a58e495d885537fb227^{commit} 3439595d5b85f0af565f5a58e495d885537fb227 already have revision, skipping fetch # git checkout -q -f -B kisskb 3439595d5b85f0af565f5a58e495d885537fb227 # git clean -qxdf # < git log -1 # commit 3439595d5b85f0af565f5a58e495d885537fb227 # Author: Desnes A. Nunes do Rosario # Date: Thu Oct 3 18:10:10 2019 -0300 # # selftests/powerpc: Fix compile error on tlbie_test due to newer gcc # # Newer versions of GCC (>= 9) demand that the size of the string to be # copied must be explicitly smaller than the size of the destination. # Thus, the NULL char has to be taken into account on strncpy. # # This will avoid the following compiling error: # # tlbie_test.c: In function 'main': # tlbie_test.c:639:4: error: 'strncpy' specified bound 100 equals destination size # strncpy(logdir, optarg, LOGDIR_NAME_SIZE); # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # cc1: all warnings being treated as errors # # Signed-off-by: Desnes A. Nunes do Rosario # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20191003211010.9711-1-desnesn@linux.ibm.com # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 3439595d5b85f0af565f5a58e495d885537fb227 # < make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_40x_klondike_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 40x/klondike_defconfig # make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_40x_klondike_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/kernel/head_40x.S: Assembler messages: /kisskb/src/arch/powerpc/kernel/head_40x.S:802: Warning: invalid register expression Completed OK # rm -rf /kisskb/build/powerpc-fixes_40x_klondike_defconfig_powerpc-gcc5 # Build took: 0:00:38.367539