Re: [PATCH] PCI: rockchip: fix uninitialized variable use

2016-09-28 Thread Bjorn Helgaas
On Thu, Sep 22, 2016 at 11:39:59AM +0200, Arnd Bergmann wrote: > The newly added pcie-rockchip driver fails to initialize the > io_size variable if the DT doesn't provide ranges for the PCI > I/O space, as found by building it with -Wmaybe-uninitialized: > > drivers/pci/host/pcie-rockchip.c: In

Re: [PATCH] PCI: rockchip: fix uninitialized variable use

2016-09-28 Thread Bjorn Helgaas
On Thu, Sep 22, 2016 at 11:39:59AM +0200, Arnd Bergmann wrote: > The newly added pcie-rockchip driver fails to initialize the > io_size variable if the DT doesn't provide ranges for the PCI > I/O space, as found by building it with -Wmaybe-uninitialized: > > drivers/pci/host/pcie-rockchip.c: In

Re: [PATCH] PCI: rockchip: fix uninitialized variable use

2016-09-22 Thread Shawn Lin
Hi Arnd, 在 2016/9/22 17:39, Arnd Bergmann 写道: The newly added pcie-rockchip driver fails to initialize the io_size variable if the DT doesn't provide ranges for the PCI I/O space, as found by building it with -Wmaybe-uninitialized: drivers/pci/host/pcie-rockchip.c: In function

Re: [PATCH] PCI: rockchip: fix uninitialized variable use

2016-09-22 Thread Shawn Lin
Hi Arnd, 在 2016/9/22 17:39, Arnd Bergmann 写道: The newly added pcie-rockchip driver fails to initialize the io_size variable if the DT doesn't provide ranges for the PCI I/O space, as found by building it with -Wmaybe-uninitialized: drivers/pci/host/pcie-rockchip.c: In function

Re: [PATCH] PCI: rockchip: fix uninitialized variable use

2016-09-22 Thread Brian Norris
On Thu, Sep 22, 2016 at 11:39:59AM +0200, Arnd Bergmann wrote: > The newly added pcie-rockchip driver fails to initialize the > io_size variable if the DT doesn't provide ranges for the PCI > I/O space, as found by building it with -Wmaybe-uninitialized: > > drivers/pci/host/pcie-rockchip.c: In

Re: [PATCH] PCI: rockchip: fix uninitialized variable use

2016-09-22 Thread Brian Norris
On Thu, Sep 22, 2016 at 11:39:59AM +0200, Arnd Bergmann wrote: > The newly added pcie-rockchip driver fails to initialize the > io_size variable if the DT doesn't provide ranges for the PCI > I/O space, as found by building it with -Wmaybe-uninitialized: > > drivers/pci/host/pcie-rockchip.c: In