]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
spi/xilinx_spi: fix incorrect casting
authorGrant Likely <grant.likely@secretlab.ca>
Wed, 25 Nov 2009 14:23:35 +0000 (07:23 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 9 Dec 2009 01:48:15 +0000 (18:48 -0700)
commit920712af498a3081a9ac8256951d1c7eae109c50
treef10ffbbd3a3e461c7781835bbef35cbf5f1ae24b
parent937041e21634ffecc92d05cf693423a2c95b7252
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: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/xilinx_spi.c