kernel-fxtec-pro1x/drivers/slimbus
Kangjie Lu 67d812fbe3 slimbus: fix a potential NULL pointer dereference in of_qcom_slim_ngd_register
[ Upstream commit 06d5d6b7f9948a89543e1160ef852d57892c750d ]

In case platform_device_alloc fails, the fix returns an error
code to avoid the NULL pointer dereference.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-05-31 06:46:14 -07:00
..
core.c slimbus: stream: add stream support 2018-07-07 17:25:23 +02:00
Kconfig slimbus: ngd: Add qcom SLIMBus NGD driver 2018-07-07 17:24:32 +02:00
Makefile slimbus: stream: add stream support 2018-07-07 17:25:23 +02:00
messaging.c slimbus: messaging: add slim_alloc/free_txn_tid() 2018-07-07 17:24:32 +02:00
qcom-ctrl.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
qcom-ngd-ctrl.c slimbus: fix a potential NULL pointer dereference in of_qcom_slim_ngd_register 2019-05-31 06:46:14 -07:00
sched.c slimbus: Add support for 'clock-pause' feature 2017-12-19 11:01:03 +01:00
slimbus.h slimbus: stream: Fix htmldocs warnings 2018-07-08 15:19:04 +02:00
stream.c slimbus: stream: add stream support 2018-07-07 17:25:23 +02:00