summaryrefslogtreecommitdiffstats
path: root/security/yama
diff options
context:
space:
mode:
authorVignesh Raghavendra <vigneshr@ti.com>2019-11-09 06:06:18 +0100
committerLee Jones <lee.jones@linaro.org>2019-11-11 12:26:26 +0100
commitde98a43eb76b8442c02a2fe31c2a50d72cf6ded3 (patch)
tree30b9f7ff7a9bc44ff2f20c82cd9e8272107c09ec /security/yama
parentmfd: bd70528: Staticize bit value definitions (diff)
downloadlinux-de98a43eb76b8442c02a2fe31c2a50d72cf6ded3.tar.xz
linux-de98a43eb76b8442c02a2fe31c2a50d72cf6ded3.zip
mfd: ti_am335x_tscadc: Fix static checker warning
It is possible that platform_get_resource() might return NULL and therefore code needs to check for this condition before de-referencing the pointer. Therefore move the de-referencing of 'res' pointer after devm_ioremap_resource() which would have checked the validity of the pointer. Reported-by: Dan Murphy <dmurphy@ti.com> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'security/yama')
0 files changed, 0 insertions, 0 deletions