# 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 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc512x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc512x_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc512x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/drivers/mtd/nand/raw/mpc5121_nfc.c: In function 'ads5121_select_chip': /kisskb/src/drivers/mtd/nand/raw/mpc5121_nfc.c:293:19: warning: unused variable 'mtd' [-Wunused-variable] struct mtd_info *mtd = nand_to_mtd(nand); ^ INFO: Uncompressed kernel (size 0x6759e0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-5.3.0-g3439595d5b85 Created: Fri Oct 4 13:01:56 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3317526 Bytes = 3239.77 KiB = 3.16 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc512x_defconfig_powerpc-gcc5 # Build took: 0:00:58.770367