# 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 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x553c14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553c14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553c14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553c14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553c14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553c14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553c14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553c14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553c14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553c14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5434fc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553c14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2718104 Bytes = 2654.40 KiB = 2.59 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2749644 Bytes = 2685.20 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 006001b8 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2751178 Bytes = 2686.70 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601514 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2749674 Bytes = 2685.23 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601524 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2749549 Bytes = 2685.11 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601534 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2749722 Bytes = 2685.28 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601544 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2751132 Bytes = 2686.65 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 006000c4 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2749741 Bytes = 2685.29 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601534 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2751150 Bytes = 2686.67 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601534 Image Name: Linux-5.3.0-rc1-gfde46ba593df Created: Tue Jul 23 01:50:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2749883 Bytes = 2685.43 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 0060152c Completed OK # rm -rf /kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc5 # Build took: 0:01:08.596797