summaryrefslogtreecommitdiffstats
path: root/drivers/bus
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2013-07-26 15:17:49 +0200
committerJason Cooper <jason@lakedaemon.net>2013-08-06 16:10:41 +0200
commitb22503a9c3bd8a3512fa4daf2c6c456d12db34de (patch)
tree3db9abf96e87b842a7dc1f01c9cbc3ca4fa7d06a /drivers/bus
parentPCI: mvebu: Adapt to the new device tree layout (diff)
downloadlinux-b22503a9c3bd8a3512fa4daf2c6c456d12db34de.tar.xz
linux-b22503a9c3bd8a3512fa4daf2c6c456d12db34de.zip
PCI: mvebu: Check valid base address before port setup
This driver does not fail to probe when it cannot obtain a port base address. Therefore, add a check for NULL base address before setting up the port, which prevents a kernel panic in such cases. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Tested-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions