linux/drivers/spi
Matthew Wilcox 0d34aa4d5a spi_s3c24xx signedness fix
On Fri, Apr 18, 2008 at 09:08:55PM +0200, Julia Lawall wrote:
> I found 63 occurrences of this problem with the following semantic match
> (http://www.emn.fr/x-info/coccinelle/):
>
> @@ unsigned int i; @@
>
> * i < 0
>

Since this one's always in the range 0-255, it could probably be made
signed, but it's just as easy to make it work unsigned.

Reported-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
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>
2008-05-01 08:04:01 -07:00
..
at25.c spi: at25 driver is for EEPROM not FLASH 2007-12-05 09:21:18 -08:00
atmel_spi.c atmel_spi: clean up baud rate divisor calculation 2008-04-30 08:29:31 -07:00
atmel_spi.h [PATCH] SPI: atmel_spi driver 2007-02-14 08:09:53 -08:00
au1550_spi.c spi: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
Kconfig spi: use menuconfig for CONFIG_SPI 2008-04-28 08:58:31 -07:00
Makefile spi: SuperH SPI using SCI 2008-02-06 10:41:11 -08:00
mpc52xx_psc_spi.c spi: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
omap2_mcspi.c spi: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
omap_uwire.c spi: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:31 -07:00
pxa2xx_spi.c spi: pxa2xx_spi "sparse" fixes 2008-04-28 08:58:31 -07:00
spi_bfin5xx.c spi_bfin5xx: use PIO for full duplex, not DMA 2008-05-01 08:04:01 -07:00
spi_bitbang.c spi: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:31 -07:00
spi_butterfly.c minor spi_butterfly cleanup 2007-05-08 11:15:15 -07:00
spi_imx.c spi: spi_imx updates 2008-04-28 08:58:31 -07:00
spi_lm70llp.c spi doesn't need class_device 2007-10-16 09:43:10 -07:00
spi_mpc83xx.c spi: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:31 -07:00
spi_s3c24xx_gpio.c spi: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
spi_s3c24xx.c spi_s3c24xx signedness fix 2008-05-01 08:04:01 -07:00
spi_sh_sci.c spi: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
spi_txx9.c spi: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
spi.c spi core: stop updating dev->power.power_state 2008-02-06 10:41:10 -08:00
spidev.c fix abuses of ptrdiff_t 2007-10-29 07:41:33 -07:00
tle62x0.c tle62x0 driver stops ignoring read errors 2007-11-14 18:45:42 -08:00
xilinx_spi.c spi: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:31 -07:00