Skip to contentSkip to conversation

+ backlight-lm3630-signedness-bug-in-lm3630a_chip_init.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Sep 25, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Subject: + backlight-lm3630-signedness-bug-in-lm3630a_chip_init.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
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 <[email protected]>
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.

---

 drivers/video/backlight/lm3630a_bl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/backlight/lm3630a_bl.c renamed from drivers/video/backlight/lm3630a_bl.c~backlight-lm3630-signedness-bug-in-lm3630a_chip_init +1 -1
diff -puN drivers/video/backlight/lm3630a_bl.c~backlight-lm3630-signedness-bug-in-lm3630a_chip_init 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 [email protected] are

origin.patch backlight-lm3630-signedness-bug-in-lm3630a_chip_init.patch backlight-lm3630-potential-null-deref-in-probe.patch linux-next.patch