diff options
author | Claudiu Beznea <[email protected]> | 2021-09-30 13:09:28 +0300 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2021-10-02 17:40:34 +0200 |
commit | f558c8072c3461b65c12c0068b108f78cebc8246 (patch) | |
tree | bf117e0ff7e66fc22b9387a0d37e2f973173a31d /scripts/gdb/linux/lists.py | |
parent | 73d59c9263a0fbcf8f769daea9c1fe33ae38c9e8 (diff) |
power: reset: at91-reset: check properly the return value of devm_of_iomap
devm_of_iomap() returns error code or valid pointer. Check its return
value with IS_ERR().
Fixes: bd3127733f2c ("power: reset: at91-reset: use devm_of_iomap")
Reported-by: Cristian Birsan <[email protected]>
Signed-off-by: Claudiu Beznea <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions