aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorVladimir Zapolskiy <[email protected]>2016-03-19 13:31:10 +0000
committerBjorn Andersson <[email protected]>2016-03-28 23:19:00 +0000
commit4b28038fd60d346337dcaca80c255db2724adf76 (patch)
tree0391e37b5b082b99b4b7d7b1ce96d98e6fbf72c3 /lib/string_helpers.c
parentLinux 4.6-rc1 (diff)
downloadkernel-4b28038fd60d346337dcaca80c255db2724adf76.tar.gz
kernel-4b28038fd60d346337dcaca80c255db2724adf76.zip
remoteproc: st: fix check of syscon_regmap_lookup_by_phandle() return value
syscon_regmap_lookup_by_phandle() returns either a valid pointer to struct regmap or ERR_PTR() error value, check for NULL is invalid and on error path may lead to oops, the change corrects the check. Signed-off-by: Vladimir Zapolskiy <[email protected]> Acked-by: Lee Jones <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions