Re: [PATCH v2] dbri: Fix compiler warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 24 Nov 2016 04:15:15 +0100,
Tushar Dave wrote:
> 
> @@ -2539,7 +2545,7 @@ static int snd_dbri_create(struct snd_card *card,
>  	if (!dbri->dma)
>  		return -ENOMEM;
>  
> -	dprintk(D_GEN, "DMA Cmd Block 0x%p (0x%08x)\n",
> +	dprintk(D_GEN, "DMA Cmd Block 0x%p (0x%08llx)\n",
>  		dbri->dma, dbri->dma_dvma);

Better to use %pad for dma_addr_t here.
If the config doesn't enable ATU, dma_addr_t would be still u32, and
your change will be buggy.


thanks,

Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux