Re: [PATCH v3 3/3] i2c: highlander: Use proper printk format for size_t

From: Wolfram Sang
Date: Wed Jan 15 2020 - 15:11:34 EST


On Wed, Jan 15, 2020 at 09:02:50PM +0100, Krzysztof Kozlowski wrote:
> 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@xxxxxxxxxx>
>

Applied to for-next, thanks!

Attachment: signature.asc
Description: PGP signature