Re: [PATCH] ALSA: intel8x0: Fix missing check in snd_intel8x0m_create

2021-02-01 Thread Takashi Iwai
On Sun, 31 Jan 2021 11:09:14 +0100, Dinghao Liu wrote: > > When device_type == DEVICE_ALI, we should also check the return > value of pci_iomap() to avoid potential null pointer dereference. > > Signed-off-by: Dinghao Liu Thanks, applied. Takashi

[PATCH] ALSA: intel8x0: Fix missing check in snd_intel8x0m_create

2021-01-31 Thread Dinghao Liu
When device_type == DEVICE_ALI, we should also check the return value of pci_iomap() to avoid potential null pointer dereference. Signed-off-by: Dinghao Liu --- sound/pci/intel8x0m.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/pci/intel8x0m.c