# 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 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc885_ads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc885_ads_defconfig # make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc885_ads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Image Name: Linux-5.3.0-g3439595d5b85 Created: Fri Oct 4 12:43:05 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 1867816 Bytes = 1824.04 KiB = 1.78 MiB Load Address: 00400000 Entry Point: 00400204 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc885_ads_defconfig_powerpc-gcc5 # Build took: 0:00:45.862451