[PATCH v2] bus: mvebu-mbus: Fix optional pcie-mem/io-aperture properties

Jason Cooper jason at lakedaemon.net
Tue Oct 1 12:44:09 EDT 2013


On Tue, Sep 17, 2013 at 02:11:04PM -0600, Jason Gunthorpe wrote:
> If the property was not specified then then the returned resource
> had a resource_size(..) == 1, rather than 0. The PCI-E driver checks
> for 0 so it blindly continues on with a corrupted resource.
> 
> Signed-off-by: Jason Gunthorpe <jgunthorpe at obsidianresearch.com>
> ---
>  drivers/bus/mvebu-mbus.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)

Applied to mvebu/drivers since you didn't mention a specific regression.
If there is one, please let me know shortly and I'll try to queue it up
for v3.12 instead.

thx,

Jason.



More information about the linux-arm-kernel mailing list