Subject: + backlight-lm3630-signedness-bug-in-lm3630a_chip_init.patch added to -mm tree To: dan.carpenter@xxxxxxxxxx,jg1.han@xxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Wed, 25 Sep 2013 14:24:18 -0700 The patch titled Subject: drivers/video/backlight/lm3630a_bl.c: fix signedness bug in lm3630a_chip_init() has been added to the -mm tree. Its filename is backlight-lm3630-signedness-bug-in-lm3630a_chip_init.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/backlight-lm3630-signedness-bug-in-lm3630a_chip_init.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/backlight-lm3630-signedness-bug-in-lm3630a_chip_init.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 *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Subject: drivers/video/backlight/lm3630a_bl.c: fix signedness bug in lm3630a_chip_init() "rval" needs to be signed for the error handling to work. Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Acked-by: Jingoo Han <jg1.han@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/video/backlight/lm3630a_bl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/video/backlight/lm3630a_bl.c~backlight-lm3630-signedness-bug-in-lm3630a_chip_init drivers/video/backlight/lm3630a_bl.c --- a/drivers/video/backlight/lm3630a_bl.c~backlight-lm3630-signedness-bug-in-lm3630a_chip_init +++ a/drivers/video/backlight/lm3630a_bl.c @@ -105,7 +105,7 @@ static int lm3630a_chip_init(struct lm36 /* interrupt handling */ static void lm3630a_delayed_func(struct work_struct *work) { - unsigned int rval; + int rval; struct lm3630a_chip *pchip; pchip = container_of(work, struct lm3630a_chip, work.work); _ Patches currently in -mm which might be from dan.carpenter@xxxxxxxxxx are origin.patch backlight-lm3630-signedness-bug-in-lm3630a_chip_init.patch backlight-lm3630-potential-null-deref-in-probe.patch linux-next.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