From: Laurent Pinchart Date: Wed, 11 Dec 2013 14:29:15 +0000 (+0100) Subject: DMA: shdma: Fix warnings due to improper casts and printk formats X-Git-Tag: v3.15-rc1~39^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42e4a12a0d92d09de66d8b5b2c85855b8051c15e;p=pandora-kernel.git DMA: shdma: Fix warnings due to improper casts and printk formats Use the %zu and %pad printk specifiers to print size_t and dma_addr_t variables, and cast pointers to uintptr_t instead of unsigned int where applicable. This fixes warnings on platforms where pointers and/or dma_addr_t have a different size than int Cc: Guennadi Liakhovetski Cc: Vinod Koul Cc: dmaengine@vger.kernel.org Signed-off-by: Laurent Pinchart Signed-off-by: Vinod Koul --- Reading git-diff-tree failed