]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: caif: use correct format specifier
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Sun, 31 Jul 2016 07:19:50 +0000 (09:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Aug 2016 20:32:51 +0000 (13:32 -0700)
commit59d53bc213efed3cb40eae2a8273eafd884786a1
tree71b613d5cc41ec941b175404f9afe0aea0c9bb7e
parentdf7e88f6cad8cc4e02c9275018a572fab59562c0
net: caif: use correct format specifier

%u is the wrong format specifier for int.
size_t cannot be converted to int without possible
loss of information.

So leave the result as size_t and use %zu as format specifier.

cf. Documentation/printk-formats.txt

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/caif/caif_spi.c