# 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 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_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] /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1676:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized] return oldval == cmparg; ^ /kisskb/src/kernel/futex.c:1651:6: note: 'oldval' was declared here int oldval, ret; ^ In file included from /kisskb/src/sound/ppc/pmac.h:12:0, from /kisskb/src/sound/ppc/awacs.c:16: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:208:9: warning: 'speaker_vol' may be used uninitialized in this function [-Wmaybe-uninitialized] return _snd_ctl_add_slave(master, slave, 0); ^ /kisskb/src/sound/ppc/awacs.c:873:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^ INFO: Uncompressed kernel (size 0xa87b94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa87b94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa87b94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa87b94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa87b94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa87b94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa87b94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa87b94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa87b94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa7747c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa87b94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa7747c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-5.3.0-rc1+ Created: Tue Jul 23 01:53:42 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5042734 Bytes = 4924.54 KiB = 4.81 MiB Load Address: 00b00000 Entry Point: 00b00894 Image Name: Linux-5.3.0-rc1+ Created: Tue Jul 23 01:53:42 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5042645 Bytes = 4924.46 KiB = 4.81 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.3.0-rc1+ Created: Tue Jul 23 01:53:43 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5043353 Bytes = 4925.15 KiB = 4.81 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.3.0-rc1+ Created: Tue Jul 23 01:53:43 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5042316 Bytes = 4924.14 KiB = 4.81 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.3.0-rc1+ Created: Tue Jul 23 01:53:43 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5042672 Bytes = 4924.48 KiB = 4.81 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.3.0-rc1+ Created: Tue Jul 23 01:53:44 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5013193 Bytes = 4895.70 KiB = 4.78 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.3.0-rc1+ Created: Tue Jul 23 01:53:44 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5043419 Bytes = 4925.21 KiB = 4.81 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.3.0-rc1+ Created: Tue Jul 23 01:53:44 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5042001 Bytes = 4923.83 KiB = 4.81 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.3.0-rc1+ Created: Tue Jul 23 01:53:44 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5042884 Bytes = 4924.69 KiB = 4.81 MiB Load Address: 00b00000 Entry Point: 00b00894 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc5 # Build took: 0:03:24.432897