diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-01-15 21:02:50 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2020-01-15 21:10:46 +0100 |
commit | 40b2ec1251c370bc5557568e259d4058c651d405 (patch) | |
tree | f4cd4e09553a4669351e664fb1764819d5500fce /drivers/i2c/i2c-smbus.c | |
parent | 17b3fe8b04ec92161638378744d4d915fd8cfa2e (diff) | |
download | linux-40b2ec1251c370bc5557568e259d4058c651d405.tar.bz2 |
i2c: highlander: Use proper printk format for size_t
size_t should be printed with its own format to be 64-bit friendly and
fix warning when compiling on 64-bit platform (e.g. with COMPILE_TEST):
drivers/i2c/busses/i2c-highlander.c: In function ‘highlander_i2c_smbus_xfer’:
drivers/i2c/busses/i2c-highlander.c:325:22: warning:
format ‘%d’ expects argument of type ‘int’,
but argument 3 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/i2c-smbus.c')
0 files changed, 0 insertions, 0 deletions