of: address: Report of_dma_get_range() errors meaningfully
authorRobin Murphy <robin.murphy@arm.com>
Thu, 4 Jul 2019 13:54:12 +0000 (14:54 +0100)
committerRob Herring <robh@kernel.org>
Tue, 8 Oct 2019 18:50:22 +0000 (13:50 -0500)
commit76dd7068e32cec3389474d6f69ffd4d0536172da
tree21b801e9fdcb9ade42ebc20920d20ea9359893da
parent6e6faf63744333373db8bc64aea52dab86cbf0bc
of: address: Report of_dma_get_range() errors meaningfully

If we failed to translate a DMA address, at least show the offending
address rather than the uninitialised contents of the destination
argument.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/address.c