[Linux-parport] [PATCH] pata_parport: Fix ida_alloc return value error check

Sergey Shtylyov s.shtylyov at omp.ru
Sun Feb 5 11:13:38 PST 2023


Hello!

On 2/4/23 11:55 PM, Ondrej Zary wrote:

> pi->dev.id is unsigned so error checking of ida_alloc return value does
> not work. Fix it.
> 
> Signed-off-by: Ondrej Zary <linux at zary.sk>

Reviewed-by: Sergey Shtylyov <s.shtylyov at omp.ru>

[...]

MBR, Sergey



More information about the Linux-parport mailing list