# git rev-parse -q --verify fde46ba593df92c4d787d2cc35a11f46583c89a6^{commit} fde46ba593df92c4d787d2cc35a11f46583c89a6 already have revision, skipping fetch # git checkout -q -f -B kisskb fde46ba593df92c4d787d2cc35a11f46583c89a6 # git clean -qxdf # < git log -1 # commit fde46ba593df92c4d787d2cc35a11f46583c89a6 # Author: Nathan Chancellor # Date: Mon Jun 3 15:11:58 2019 -0700 # # PCI: rpaphp: Avoid a sometimes-uninitialized warning # # When building with -Wsometimes-uninitialized, clang warns: # # drivers/pci/hotplug/rpaphp_core.c:243:14: warning: variable 'fndit' is # used uninitialized whenever 'for' loop exits because its condition is # false [-Wsometimes-uninitialized] # for (j = 0; j < entries; j++) { # ^~~~~~~~~~~ # drivers/pci/hotplug/rpaphp_core.c:256:6: note: uninitialized use occurs # here # if (fndit) # ^~~~~ # drivers/pci/hotplug/rpaphp_core.c:243:14: note: remove the condition if # it is always true # for (j = 0; j < entries; j++) { # ^~~~~~~~~~~ # drivers/pci/hotplug/rpaphp_core.c:233:14: note: initialize the variable # 'fndit' to silence this warning # int j, fndit; # ^ # = 0 # # fndit is only used to gate a sprintf call, which can be moved into the # loop to simplify the code and eliminate the local variable, which will # fix this warning. # # Fixes: 2fcf3ae508c2 ("hotplug/drc-info: Add code to search ibm,drc-info property") # Suggested-by: Nick Desaulniers # Signed-off-by: Nathan Chancellor # Acked-by: Tyrel Datwyler # Acked-by: Joel Savitz # Signed-off-by: Michael Ellerman # Link: https://github.com/ClangBuiltLinux/linux/issues/504 # Link: https://lore.kernel.org/r/20190603221157.58502-1-natechancellor@gmail.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 fde46ba593df92c4d787d2cc35a11f46583c89a6 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] 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 0xc259b0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259b0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259b0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259b0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259b0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259b0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259b0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259b0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259b0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259b0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259b0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259b0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259b0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259b0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc259b0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc1517c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:12 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5987850 Bytes = 5847.51 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:12 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5987731 Bytes = 5847.39 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:12 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5987907 Bytes = 5847.57 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:12 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5988680 Bytes = 5848.32 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:12 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5988403 Bytes = 5848.05 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:12 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5987727 Bytes = 5847.39 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:12 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5987791 Bytes = 5847.45 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:12 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5987596 Bytes = 5847.26 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:12 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5988002 Bytes = 5847.66 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:12 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5987887 Bytes = 5847.55 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:12 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5987362 Bytes = 5847.03 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:12 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5987726 Bytes = 5847.39 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:12 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5987789 Bytes = 5847.45 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:12 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5987745 Bytes = 5847.41 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:12 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5987658 Bytes = 5847.32 KiB = 5.71 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:12 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5957291 Bytes = 5817.67 KiB = 5.68 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-gcc5 # Build took: 0:01:15.373558