Messages in this thread | | | Subject | Re: [PATCH] slimbus: fix a NULL pointer dereference in of_qcom_slim_ngd_register | From | Srinivas Kandagatla <> | Date | Wed, 20 Mar 2019 14:52:08 +0000 |
| |
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
| |