diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-03-15 13:03:39 +0300 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2016-03-30 12:36:01 +0300 |
commit | 77644ad86abd205742937010fa1cf4795e927212 (patch) | |
tree | 15f9917458a57cbe5b2ef8c7814b6ec767480fe2 /arch/arm/boot/dts/armada-385-linksys.dtsi | |
parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff) | |
download | linux-77644ad86abd205742937010fa1cf4795e927212.tar.xz |
bus: mvebu-mbus: use %pa to print phys_addr_t
A recent change to the mbus driver added a warning printk that
prints a phys_addr_t using the %x format string, which fails in
case we build with 64-bit phys_addr_t:
drivers/bus/mvebu-mbus.c: In function 'mvebu_mbus_get_dram_win_info':
drivers/bus/mvebu-mbus.c:975:9: error: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'phys_addr_t {aka long long unsigned int}' [-Werror=format=]
This uses the special %pa format string instead, so we always
print the correct type.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: f2900acea801 ("bus: mvebu-mbus: provide api for obtaining IO and DRAM window information")
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/armada-385-linksys.dtsi')
0 files changed, 0 insertions, 0 deletions