Re: [PATCH] slimbus: fix a NULL pointer dereference in of_qcom_slim_ngd_register

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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

Thanks Applied.

--srini



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux