Skip to content
Commit 611dbce0 authored by 倪琛's avatar 倪琛 Committed by Greg Kroah-Hartman
Browse files

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: default avatarChen Ni <nichen@iscas.ac.cn>
Reviewed-by: default avatarSergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: default avatarDamien Le Moal <dlemoal@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c59f144e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment