spi: core: Use %zu for printing 'size_t' type
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 17 Feb 2016 17:42:27 +0000 (15:42 -0200)
committerMark Brown <broonie@kernel.org>
Wed, 17 Feb 2016 19:16:53 +0000 (19:16 +0000)
commit7d62f51e74c62afc79f63c70ae48f1b8de57f5d4
tree6b32a62427250245be762e2f433a262caa5130bf
parent08933418d71e52f60859319ef9fb4e6f754297c1
spi: core: Use %zu for printing 'size_t' type

Use %zu for printing 'size_t' type in order to fix the following
build warning on ARM64:

drivers/spi/spi.c: In function '__spi_split_transfer_maxsize':
drivers/spi/spi.c:2278:2: warning: format '%i' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat=]

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c