Skip to content
Commit 920712af authored by Grant Likely's avatar Grant Likely
Browse files

spi/xilinx_spi: fix incorrect casting



This patch fixes the error exposed by the following build warning:

drivers/spi/xilinx_spi.c: In function 'xilinx_spi_init':
drivers/spi/xilinx_spi.c:411: warning: cast from pointer to integer
of different size

Fixed by change %x to %p in the format string.

Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 937041e2
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