diff options
| author | schspa <[email protected]> | 2021-10-20 20:15:55 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-11-18 18:20:06 -0500 |
| commit | 50f7b2effd4971439e9b66467e4abf6688a124d9 (patch) | |
| tree | 93894b13a8d90ec42833cac91286461172c30b7d /scripts/const_structs.checkpatch | |
| parent | 0171d056ec8b9be9d90af64adce54c6a5571dd15 (diff) | |
part: return -ENOSYS when get_info not valid.
In some case, get_info() interface can be NULL, add this check to stop
from crash.
Signed-off-by: schspa <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
