Re: linux-next: build warning after merge of the leds tree

From: Jacek Anaszewski
Date: Thu Feb 14 2019 - 16:13:54 EST

Hi Stephen and all,

On 2/14/19 4:46 AM, Stephen Rothwell wrote:
Hi Jacek,

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]

Thank you for the heads-up. It's my bad - I didn't use sparse on it.

Fixed up the original patch.

Introduced by commit

905c2157dd19 ("leds: lp55xx: fix null deref on firmware load failure")

Best regards,
Jacek Anaszewski