[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200115201126.GE23789@ninjato>
Date: Wed, 15 Jan 2020 21:11:26 +0100
From: Wolfram Sang <wsa@...-dreams.de>
To: Krzysztof Kozlowski <krzk@...nel.org>
Cc: Vladimir Zapolskiy <vz@...ia.com>,
Sylvain Lemieux <slemieux.tyco@...il.com>,
Linus Walleij <linus.walleij@...aro.org>,
Arnd Bergmann <arnd@...db.de>, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Jean Delvare <jdelvare@...e.de>,
Jarkko Nikula <jarkko.nikula@...ux.intel.com>
Subject: Re: [PATCH v3 2/3] i2c: pnx: Use proper printk format for
resource_size_t
On Wed, Jan 15, 2020 at 09:02:49PM +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-pnx.c: In function ‘i2c_pnx_probe’:
> drivers/i2c/busses/i2c-pnx.c:737:47: warning:
> format ‘%x’ expects argument of type ‘unsigned int’,
> but argument 5 has type ‘resource_size_t {aka long long unsigned int}’ [-Wformat=]
>
> Signed-off-by: Krzysztof Kozlowski <krzk@...nel.org>
>
Applied to for-next, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists