Re: [PATCH v2] ALSA: lx6464es: add error handling for pci_ioremap_bar

From: Takashi Iwai
Date: Thu Jun 14 2018 - 12:01:41 EST


On Thu, 14 Jun 2018 15:51:46 +0200,
Zhouyang Jia wrote:
>
> When pci_ioremap_bar fails, the lack of error-handling code may
> cause unexpected results.
>
> This patch adds error-handling code after calling pci_ioremap_bar.
>
> Signed-off-by: Zhouyang Jia <jiazhouyang09@xxxxxxxxx>
> ---
> v1->v2:
> - Add new goto label.

Applied, thanks.


Takashi