From: Vinod Koul Date: Mon, 2 Jun 2014 04:02:59 +0000 (+0530) Subject: dmaengine: sh: fix print specifier warnings X-Git-Tag: omap-for-v3.16/fixes-against-rc1~69^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d9f71a804314e7d50e2fa9e6e61bc77e2d6ae1c;p=pandora-kernel.git dmaengine: sh: fix print specifier warnings As documented in Documentation/printk-formats.txt we should use %zu/%zx specifiers for size_t type variables for the code to compile on different architectures. This is uncovered as COMPILE_TEST has been enabled recently for this driver drivers/dma/sh/shdma-base.c: In function 'shdma_prep_dma_cyclic': >> drivers/dma/sh/shdma-base.c:683:4: warning: format '%d' expects argument of >> type 'int', but argument 4 has type 'size_t' [-Wformat=] __func__, buf_len, period_len, slave_id); >> drivers/dma/sh/shdma-base.c:683:4: warning: format '%d' expects argument of >> type 'int', but argument 5 has type 'size_t' [-Wformat=] Reported-by: kbuild test robot Acked-by: Laurent Pinchart Signed-off-by: Vinod Koul --- Reading git-diff-tree failed