[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:
Victor Fusco
2005-07-26 13:42:31 +02:00
committed by Jaroslav Kysela
parent 854af9578c
commit 5a0f217d96
7 changed files with 18 additions and 14 deletions

View File

@@ -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;