Re: [PATCH] lp55xx: fix unused-label compile warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu 2019-02-14 10:16:21, Michal Kazior wrote:
> From: Michal Kazior <michal@xxxxxxxxx>
> 
> Stephen noticed a compiler warning which was
> introduced by my other patch:
> 
> > After merging the leds tree, today's linux-next build (x86_64
> > allmodconfig) produced this warning:
> >
> > drivers/leds/leds-lp55xx-common.c: In function 'lp55xx_firmware_loaded':
> > drivers/leds/leds-lp55xx-common.c:217:1: warning: label 'out' defined but not used [-Wunused-label]
> >  out:
> >  ^~~
> 
> Fixes: 905c2157dd19 ("leds: lp55xx: fix null deref on firmware load failure")
> Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Signed-off-by: Michal Kazior <michal@xxxxxxxxx>
Acked-by: Pavel Machek <pavel@xxxxxx>


-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux