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

Thanks Applied.

--srini

Reply via email to