Re: [PATCH v3 1/3] i2c: pmcmsp: Use proper printk format for resource_size_t
From: Wolfram Sang
Date: Wed Jan 15 2020 - 15:11:26 EST
On Wed, Jan 15, 2020 at 09:02:48PM +0100, Krzysztof Kozlowski wrote:
> resource_size_t should be printed with its own size-independent format
> to fix warnings when compiling on 64-bit platform (e.g. with
> COMPILE_TEST):
>
> drivers/i2c/busses/i2c-pmcmsp.c: In function âpmcmsptwi_probeâ:
> drivers/i2c/busses/i2c-pmcmsp.c:276:25: warning:
> format â%xâ expects argument of type âunsigned intâ,
> but argument 3 has type âresource_size_t {aka long long unsigned int}â [-Wformat=]
>
> Signed-off-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
>
Applied to for-next, thanks!
Attachment:
signature.asc
Description: PGP signature