linux/drivers/spi
David Brownell 4917d92780 spidev compiler warning gone
Get rid of annoying GCC warning on 32-bit platforms.

drivers/spi/spidev.c: In function 'spidev_message':
drivers/spi/spidev.c:184: warning: cast to pointer from integer of different size
drivers/spi/spidev.c:216: warning: cast to pointer from integer of different size

The trick is to add an extra cast using "ptrdiff_t" to convert the u64 to
the correct size integer, and only then casting it into a "void *" pointer.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-17 10:23:04 -07:00
..
at25.c sysfs: add parameter "struct bin_attribute *" in .read/.write methods for sysfs binary attributes 2007-07-11 16:09:09 -07:00
atmel_spi.c SPI controller drivers: check for unsupported modes 2007-07-17 10:23:04 -07:00
atmel_spi.h [PATCH] SPI: atmel_spi driver 2007-02-14 08:09:53 -08:00
au1550_spi.c SPI controller drivers: check for unsupported modes 2007-07-17 10:23:04 -07:00
Kconfig MPC52xx PSC SPI master driver 2007-05-11 08:29:35 -07:00
Makefile MPC52xx PSC SPI master driver 2007-05-11 08:29:35 -07:00
mpc52xx_psc_spi.c SPI controller drivers: check for unsupported modes 2007-07-17 10:23:04 -07:00
omap_uwire.c SPI controller drivers: check for unsupported modes 2007-07-17 10:23:04 -07:00
pxa2xx_spi.c SPI controller drivers: check for unsupported modes 2007-07-17 10:23:04 -07:00
spi.c SPI dynamic busid generation bugfix 2007-06-04 13:25:09 -07:00
spi_bfin5xx.c Blackfin SPI driver: fix bug SPI DMA incomplete transmission 2007-06-11 17:34:17 +08:00
spi_bitbang.c SPI controller drivers: check for unsupported modes 2007-07-17 10:23:04 -07:00
spi_butterfly.c minor spi_butterfly cleanup 2007-05-08 11:15:15 -07:00
spi_imx.c SPI controller drivers: check for unsupported modes 2007-07-17 10:23:04 -07:00
spi_mpc83xx.c SPI controller drivers: check for unsupported modes 2007-07-17 10:23:04 -07:00
spi_s3c24xx.c SPI controller drivers: check for unsupported modes 2007-07-17 10:23:04 -07:00
spi_s3c24xx_gpio.c [PATCH] spi_s3c2410_gpio.c spi mode 2 and 3 support 2007-02-20 17:10:16 -08:00
spidev.c spidev compiler warning gone 2007-07-17 10:23:04 -07:00