]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pcm: Define snd_pcm_lib_preallocate_*() as returning void
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 15:42:24 +0000 (16:42 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 8 Feb 2019 13:24:12 +0000 (14:24 +0100)
commit1411cf9327709e154d75136866fd7c9965bf0e98
treecd82554b93c5c51aa0929be562c7e181fd3d612f
parent401c7c3dd6fbcc8ff25e69e66e18ed621f21d95a
ALSA: pcm: Define snd_pcm_lib_preallocate_*() as returning void

Now all callers no longer check the return value from
snd_pcm_lib_preallocate_pages() and co, let's make them to return
void, so that any new code won't fall into the same pitfall.

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h
sound/core/pcm_memory.c