commit | f76ea574d615cd003b2fc51580006f7dc220897c | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Thu Apr 09 14:34:10 2015 -0500 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Thu Apr 09 14:34:10 2015 -0500 |
tree | 599cd3ee2975f41304a51993d461365e98272714 | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 [diff] |
PCI: keystone: Don't dereference possible NULL pointer Check for failure from platform_get_resource() (this check actually happens inside devm_ioremap_resource()) before dereferencing the pointer returned from platform_get_resource(). Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>