diff options
author | Victor Fusco <victor@cetuc.puc-rio.br> | 2005-07-26 13:42:31 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-07-28 12:22:44 +0200 |
commit | 5a0f217d96656068f0f1e5cda16c35945f979b16 (patch) | |
tree | 47b5eb5d011c8593c4fe0522ac8f6910a3440372 /sound/core/memalloc.c | |
parent | [ALSA] usb-audio - change quirk type handling (diff) | |
download | linux-5a0f217d96656068f0f1e5cda16c35945f979b16.tar.xz linux-5a0f217d96656068f0f1e5cda16c35945f979b16.zip |
[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>
Diffstat (limited to 'sound/core/memalloc.c')
-rw-r--r-- | sound/core/memalloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/core/memalloc.c b/sound/core/memalloc.c index dbc23e35fa06..02132561c3f8 100644 --- a/sound/core/memalloc.c +++ b/sound/core/memalloc.c @@ -105,7 +105,8 @@ struct snd_mem_list { */ static void *snd_dma_hack_alloc_coherent(struct device *dev, size_t size, - dma_addr_t *dma_handle, int flags) + dma_addr_t *dma_handle, + unsigned int __nocast flags) { void *ret; u64 dma_mask, coherent_dma_mask; |