Re: [PATCH] pata_parport: fix parport release without claim

From: Sergey Shtylyov
Date: Sat Mar 11 2023 - 15:27:53 EST


On 3/11/23 10:25 PM, Ondrej Zary wrote:

> When adapter is not found, pi->disconnect() is called without previous
> pi->connect(). This results in error like this:
> parport0: pata_parport tried to release parport when not owner
>
> Add missing out_disconnect label and use it correctly.
>
> Signed-off-by: Ondrej Zary <linux@xxxxxxx>

[...]

Reviewed-by: Sergey Shtylyov <s.shtylyov@xxxxxx>

MBR, Sergey