diff options
author | Claudiu Beznea <claudiu.beznea@microchip.com> | 2021-09-30 13:09:28 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2021-10-02 17:40:34 +0200 |
commit | f558c8072c3461b65c12c0068b108f78cebc8246 (patch) | |
tree | bf117e0ff7e66fc22b9387a0d37e2f973173a31d /block/blk-mq-tag.c | |
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 <cristian.birsan@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'block/blk-mq-tag.c')
0 files changed, 0 insertions, 0 deletions