]> err.no Git - linux-2.6/commit
xilinx_spi: test below 0 on unsigned irq in xilinx_spi_probe()
authorRoel Kluin <12o3l@tiscali.nl>
Thu, 24 Jul 2008 04:29:53 +0000 (21:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:30 +0000 (10:47 -0700)
commit166a375b657b7af494f4ce3f72c4d2002180da44
tree02a3c51a478535b582b4d38833755fc3cfa82d3e
parenta61f5345eba34772a71523227de890a28410f320
xilinx_spi: test below 0 on unsigned irq in xilinx_spi_probe()

xilinx_spi->irq is unsigned, so the test fails

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Andrei Konovalov <akonovalov@ru.mvista.com>
Cc: Yuri Frolov <yfrolov@ru.mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/spi/xilinx_spi.c