[ALSA] sound/core Fix the sparse warning 'implicit cast to nocast type'
Memalloc module,ALSA Core,Instrument layer Fix the sparse warning 'implicit cast to nocast type' File/Subsystem:sound/core Signed-off-by: Victor Fusco <victor@cetuc.puc-rio.br> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
This commit is contained in:
committed by
Jaroslav Kysela
parent
854af9578c
commit
5a0f217d96
@ -27,7 +27,7 @@
|
||||
#include <linux/fs.h>
|
||||
|
||||
#ifdef CONFIG_SND_DEBUG_MEMORY
|
||||
void *snd_wrapper_kmalloc(size_t size, int flags)
|
||||
void *snd_wrapper_kmalloc(size_t size, unsigned int __nocast flags)
|
||||
{
|
||||
return kmalloc(size, flags);
|
||||
}
|
||||
|
Reference in New Issue
Block a user