On Tue, Jul 2, 2013 at 8:17 AM, Alexander Shiyan <shc_work@xxxxxxx> wrote: > drivers/leds/leds-mc13783.c: In function <<mc13xxx_led_probe>>: > drivers/leds/leds-mc13783.c:246:2: warning: <<ret>> may be used uninitialized in this function [-Wuninitialized] > Thanks, I merged this and will send it out for Linus soon. -Bryan > Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx> > --- > drivers/leds/leds-mc13783.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/leds/leds-mc13783.c b/drivers/leds/leds-mc13783.c > index f4de980..fa9b439 100644 > --- a/drivers/leds/leds-mc13783.c > +++ b/drivers/leds/leds-mc13783.c > @@ -208,7 +208,7 @@ static int __init mc13xxx_led_probe(struct platform_device *pdev) > struct mc13xxx_led_devtype *devtype = > (struct mc13xxx_led_devtype *)pdev->id_entry->driver_data; > struct mc13xxx_leds *leds; > - int i, id, num_leds, ret; > + int i, id, num_leds, ret = -ENODATA; > u32 reg, init_led = 0; > > if (!pdata) { > -- > 1.8.1.5 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-leds" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-leds" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html