summaryrefslogtreecommitdiff
path: root/drivers/scsi
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2017-07-22 13:04:33 -0300
committerWim Van Sebroeck <wim@iguana.be>2017-09-09 20:50:35 +0200
commit15210ad18fcbd7f53f40e26e4391710d271c2daf (patch)
tree2708ced2eafdf1c3077bb4d45c1a7581dee5c44a /drivers/scsi
parent6f671c6b6288fd673e8b8b8acf1070100ba8188a (diff)
watchdog: qcom: Check for platform_get_resource() failure
platform_get_resource() may fail, so we should better check its return value and propagate an error in case it fails. This avoids a NULL pointer dereference a bit later in the code. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions