Re: [PATCH -next] ALSA: fm801: Fix missing pci_release_regions() on error in snd_fm801_create()

From: Takashi Iwai
Date: Wed Jun 16 2021 - 02:51:03 EST


On Wed, 16 Jun 2021 04:55:07 +0200,
Yang Yingliang wrote:
>
> Fix the missing pci_release_regions() before return
> from snd_fm801_create() in the error handling case.
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>

pci_regions() is manated in pcim_release(), hence you don't need to
call it explicitly.


thanks,

Takashi