diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2015-04-09 14:34:10 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-04-09 14:34:10 -0500 |
commit | f76ea574d615cd003b2fc51580006f7dc220897c (patch) | |
tree | 599cd3ee2975f41304a51993d461365e98272714 /Documentation | |
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions