]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: core: Don't allow NULL device for memory allocation
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 13:34:00 +0000 (14:34 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 5 Feb 2019 10:05:26 +0000 (11:05 +0100)
commit315ccfa10a44e469fbaefba9b93e118f9caab27c
treed5759f217a1e21bfe555e8f609dd54bacc1ab1b4
parent0cea0dcf8443fb1b9afba2d2ea8b65078bc44cee
ALSA: core: Don't allow NULL device for memory allocation

Since we covered all callers with NULL device pointer, let's catch the
remaining calls with NULL and warn explicitly.

Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/memalloc.c