From: Dan Carpenter Date: Thu, 11 Nov 2010 22:05:11 +0000 (-0800) Subject: misc/isl29020: signedness bug in als_sensing_range_store() X-Git-Tag: v2.6.37-rc2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90482e45e4a39ee10b66436c2b3d5d4d88c2f73c;p=pandora-kernel.git misc/isl29020: signedness bug in als_sensing_range_store() "ret_val" is supposed to be signed here or the error handling breaks. Also we should check the return value from i2c_smbus_read_byte_data(). Signed-off-by: Dan Carpenter Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed