Re: [PATCH] sound: echoaudio: add a check for ioremap_nocache

2019-03-16 Thread Takashi Iwai
On Fri, 15 Mar 2019 04:58:29 +0100, Kangjie Lu wrote: > > In case ioremap_nocache fails, the fix releases chip and returns > an error code upstream to avoid NULL pointer dereference. > > Signed-off-by: Kangjie Lu Applied, thanks. Takashi

[PATCH] sound: echoaudio: add a check for ioremap_nocache

2019-03-14 Thread Kangjie Lu
In case ioremap_nocache fails, the fix releases chip and returns an error code upstream to avoid NULL pointer dereference. Signed-off-by: Kangjie Lu --- sound/pci/echoaudio/echoaudio.c | 5 + 1 file changed, 5 insertions(+) diff --git a/sound/pci/echoaudio/echoaudio.c b/sound/pci/echoaudio/