# git rev-parse -q --verify f460772291f8171988b2b60141a45706123d0c69^{commit} f460772291f8171988b2b60141a45706123d0c69 already have revision, skipping fetch # git checkout -q -f -B kisskb f460772291f8171988b2b60141a45706123d0c69 # git clean -qxdf # < git log -1 # commit f460772291f8171988b2b60141a45706123d0c69 # Author: Michael Ellerman # Date: Sun Dec 30 14:05:13 2018 +1100 # # KVM: PPC: Book3S HV: radix: Fix uninitialized var build error # # Old GCCs (4.6.3 at least), aren't able to follow the logic in # __kvmhv_copy_tofrom_guest_radix() and warn that old_pid is used # uninitialized: # # arch/powerpc/kvm/book3s_64_mmu_radix.c:75:3: error: 'old_pid' may be # used uninitialized in this function # # The logic is OK, we only use old_pid if quadrant == 1, and in that # case it has definitely be initialised, eg: # # if (quadrant == 1) { # old_pid = mfspr(SPRN_PID); # ... # if (quadrant == 1 && pid != old_pid) # mtspr(SPRN_PID, old_pid); # # Annotate it to fix the error. # # Signed-off-by: Michael Ellerman # < /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 f460772291f8171988b2b60141a45706123d0c69 # < make -s -j 48 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 48 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: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/dts/fsl/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/dts/fsl/mpc8555cds.dtb: 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 0xc27d84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc27d84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc27d84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc27d84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc27d84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc27d84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc27d84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc27d84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc27d84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc27d84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc27d84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc27d84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc27d84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc27d84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc27d84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc17550) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 16:04:44 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6005179 Bytes = 5864.43 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 16:04:44 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6004774 Bytes = 5864.04 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 16:04:44 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6005108 Bytes = 5864.36 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 16:04:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6005242 Bytes = 5864.49 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 16:04:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6005610 Bytes = 5864.85 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 16:04:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5973182 Bytes = 5833.19 KiB = 5.70 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 16:04:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6004715 Bytes = 5863.98 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 16:04:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6005208 Bytes = 5864.46 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 16:04:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6005155 Bytes = 5864.41 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 16:04:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6004982 Bytes = 5864.24 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 16:04:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6005763 Bytes = 5865.00 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 16:04:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6004668 Bytes = 5863.93 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 16:04:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6004987 Bytes = 5864.25 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 16:04:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6004713 Bytes = 5863.98 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 16:04:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6004698 Bytes = 5863.96 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 16:04:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6005037 Bytes = 5864.29 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a4 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-gcc5 # Build took: 0:01:46.641710