[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <167451323420.1260058.8607663873249763877.b4-ty@bootlin.com>
Date: Mon, 23 Jan 2023 23:34:10 +0100
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: Vincent Shih <vincent.sunplus@...il.com>,
Alessandro Zummo <a.zummo@...ertech.it>,
Arnd Bergmann <arnd@...nel.org>
Cc: Arnd Bergmann <arnd@...db.de>, linux-rtc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rtc: sunplus: fix format string for printing resource
On Tue, 17 Jan 2023 18:24:44 +0100, Arnd Bergmann wrote:
> On 32-bit architectures with 64-bit resource_size_t, sp_rtc_probe()
> causes a compiler warning:
>
> drivers/rtc/rtc-sunplus.c: In function 'sp_rtc_probe':
> drivers/rtc/rtc-sunplus.c:243:33: error: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'resource_size_t' {aka 'long long unsigned int'} [-Werror=format=]
> 243 | dev_dbg(&plat_dev->dev, "res = 0x%x, reg_base = 0x%lx\n",
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> [...]
Applied, thanks!
[1/1] rtc: sunplus: fix format string for printing resource
commit: 08279468a294d8c996a657ecc9e51bd5c084c75d
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists