mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 18:12:48 +00:00
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 <[email protected]>
Signed-off-by: Jason Cooper <[email protected]>