diff options
| author | Kangjie Lu <[email protected]> | 2019-04-13 11:34:47 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-04-25 22:23:06 +0200 |
| commit | 06d5d6b7f9948a89543e1160ef852d57892c750d (patch) | |
| tree | 5cc169094ac96f69f1cdff58f5046b5b0a18734b /scripts/gcc-plugins/gcc-common.h | |
| parent | b281218ad4311a0342a40cb02fb17a363df08b48 (diff) | |
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]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions