# git rev-parse -q --verify 9d7b1f1867a15f1e1f3fad79777b40a70065b280^{commit} 9d7b1f1867a15f1e1f3fad79777b40a70065b280 already have revision, skipping fetch # git checkout -q -f -B kisskb 9d7b1f1867a15f1e1f3fad79777b40a70065b280 # git clean -qxdf # < git log -1 # commit 9d7b1f1867a15f1e1f3fad79777b40a70065b280 # Author: Aneesh Kumar K.V # Date: Tue Apr 10 14:21:26 2018 +0530 # # powerpc/8xx: Build fix with Hugetlbfs enabled # # 8xx use slice code when hugetlbfs is enabled. We missed a header include on # 8xx which resulted in the below build failure. # # config: mpc885_ads_defconfig + CONFIG_HUGETLBFS # # CC arch/powerpc/mm/slice.o # arch/powerpc/mm/slice.c: In function 'slice_get_unmapped_area': # arch/powerpc/mm/slice.c:655:2: error: implicit declaration of function 'need_extra_context' [-Werror=implicit-function-declaration] # arch/powerpc/mm/slice.c:656:3: error: implicit declaration of function 'alloc_extended_context' [-Werror=implicit-function-declaration] # cc1: all warnings being treated as errors # make[1]: *** [arch/powerpc/mm/slice.o] Error 1 # make: *** [arch/powerpc/mm] Error 2 # # on PPC64 the mmu_context.h was included via linux/pkeys.h # # CC: Christophe LEROY # Signed-off-by: Aneesh Kumar K.V # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 9d7b1f1867a15f1e1f3fad79777b40a70065b280 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_smp_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:10: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:77: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)) ^ arch/powerpc/boot/mpc8541cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/tqm8548.dtb: Warning (pci_bridge): /pcie@e000a000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/tqm8548.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/mpc8544ds.dtb: Warning (pci_bridge): /pcie@e0009000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/mpc8544ds.dtb: Warning (pci_bridge): /pcie@e000a000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/mpc8544ds.dtb: Warning (pci_bridge): /pcie@e000b000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/mpc8544ds.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/mpc8555cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/mpc8568mds.dtb: Warning (pci_bridge): /pcie@e000a000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/mpc8568mds.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/mpc8572ds.dtb: Warning (pci_bridge): /pcie@ffe08000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/mpc8572ds.dtb: Warning (pci_bridge): /pcie@ffe09000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/mpc8572ds.dtb: Warning (pci_bridge): /pcie@ffe0a000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/mpc8572ds.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/sbc8548.dtb: Warning (pci_bridge): /pcie@e000a000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/sbc8548.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/mpc8548cds_32b.dtb: Warning (pci_bridge): /pcie@e000a000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/mpc8548cds_32b.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0xbe363c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe363c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe363c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe363c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe363c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe363c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe363c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe363c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe363c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe363c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe363c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe363c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe363c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe363c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe363c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd2e84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.16.0-g9d7b1f1 Created: Wed Apr 11 17:36:50 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5854553 Bytes = 5717.34 kB = 5.58 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-g9d7b1f1 Created: Wed Apr 11 17:36:50 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5830590 Bytes = 5693.94 kB = 5.56 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.16.0-g9d7b1f1 Created: Wed Apr 11 17:36:50 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5854570 Bytes = 5717.35 kB = 5.58 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-g9d7b1f1 Created: Wed Apr 11 17:36:51 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5856426 Bytes = 5719.17 kB = 5.59 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-g9d7b1f1 Created: Wed Apr 11 17:36:54 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5854870 Bytes = 5717.65 kB = 5.58 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-g9d7b1f1 Created: Wed Apr 11 17:36:54 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5854664 Bytes = 5717.45 kB = 5.58 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-g9d7b1f1 Created: Wed Apr 11 17:36:54 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5854551 Bytes = 5717.33 kB = 5.58 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-g9d7b1f1 Created: Wed Apr 11 17:36:54 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5855876 Bytes = 5718.63 kB = 5.58 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-g9d7b1f1 Created: Wed Apr 11 17:36:55 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5854453 Bytes = 5717.24 kB = 5.58 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-g9d7b1f1 Created: Wed Apr 11 17:36:55 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5854519 Bytes = 5717.30 kB = 5.58 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-g9d7b1f1 Created: Wed Apr 11 17:36:55 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5854518 Bytes = 5717.30 kB = 5.58 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-g9d7b1f1 Created: Wed Apr 11 17:36:55 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5856602 Bytes = 5719.34 kB = 5.59 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-g9d7b1f1 Created: Wed Apr 11 17:36:55 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5856877 Bytes = 5719.61 kB = 5.59 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-g9d7b1f1 Created: Wed Apr 11 17:36:55 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5855114 Bytes = 5717.88 kB = 5.58 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-g9d7b1f1 Created: Wed Apr 11 17:36:55 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5854567 Bytes = 5717.35 kB = 5.58 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-g9d7b1f1 Created: Wed Apr 11 17:36:55 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5854908 Bytes = 5717.68 kB = 5.58 MB Load Address: 00c00000 Entry Point: 00c00278 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-5.3 # Build took: 0:01:48.384887