Re: [PATCH 1/1] net: caif: use correct format specifier

2016-08-01 Thread David Miller
From: Heinrich Schuchardt Date: Sun, 31 Jul 2016 09:19:50 +0200 > %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 >

[PATCH 1/1] net: caif: use correct format specifier

2016-07-31 Thread Heinrich Schuchardt
%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 --- drivers/net/caif/caif_spi.c | 4 ++-- 1 f