From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751516AbeA2Ely (ORCPT ); Sun, 28 Jan 2018 23:41:54 -0500 Received: from ozlabs.org ([103.22.144.67]:44827 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751127AbeA2Elv (ORCPT ); Sun, 28 Jan 2018 23:41:51 -0500 From: Michael Ellerman To: Rob Herring , Stephen Rothwell Cc: Bjorn Helgaas , Linux-Next Mailing List , Linux Kernel Mailing List Subject: Re: linux-next: build failure after merge of the pci tree In-Reply-To: References: <20180125164937.32fef5a8@canb.auug.org.au> Date: Mon, 29 Jan 2018 15:41:46 +1100 Message-ID: <874ln52s51.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rob Herring writes: > On Wed, Jan 24, 2018 at 11:49 PM, Stephen Rothwell wrote: >> Hi Bjorn, >> >> After merging the pci tree, today's linux-next build (powerpc >> ppc64_defconfig) failed like this: >> >> arch/powerpc/kernel/pci-common.c: In function 'pcibios_setup >> _device': >> arch/powerpc/kernel/pci-common.c:406:15: error: 'virq' may be used uninitialized in this function [-Werror=maybe-uninitialized] >> pci_dev->irq = virq; >> ~~~~~~~~~~~~~^~~~~~ >> arch/powerpc/kernel/pci-common.c:365:15: note: 'virq' was declared here >> unsigned int virq; >> ^~~~ > > I guess I need to update my PPC compiler from 4.8.0. It doesn't warn > or error on this. Neither did 0-day. https://toolchains.free-electrons.com/ Has 5.4.0 and 7.2.0 for both big and little endian. cheers