On Fri, Aug 31, 2018 at 01:07:28PM -0700, Greg Kroah-Hartman wrote:
On Fri, Aug 31, 2018 at 08:47:59AM -0700, Guenter Roeck wrote:
One more build failure in v4.9.y.queue:
Build reference: v4.9.124-64-g6d66e98 gcc version: sparc64-linux-gcc (GCC) 7.3.0
Building sparc32:allmodconfig ... passed Building sparc32:defconfig ... failed
Error log:
arch/sparc/kernel/pcic.c: In function 'pcibios_fixup_bus': arch/sparc/kernel/pcic.c:647:8: error: 'cmd' may be used uninitialized in this function
That is really odd as there is no patch in the queue that touches this file. Could this have been caused by an older release?
Ah, yes, sorry. I had added sparc32:defconfig recently since sparc32:allmodconfig no longer builds in mainline. The fix is commit 2dc77533f1e4 ("sparc: kernel/pcic: silence gcc 7.x warning in pcibios_fixup_bus()"). The patch applies cleanly to v4.9.y and fixes the problem.
Guenter