# git rev-parse -q --verify 02a4db8feb0e35a215b6b803bce0ab8a1fd32838^{commit} 02a4db8feb0e35a215b6b803bce0ab8a1fd32838 already have revision, skipping fetch # git checkout -q -f -B kisskb 02a4db8feb0e35a215b6b803bce0ab8a1fd32838 # git clean -qxdf # < git log -1 # commit 02a4db8feb0e35a215b6b803bce0ab8a1fd32838 # Author: Michael Ellerman # Date: Wed Aug 19 11:57:04 2020 +1000 # # powerpc/64: Remove unused generic_secondary_thread_init() # # The last caller was removed in 2014 in commit fb5a515704d7 ("powerpc: # Remove platforms/wsp and associated pieces"). # # As Jordan noticed even though there are no callers, the code above in # fsl_secondary_thread_init() falls through into # generic_secondary_thread_init(). So we can remove the _GLOBAL but not # the body of the function. # # However because fsl_secondary_thread_init() is inside #ifdef # CONFIG_PPC_BOOK3E, we can never reach the body of # generic_secondary_thread_init() unless CONFIG_PPC_BOOK3E is enabled, # so we can wrap the whole thing in a single #ifdef. # # Signed-off-by: Michael Ellerman # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20200819015704.1976364-1-mpe@ellerman.id.au # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 02a4db8feb0e35a215b6b803bce0ab8a1fd32838 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/kernel/rcu/update.c:591: /kisskb/src/kernel/rcu/tasks.h:593:13: warning: 'show_rcu_tasks_classic_gp_kthread' defined but not used [-Wunused-function] 593 | static void show_rcu_tasks_classic_gp_kthread(void) { } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:37, from /kisskb/src/drivers/net/ethernet/sfc/net_driver.h:13, from /kisskb/src/drivers/net/ethernet/sfc/ef100.c:12: /kisskb/src/drivers/net/ethernet/sfc/ef100.c: In function 'ef100_pci_parse_continue_entry': /kisskb/src/include/linux/dma-mapping.h:139:25: warning: conversion from 'long long unsigned int' to 'dma_addr_t' {aka 'unsigned int'} changes value from '18446744073709551615' to '4294967295' [-Woverflow] 139 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/sfc/ef100.c:145:6: note: in expansion of macro 'DMA_BIT_MASK' 145 | DMA_BIT_MASK(ESF_GZ_TX_SEND_ADDR_WIDTH), | ^~~~~~~~~~~~ /kisskb/src/include/linux/dma-mapping.h:139:25: warning: conversion from 'long long unsigned int' to 'dma_addr_t' {aka 'unsigned int'} changes value from '18446744073709551615' to '4294967295' [-Woverflow] 139 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/sfc/ef100.c:163:6: note: in expansion of macro 'DMA_BIT_MASK' 163 | DMA_BIT_MASK(ESF_GZ_TX_SEND_ADDR_WIDTH), | ^~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/sfc/ef100.c: In function 'ef100_pci_parse_xilinx_cap': /kisskb/src/include/linux/dma-mapping.h:139:25: warning: conversion from 'long long unsigned int' to 'dma_addr_t' {aka 'unsigned int'} changes value from '18446744073709551615' to '4294967295' [-Woverflow] 139 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/sfc/ef100.c:337:5: note: in expansion of macro 'DMA_BIT_MASK' 337 | DMA_BIT_MASK(ESF_GZ_TX_SEND_ADDR_WIDTH), | ^~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/sfc/ef100.c: In function 'ef100_pci_probe': /kisskb/src/include/linux/dma-mapping.h:139:25: warning: conversion from 'long long unsigned int' to 'dma_addr_t' {aka 'unsigned int'} changes value from '18446744073709551615' to '4294967295' [-Woverflow] 139 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/sfc/ef100.c:498:5: note: in expansion of macro 'DMA_BIT_MASK' 498 | DMA_BIT_MASK(ESF_GZ_TX_SEND_ADDR_WIDTH), | ^~~~~~~~~~~~ INFO: Uncompressed kernel (size 0xc2dab8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2dab8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2dab8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2dab8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2dab8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2dab8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2dab8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2dab8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc1d3d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2dab8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2dab8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc1d3d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.9.0-rc1+ Created: Mon Aug 24 02:45:20 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5682451 Bytes = 5549.27 KiB = 5.42 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.9.0-rc1+ Created: Mon Aug 24 02:45:20 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5716520 Bytes = 5582.54 KiB = 5.45 MiB Load Address: 00d00000 Entry Point: 00d002ac Image Name: Linux-5.9.0-rc1+ Created: Mon Aug 24 02:45:20 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5715892 Bytes = 5581.93 KiB = 5.45 MiB Load Address: 00d00000 Entry Point: 00d002ac Image Name: Linux-5.9.0-rc1+ Created: Mon Aug 24 02:45:21 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5716390 Bytes = 5582.41 KiB = 5.45 MiB Load Address: 00d00000 Entry Point: 00d002ac Image Name: Linux-5.9.0-rc1+ Created: Mon Aug 24 02:45:21 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5716173 Bytes = 5582.20 KiB = 5.45 MiB Load Address: 00d00000 Entry Point: 00d002ac Image Name: Linux-5.9.0-rc1+ Created: Mon Aug 24 02:45:21 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5717472 Bytes = 5583.47 KiB = 5.45 MiB Load Address: 00d00000 Entry Point: 00d002ac Image Name: Linux-5.9.0-rc1+ Created: Mon Aug 24 02:45:21 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5716751 Bytes = 5582.76 KiB = 5.45 MiB Load Address: 00d00000 Entry Point: 00d002ac Image Name: Linux-5.9.0-rc1+ Created: Mon Aug 24 02:45:21 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5717510 Bytes = 5583.51 KiB = 5.45 MiB Load Address: 00d00000 Entry Point: 00d0090c Image Name: Linux-5.9.0-rc1+ Created: Mon Aug 24 02:45:22 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5717772 Bytes = 5583.76 KiB = 5.45 MiB Load Address: 00d00000 Entry Point: 00d0090c Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc9 # Build took: 0:04:21.449732