Documentation/spi/* compile warning fix
authorPrarit Bhargava <prarit@redhat.com>
Wed, 19 May 2010 19:30:28 +0000 (19:30 +0000)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 25 May 2010 06:23:16 +0000 (00:23 -0600)
commit1dcf57ceb461fe2ddeb622fe84d9918aadefe7ba
tree5ee3846260074287f601f13fe6f73155039cdd82
parent99f1a43f436a6a92d15bddfeb65f3a920c8b88d3
Documentation/spi/* compile warning fix

Fix this warning:

Documentation/spi/spidev_fdx.c: In function `do_msg':
Documentation/spi/spidev_fdx.c:61: warning: cast from pointer to integer of different size
Documentation/spi/spidev_fdx.c:64: warning: cast from pointer to integer of different size

buf should be unsigned long to match native arch on 32-bit x86 compile.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Documentation/spi/spidev_fdx.c