linux/drivers/misc
Dan Carpenter aec0428890 drivers/misc/bh1770glc.c: error handling in bh1770_power_state_store()
There was a signedness bug so "ret" was never less than zero and that
breaks the error handling.  Also in the original code it would overwrite
ret and the result is still negative but it's bogus number instead of the
correct error code.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Cc: Samu Onkalo <samu.p.onkalo@nokia.com>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-11-12 07:55:31 -08:00
..
c2port
cb710
eeprom
ibmasm convert get_sb_single() users 2010-10-29 04:16:28 -04:00
iwmc3200top net/wireless: use generic_file_llseek in debugfs 2010-09-16 10:33:08 +02:00
sgi-gru llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
sgi-xp sgi-xp: incoming XPC channel messages can come in after the channel's partition structures have been torn down 2010-10-26 16:52:03 -07:00
ti-st drivers: misc: ti-st: fix review comments 2010-10-14 12:41:10 -07:00
ab8500-pwm.c misc: Add ab8500 pwm driver 2010-10-29 00:29:21 +02:00
ad525x_dpot-i2c.c drivers/misc/ad525x_dpot.c: new features 2010-10-26 16:52:14 -07:00
ad525x_dpot-spi.c drivers/misc/ad525x_dpot.c: new features 2010-10-26 16:52:14 -07:00
ad525x_dpot.c drivers/misc/ad525x_dpot.c: new features 2010-10-26 16:52:14 -07:00
ad525x_dpot.h ad525x_dpot: use correct rdac channel for ad5251/ad5252 2010-10-26 16:52:14 -07:00
apds990x.c drivers/misc: driver for APDS990X ALS and proximity sensors 2010-10-26 16:52:14 -07:00
apds9802als.c drivers/misc/apds9802als.c: fix signedness bug 2010-11-12 07:55:31 -08:00
arm-charlcd.c
atmel_pwm.c
atmel_tclib.c
atmel-ssc.c
bh1770glc.c drivers/misc/bh1770glc.c: error handling in bh1770_power_state_store() 2010-11-12 07:55:31 -08:00
bh1780gli.c i2c: Remove obsolete cleanup for clientdata 2010-09-30 14:14:22 +02:00
bmp085.c drivers/misc: support for the pressure sensor BMP085 from Bosch Sensortec 2010-08-09 20:45:05 -07:00
cs5535-mfgpt.c cs5535-mfgpt: reuse timers that have never been set up 2010-08-11 08:59:20 -07:00
ds1682.c
enclosure.c
ep93xx_pwm.c
hmc6352.c hmc6352: add driver for the HMC6352 compass 2010-08-09 20:45:10 -07:00
hpilo.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6 2010-10-22 19:36:42 -07:00
hpilo.h hpilo: fix pointer warning in ilo_ccb_setup 2010-08-09 20:45:05 -07:00
ics932s401.c
ioc4.c
isl29003.c
isl29020.c misc/isl29020: signedness bug in als_sensing_range_store() 2010-11-12 07:55:31 -08:00
Kconfig misc: Add ab8500 pwm driver 2010-10-29 00:29:21 +02:00
kgdbts.c kgdbts: prevent re-entry to kgdbts before it unregisters 2010-10-29 13:14:41 -05:00
lkdtm.c lkdtm: prefix enum constants 2010-10-26 16:52:14 -07:00
Makefile misc: Add ab8500 pwm driver 2010-10-29 00:29:21 +02:00
pch_phub.c pch_phub: fix build warnings 2010-10-22 10:16:42 -07:00
phantom.c drivers/misc/phantom.c: add missing warning messages in phantom_probe() 2010-10-26 16:52:14 -07:00
ti_dac7512.c
tifm_7xx1.c
tifm_core.c
tsl2550.c
vmw_balloon.c vmware balloon: rename module 2010-09-22 17:22:38 -07:00