OpenCloudOS-Kernel/drivers/sbus/char
Andres Salomon 4a3a255289 sparc: explicitly cast negative phandle checks to s32
When we switched sparc from using 'int's to 'phandle's (which is a u32), we
neglected to do anything with the various checks for -1.  For those tests,
explicitly cast the phandles to s32.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2011-01-03 20:02:06 -07:00
..
Kconfig sparc: Kill sbus mostek RTC driver. 2008-09-03 15:55:32 -07:00
Makefile sparc: Kill sbus mostek RTC driver. 2008-09-03 15:55:32 -07:00
bbc_envctrl.c of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
bbc_i2c.c of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
bbc_i2c.h of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
display7seg.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
envctrl.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
flash.c of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
jsflash.c sparc: explicitly cast negative phandle checks to s32 2011-01-03 20:02:06 -07:00
max1617.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
openprom.c sbus: autoconvert trivial BKL users to private mutex 2010-07-20 23:36:39 -07:00
uctrl.c of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00