# 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_mpc85xx_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_smp_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:11:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xcc3d60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc3d60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc3d60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc3d60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc3d60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc3d60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc3d60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc3d60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc3d60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc3d60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc3d60) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0xcc3d60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc3d60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc3d60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc3d60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcb352c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.3.0-g3439595d5b85 Created: Fri Oct 4 12:58:45 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6298385 Bytes = 6150.77 KiB = 6.01 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-g3439595d5b85 Created: Fri Oct 4 12:58:45 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6299377 Bytes = 6151.74 KiB = 6.01 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-g3439595d5b85 Created: Fri Oct 4 12:58:45 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6298767 Bytes = 6151.14 KiB = 6.01 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-g3439595d5b85 Created: Fri Oct 4 12:58:45 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6298599 Bytes = 6150.98 KiB = 6.01 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-g3439595d5b85 Created: Fri Oct 4 12:58:45 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6299140 Bytes = 6151.50 KiB = 6.01 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-g3439595d5b85 Created: Fri Oct 4 12:58:45 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6298598 Bytes = 6150.97 KiB = 6.01 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-g3439595d5b85 Created: Fri Oct 4 12:58:45 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6298122 Bytes = 6150.51 KiB = 6.01 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-g3439595d5b85 Created: Fri Oct 4 12:58:45 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6267351 Bytes = 6120.46 KiB = 5.98 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.3.0-g3439595d5b85 Created: Fri Oct 4 12:58:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6298233 Bytes = 6150.62 KiB = 6.01 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-g3439595d5b85 Created: Fri Oct 4 12:58:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6298322 Bytes = 6150.71 KiB = 6.01 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-g3439595d5b85 Created: Fri Oct 4 12:58:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6297849 Bytes = 6150.24 KiB = 6.01 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-g3439595d5b85 Created: Fri Oct 4 12:58:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6299237 Bytes = 6151.60 KiB = 6.01 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-g3439595d5b85 Created: Fri Oct 4 12:58:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6298518 Bytes = 6150.90 KiB = 6.01 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-g3439595d5b85 Created: Fri Oct 4 12:58:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6297546 Bytes = 6149.95 KiB = 6.01 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-g3439595d5b85 Created: Fri Oct 4 12:58:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6298160 Bytes = 6150.55 KiB = 6.01 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-g3439595d5b85 Created: Fri Oct 4 12:58:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6298607 Bytes = 6150.98 KiB = 6.01 MiB Load Address: 00d00000 Entry Point: 00d002a4 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-gcc5 # Build took: 0:02:34.917797