Re: [PATCH] slimbus: ngd: Fix to avoid potential NULL pointer dereference

2019-03-20 Thread Srinivas Kandagatla
On 19/03/2019 01:25, Aditya Pakki wrote: In of_qcom_slim_ngd_register, of_match_node may fail and return a NULL pointer. This patch avoids such a scenario leading to NULL pointer dereference. Fixes: 458a445deb9c ("slimbus: ngd: Fix build error on x86") Signed-off-by: Aditya Pakki ---

[PATCH] slimbus: ngd: Fix to avoid potential NULL pointer dereference

2019-03-18 Thread Aditya Pakki
In of_qcom_slim_ngd_register, of_match_node may fail and return a NULL pointer. This patch avoids such a scenario leading to NULL pointer dereference. Fixes: 458a445deb9c ("slimbus: ngd: Fix build error on x86") Signed-off-by: Aditya Pakki --- drivers/slimbus/qcom-ngd-ctrl.c | 2 ++ 1 file