The patch titled drivers/misc/isl29020.c: fix signedness bug has been added to the -mm tree. Its filename is drivers-misc-isl29020c-fix-signedness-bug.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: drivers/misc/isl29020.c: fix signedness bug From: Vasiliy Kulikov <segooon@xxxxxxxxx> i2c_smbus_write_byte_data() may return negative error code. This is not seen to als_sensing_range_store() as the result is stored in unsigned int. Made it signed. Signed-off-by: Vasiliy Kulikov <segooon@xxxxxxxxx> Cc: Liu Hong <hong.liu@xxxxxxxxx> Cc: Kalhan Trisal <kalhan.trisal@xxxxxxxxx> Cc: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx> Cc: Alan Cox <alan@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/misc/isl29020.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/misc/isl29020.c~drivers-misc-isl29020c-fix-signedness-bug drivers/misc/isl29020.c --- a/drivers/misc/isl29020.c~drivers-misc-isl29020c-fix-signedness-bug +++ a/drivers/misc/isl29020.c @@ -87,7 +87,7 @@ static ssize_t als_sensing_range_store(s struct device_attribute *attr, const char *buf, size_t count) { struct i2c_client *client = to_i2c_client(dev); - unsigned int ret_val; + int ret_val; unsigned long val; if (strict_strtoul(buf, 10, &val)) _ Patches currently in -mm which might be from segooon@xxxxxxxxx are origin.patch linux-next.patch drivers-misc-isl29020c-fix-signedness-bug.patch drivers-misc-isl29020c-dont-ignore-the-i2c_smbus_read_byte_data-return-value.patch memstick-core-fix-device_register-error-handling.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html