diff options
| author | Haolin Li <[email protected]> | 2022-03-22 05:58:02 -0700 |
|---|---|---|
| committer | Kever Yang <[email protected]> | 2022-04-18 11:25:12 +0800 |
| commit | fdda7901cc77b5bc525263c385cc19f151b6612b (patch) | |
| tree | 748c2fa73a7b3e7aef2dcb3a71cfaa65480b240a /include/linux/string.h | |
| parent | 9859465bfe838bc8264d45e1a1bed847bba74bad (diff) | |
mmc: rockchip_sdhci: Correct error checking
A pointer can not be negative. Use macro IS_ERR_OR_NULL() for checking.
Signed-off-by: Haolin Li <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
Reviewed-by: Jaehoon Chung <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions
