Skip to content
Unverified Commit 985be7eb authored by Ricardo Ribalda's avatar Ricardo Ribalda Committed by Mark Brown
Browse files

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: default avatarRicardo Ribalda <ribalda@kernel.org>
Acked-by: default avatarMichal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/20200915112936.320647-1-ribalda@kernel.org
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 9d99e558
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment