mirror of https://gitee.com/openkylin/linux.git
4b28038fd6
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 <vz@mleia.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
da8xx_remoteproc.c | ||
omap_remoteproc.c | ||
omap_remoteproc.h | ||
remoteproc_core.c | ||
remoteproc_debugfs.c | ||
remoteproc_elf_loader.c | ||
remoteproc_internal.h | ||
remoteproc_virtio.c | ||
st_remoteproc.c | ||
ste_modem_rproc.c | ||
wkup_m3_rproc.c |