Re: [PATCH] sound: atom: fix a missing check of snd_pcm_lib_malloc_pages

2019-01-07 Thread Mark Brown
On Tue, Dec 25, 2018 at 08:29:48PM -0600, Kangjie Lu wrote: > snd_pcm_lib_malloc_pages() may fail, so let's check its status and > return its error code upstream. Please use subject lines matching the style for the subsystem. This makes it easier for people to identify relevant patches. signat

Re: [PATCH] sound: atom: fix a missing check of snd_pcm_lib_malloc_pages

2019-01-01 Thread Takashi Iwai
On Wed, 26 Dec 2018 18:57:47 +0100, Pierre-Louis Bossart wrote: > > > On 12/25/18 8:29 PM, Kangjie Lu wrote: > > snd_pcm_lib_malloc_pages() may fail, so let's check its status and > > return its error code upstream. > > Acked-by: Pierre-Louis Bossart This fixes a potential kernel Oops. Mark,

Re: [PATCH] sound: atom: fix a missing check of snd_pcm_lib_malloc_pages

2018-12-26 Thread Pierre-Louis Bossart
On 12/25/18 8:29 PM, Kangjie Lu wrote: snd_pcm_lib_malloc_pages() may fail, so let's check its status and return its error code upstream. Acked-by: Pierre-Louis Bossart Signed-off-by: Kangjie Lu --- sound/soc/intel/atom/sst-mfld-platform-pcm.c | 8 +++- 1 file changed, 7 insertio

[PATCH] sound: atom: fix a missing check of snd_pcm_lib_malloc_pages

2018-12-25 Thread Kangjie Lu
snd_pcm_lib_malloc_pages() may fail, so let's check its status and return its error code upstream. Signed-off-by: Kangjie Lu --- sound/soc/intel/atom/sst-mfld-platform-pcm.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/atom/sst-mfld-platform-pcm.c b