linux-hardened/drivers/remoteproc
Vladimir Zapolskiy 4b28038fd6 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 <vz@mleia.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2016-03-28 16:19:00 -07:00
..
da8xx_remoteproc.c remoteproc/davinci: fix quoted split string checkpatch warning 2015-05-02 11:04:56 +03:00
Kconfig remoteproc: Supply controller driver for ST's Remote Processors 2016-01-29 17:26:49 -08:00
Makefile remoteproc: Supply controller driver for ST's Remote Processors 2016-01-29 17:26:49 -08:00
omap_remoteproc.c remoteproc: add IOMMU hardware capability flag 2015-03-12 10:43:26 +02:00
omap_remoteproc.h remoteproc/omap: add a remoteproc driver for OMAP4 2012-02-08 22:53:47 +02:00
remoteproc_core.c remoteproc: report error if resource table doesn't exist 2016-01-29 17:26:45 -08:00
remoteproc_debugfs.c remoteproc: debugfs: Add ability to boot remote processor using debugfs 2016-01-29 17:26:48 -08:00
remoteproc_elf_loader.c remoteproc: add find_loaded_rsc_table firmware ops 2013-04-05 08:49:52 +03:00
remoteproc_internal.h remoteproc: fix various checkpatch warnings 2015-05-02 11:07:34 +03:00
remoteproc_virtio.c virtio: make find_vqs() checkpatch.pl-friendly 2016-01-12 20:47:06 +02:00
st_remoteproc.c remoteproc: st: fix check of syscon_regmap_lookup_by_phandle() return value 2016-03-28 16:19:00 -07:00
ste_modem_rproc.c remoteproc/ste: add blank lines after declarations 2015-05-02 11:03:07 +03:00
wkup_m3_rproc.c remoteproc/wkup_m3: Use MODULE_DEVICE_TABLE to export alias 2016-01-29 17:26:47 -08:00