diff options
author | Ondrej Zary <[email protected]> | 2023-03-11 20:25:38 +0100 |
---|---|---|
committer | Damien Le Moal <[email protected]> | 2023-03-15 10:35:00 +0900 |
commit | dc472c7612297ffc9aea655bf6e9538bec5bfedf (patch) | |
tree | 618befd68fd8d2851e91b87fcfa2e2075d42cd33 /drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c | |
parent | eeac8ede17557680855031c6f305ece2378af326 (diff) |
ata: pata_parport: fix parport release without claim
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 <[email protected]>
Reviewed-by: Sergey Shtylyov <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c')
0 files changed, 0 insertions, 0 deletions