mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-27 04:50:25 +09:00
[ Upstream commitf558c8072c] devm_of_iomap() returns error code or valid pointer. Check its return value with IS_ERR(). Fixes:bd3127733f("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> Signed-off-by: Sasha Levin <sashal@kernel.org>