diff options
author | Axel Lin <[email protected]> | 2015-03-02 16:10:54 +0800 |
---|---|---|
committer | Kishon Vijay Abraham I <[email protected]> | 2015-03-12 11:01:16 +0530 |
commit | 1cbdfc48c3d4064e2515e4d837e714fd1aaa2d6e (patch) | |
tree | e16009bb682b20f6e4db74d1df62d7067666ea09 /include/linux/console_struct.h | |
parent | 0f9722e37f8359e228f4c04e6822ad0bf9a4e083 (diff) |
phy: hix5hd2-sata: Check return value of platform_get_resource
This prevent NULL pointer dereference if res is NULL.
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Zhangfei Gao <[email protected]>
Signed-off-by: Kishon Vijay Abraham I <[email protected]>
Diffstat (limited to 'include/linux/console_struct.h')
0 files changed, 0 insertions, 0 deletions