OSDN Git Service

spi/ep93xx: Fix format specifier warning
authorEmil Goode <emilgoode@gmail.com>
Tue, 30 Jul 2013 17:35:36 +0000 (19:35 +0200)
committerMark Brown <broonie@linaro.org>
Wed, 31 Jul 2013 16:55:40 +0000 (17:55 +0100)
commit6a3fc31f35025a583499c0d3b1c6fc5dcf6e48ec
tree9398fa6e064d59f0747cc50f3e2b295c8fd339ce
parent84ddb3c1df021c69a40af30e3e30cc7429a5d659
spi/ep93xx: Fix format specifier warning

This patch fixes the following sparse warning by changing the
the format specifier for size_t to %zu.

drivers/spi/spi-ep93xx.c:512:3: warning:
format ‘%d’ expects argument of type ‘int’,
but argument 3 has type ‘size_t’ [-Wformat]

Signed-off-by: Emil Goode <emilgoode@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-ep93xx.c