]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers/mtd/nvmxip: Print phys_addr_t without warnings on both 32bit and 64bit systems
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Wed, 23 Aug 2023 00:18:19 +0000 (02:18 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 30 Aug 2023 21:56:21 +0000 (17:56 -0400)
commit6539f71d1d85895afd60c68d039342447713ee50
tree2603c6cabf23dbb51629ec514a0f03f344cbf2d8
parent16be2bc72e1c1ce188214b71ba5c7c9d990e6021
drivers/mtd/nvmxip: Print phys_addr_t without warnings on both 32bit and 64bit systems

Cast the address such that it can be printed without warnings
on both 32bit and 64bit systems. This really should use some
better print formatter, but for the lack of it, do it this way.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/mtd/nvmxip/nvmxip_qspi.c