[alsa-devel] [PATCH] slimbus: fix a NULL pointer dereference in of_qcom_slim_ngd_register

Srinivas Kandagatla srinivas.kandagatla at linaro.org
Wed Mar 20 15:52:08 CET 2019



On 15/03/2019 06:20, Kangjie Lu wrote:
> In case platform_device_alloc fails, the fix returns an error
> code to avoid the NULL pointer dereference.
> 
> Signed-off-by: Kangjie Lu <kjlu at umn.edu>
> ---
>   drivers/slimbus/qcom-ngd-ctrl.c | 4 ++++
>   1 file changed, 4 insertions(+)
> 
Thanks Applied.

--srini


More information about the Alsa-devel mailing list