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

From: Yang Yingliang
Date: Wed Jun 16 2021 - 03:02:39 EST



On 2021/6/16 14:50, Takashi Iwai wrote:
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.
OK.

Thanks,
Yang


thanks,

Takashi
.