On Tue, 18 Jan 2022 at 17:33, Heinrich Schuchardt <heinrich.schucha...@canonical.com> 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", > __func__, > | ^~~~~~~ > > seen for sandbox_defconfig with CONFIG_PHYS_64BIT=y. > > Cf. commit 1eebd14b7902 ("vsprintf: Add modifier for phys_addr_t") > > Signed-off-by: Heinrich Schuchardt <heinrich.schucha...@canonical.com> > --- > drivers/bootcount/bootcount_syscon.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org>