Re: [PATCH 1/1] bootcount: fix printf() code

2022-01-29 Thread Tom Rini
On Wed, Jan 19, 2022 at 01:33:43AM +0100, Heinrich Schuchardt wrote: > For printing phys_addr_t we should use %pa to avoid warning like: > > drivers/bootcount/bootcount_syscon.c:110:17: note: in expansion of macro > ‘dev_err’ > 110 | dev_err(dev, "%s: Unsupported register size:

Re: [PATCH 1/1] bootcount: fix printf() code

2022-01-27 Thread Simon Glass
On Tue, 18 Jan 2022 at 17:33, Heinrich Schuchardt wrote: > > For printing phys_addr_t we should use %pa to avoid warning like: > > drivers/bootcount/bootcount_syscon.c:110:17: note: in expansion of macro > ‘dev_err’ > 110 | dev_err(dev, "%s: Unsupported register size: %d\n", >

[PATCH 1/1] bootcount: fix printf() code

2022-01-18 Thread Heinrich Schuchardt
For printing phys_addr_t we should use %pa to avoid warning like: drivers/bootcount/bootcount_syscon.c:110:17: note: in expansion of macro ‘dev_err’ 110 | dev_err(dev, "%s: Unsupported register size: %d\n", __func__, | ^~~ seen for sandbox_defconfig w