Skip to content
Commit 00749469 authored by Dinghao Liu's avatar Dinghao Liu Committed by Takashi Iwai
Browse files

ALSA: intel8x0: Fix missing check in snd_intel8x0m_create



When device_type == DEVICE_ALI, we should also check the return
value of pci_iomap() to avoid potential null pointer dereference.

Signed-off-by: default avatarDinghao Liu <dinghao.liu@zju.edu.cn>
Link: https://lore.kernel.org/r/20210131100916.7915-1-dinghao.liu@zju.edu.cn
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 0417fada
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment