spi: xilinx: Fix info message during probe
authorRicardo Ribalda <ribalda@kernel.org>
Tue, 15 Sep 2020 11:29:36 +0000 (13:29 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 17 Sep 2020 18:56:01 +0000 (19:56 +0100)
commit985be7ebfbf79767bc3705eee7de635edd4eba7d
tree76be302780dff185f8e49d189a18f9fe5e0e829d
parent9d99e55833dddf76dd6470e7ce97201abb612c03
spi: xilinx: Fix info message during probe

The info message was showing the mapped address of the device. To avoid
security problems, all virtual addresses are converted to __ptrval__, so
the message was useless/ugly:

[    2.304949] xilinx_spi b0010000.spi-flash: at 0xB0010000 mapped to 0x(____ptrval____), irq=37

Use %pR instead:

[   15.021354] xilinx_spi b0010000.spi-flash: at [mem 0xb0010000-0xb001ffff], irq=37

Signed-off-by: Ricardo Ribalda <ribalda@kernel.org>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/20200915112936.320647-1-ribalda@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-xilinx.c