linux/drivers/slimbus
Kangjie Lu 06d5d6b7f9 slimbus: fix a potential NULL pointer dereference in of_qcom_slim_ngd_register
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>
2019-04-25 22:23:06 +02:00
..
Kconfig slimbus: ngd: QCOM_QMI_HELPERS has to be selected 2018-11-27 08:44:06 +01:00
Makefile slimbus: stream: add stream support 2018-07-07 17:25:23 +02:00
core.c slimbus: core: add missing spin_lock_init on txn_lock 2019-01-22 13:34:35 +01:00
messaging.c slimbus: messaging: add slim_alloc/free_txn_tid() 2018-07-07 17:24:32 +02:00
qcom-ctrl.c slimbus: qcom-ctrl: simplify getting .driver_data 2018-12-06 15:50:05 +01:00
qcom-ngd-ctrl.c slimbus: fix a potential NULL pointer dereference in of_qcom_slim_ngd_register 2019-04-25 22:23:06 +02:00
sched.c slimbus: Add support for 'clock-pause' feature 2017-12-19 11:01:03 +01:00
slimbus.h slimbus: ngd: remove unnecessary check 2018-11-07 14:59:28 +01:00
stream.c slimbus: stream: add stream support 2018-07-07 17:25:23 +02:00