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
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| bootcount-uclass.c | ||
| bootcount.c | ||
| bootcount_at91.c | ||
| bootcount_davinci.c | ||
| bootcount_env.c | ||
| bootcount_ext.c | ||
| bootcount_i2c.c | ||
| bootcount_nvmem.c | ||
| bootcount_ram.c | ||
| bootcount_syscon.c | ||
| i2c-eeprom.c | ||
| rtc.c | ||
| spi-flash.c | ||