[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200115195704.GB8661@kozik-lap>
Date: Wed, 15 Jan 2020 20:57:04 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Wolfram Sang <wsa@...-dreams.de>
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 v2 3/4] i2c: highlander: Use proper printk format for
iomem pointer
On Wed, Jan 15, 2020 at 06:43:37PM +0100, Wolfram Sang wrote:
> On Tue, Jan 14, 2020 at 10:06:04AM +0100, Krzysztof Kozlowski wrote:
> > iomem pointers should be printed with pointer format to hide the
> > actual value and fix warnings 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@...nel.org>
>
> Wrong commit message. buf_len is size_t and not an iomem pointer.
I'll fix it up.
Best regards,
Krzysztof
Powered by blists - more mailing lists