ata: pata_isapnp: Add missing error check for devm_ioport_map()
[ Upstream commit a6925165 ] Add missing error return check for devm_ioport_map() and return the error if this function call fails. Fixes: 0d5ff566 ("libata: convert to iomap") Signed-off-by: Chen Ni <nichen@iscas.ac.cn> Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru> Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
parent
cfbdb367
Please register or sign in to comment