lkml.org 
[lkml]   [2019]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] slimbus: fix a NULL pointer dereference in of_qcom_slim_ngd_register
From
Date


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@umn.edu>
> ---
> drivers/slimbus/qcom-ngd-ctrl.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
Thanks Applied.

--srini

\
 
 \ /
  Last update: 2019-03-20 15:52    [W:0.037 / U:1.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site