diff options
author | Jason Gunthorpe <jgunthorpe@obsidianresearch.com> | 2013-09-17 14:11:04 -0600 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-10-01 17:04:17 +0000 |
commit | 8553bcad3eca6cdd19c4771c378bd2cf6e25c6b2 (patch) | |
tree | 8002c1eca37a2ad3f6a92c53be2ad9fe99b02999 /drivers/ata/pata_pcmcia.c | |
parent | b643f85814f69306b9a6e0df34a1c8acb97d3bbd (diff) |
bus: mvebu-mbus: Fix optional pcie-mem/io-aperture properties
If the property was not specified 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.
The regression was introduced into v3.12 by:
11be654 PCI: mvebu: Adapt to the new device tree layout
Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers/ata/pata_pcmcia.c')
0 files changed, 0 insertions, 0 deletions