The patch titled Subject: rtc rx4581: change err type from unsigned char to int in get_datetime() has been removed from the -mm tree. Its filename was rtc-add-support-for-spi-rtc-rx4581-fix.patch This patch was dropped because it was folded into rtc-add-support-for-spi-rtc-rx4581.patch ------------------------------------------------------ From: Torben Hohn <torbenh@xxxxxxxxxxxxx> Subject: rtc rx4581: change err type from unsigned char to int in get_datetime() in response to these warnings posted by dan.carpenter@xxxxxxxxxx: New smatch warnings: drivers/rtc/rtc-rx4581.c:134 rx4581_get_datetime() warn: unsigned 'err' is never less than zero. Old smatch warnings: drivers/rtc/rtc-rx4581.c:175 rx4581_get_datetime() warn: unsigned 'err' is never less than zero. Signed-off-by: Torben Hohn <torbenh@xxxxxxxxxxxxx> Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/rtc/rtc-rx4581.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN drivers/rtc/rtc-rx4581.c~rtc-add-support-for-spi-rtc-rx4581-fix drivers/rtc/rtc-rx4581.c --- a/drivers/rtc/rtc-rx4581.c~rtc-add-support-for-spi-rtc-rx4581-fix +++ a/drivers/rtc/rtc-rx4581.c @@ -103,7 +103,8 @@ static int rx4581_get_datetime(struct de { struct spi_device *spi = to_spi_device(dev); unsigned char date[7]; - unsigned char data, err; + unsigned char data; + int err; /* First we ensure that the "update flag" is not set, we read the * time and date then re-read the "update flag". If the update flag _ Patches currently in -mm which might be from torbenh@xxxxxxxxxxxxx are rtc-add-support-for-spi-rtc-rx4581.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