Skip to content
Commit 41203f93 authored by Nikita Shubin's avatar Nikita Shubin Committed by Damien Le Moal
Browse files

ata: pata_ep93xx: fix error return code in probe



Return -ENOMEM from ep93xx_pata_probe() if devm_kzalloc() or
ata_host_alloc() fails.

Signed-off-by: default avatarNikita Shubin <nikita.shubin@maquefel.me>
Reviewed-by: default avatarSergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: default avatarDamien Le Moal <dlemoal@kernel.org>
parent 8566572b
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