Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
slimbus: fix a potential NULL pointer dereference in of_qcom_slim_ngd…
…_register 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]> Signed-off-by: Srinivas Kandagatla <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information