[lvc-project] [PATCH] ata: pata_legacy: make legacy_exit() work again
Damien Le Moal
dlemoal at kernel.org
Tue May 7 01:28:53 MSK 2024
On 5/5/24 05:27, Sergey Shtylyov wrote:
> Commit defc9cd826e4 ("pata_legacy: resychronize with upstream changes and
> resubmit") missed to update legacy_exit(), so that it now fails to do any
> cleanup -- the loop body there can never be entered. Fix that and finally
> remove now useless nr_legacy_host variable...
>
> Found by Linux Verification Center (linuxtesting.org) with the Svace static
> analysis tool.
>
> Fixes: defc9cd826e4 ("pata_legacy: resychronize with upstream changes and resubmit")
> Cc: stable at vger.kernel.org
> Signed-off-by: Sergey Shtylyov <s.shtylyov at omp.ru>
Applied to for-6.10. Thanks !
--
Damien Le Moal
Western Digital Research
More information about the lvc-project
mailing list