# git rev-parse -q --verify c0842fbc1b18c7a044e6ff3e8fa78bfa822c7d1a^{commit} c0842fbc1b18c7a044e6ff3e8fa78bfa822c7d1a already have revision, skipping fetch # git checkout -q -f -B kisskb c0842fbc1b18c7a044e6ff3e8fa78bfa822c7d1a # git clean -qxdf # < git log -1 # commit c0842fbc1b18c7a044e6ff3e8fa78bfa822c7d1a # Author: Linus Torvalds # Date: Fri Jul 31 07:51:14 2020 +0200 # # random32: move the pseudo-random 32-bit definitions to prandom.h # # The addition of percpu.h to the list of includes in random.h revealed # some circular dependencies on arm64 and possibly other platforms. This # include was added solely for the pseudo-random definitions, which have # nothing to do with the rest of the definitions in this file but are # still there for legacy reasons. # # This patch moves the pseudo-random parts to linux/prandom.h and the # percpu.h include with it, which is now guarded by _LINUX_PRANDOM_H and # protected against recursive inclusion. # # A further cleanup step would be to remove this from # entirely, and make people who use the prandom infrastructure include # just the new header file. That's a bit of a churn patch, but grepping # for "prandom_" and "next_pseudo_random32" "struct rnd_state" should # catch most users. # # But it turns out that that nice cleanup step is fairly painful, because # a _lot_ of code currently seems to depend on the implicit include of # , which can currently come in a lot of ways, including # such fairly core headfers as . # # So the "nice cleanup" part may or may never happen. # # Fixes: 1c9df907da83 ("random: fix circular include dependency on arm64 after addition of percpu.h") # Tested-by: Guenter Roeck # Acked-by: Willy Tarreau # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 c0842fbc1b18c7a044e6ff3e8fa78bfa822c7d1a # < make -s -j 80 ARCH=powerpc O=/kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # < make -s -j 80 ARCH=powerpc O=/kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 80 ARCH=powerpc O=/kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-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:12, 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 0xcd5778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd5778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd5778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd5778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd5778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd5778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd5778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd5778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd5778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd5778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd5778) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0xcd5778) 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 0xcd5778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd5778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd5778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc4f74) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:11:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6290621 Bytes = 6143.18 KiB = 6.00 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:11:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6258831 Bytes = 6112.14 KiB = 5.97 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:11:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6291594 Bytes = 6144.13 KiB = 6.00 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:11:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6292027 Bytes = 6144.56 KiB = 6.00 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:11:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6291569 Bytes = 6144.11 KiB = 6.00 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:11:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6289954 Bytes = 6142.53 KiB = 6.00 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:11:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6289982 Bytes = 6142.56 KiB = 6.00 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:11:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6292148 Bytes = 6144.68 KiB = 6.00 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:11:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6290619 Bytes = 6143.18 KiB = 6.00 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:11:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6289916 Bytes = 6142.50 KiB = 6.00 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:11:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6289953 Bytes = 6142.53 KiB = 6.00 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:11:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6292117 Bytes = 6144.65 KiB = 6.00 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:11:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6290841 Bytes = 6143.40 KiB = 6.00 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:11:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6292564 Bytes = 6145.08 KiB = 6.00 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:11:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6292155 Bytes = 6144.68 KiB = 6.00 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-gc0842fbc1b18 Created: Tue Aug 4 22:11:44 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6289952 Bytes = 6142.53 KiB = 6.00 MiB Load Address: 00d00000 Entry Point: 00d002a4 Completed OK # rm -rf /kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.9 # Build took: 0:02:13.440204