lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 14 Feb 2019 21:58:12 +0100
From:   Anders Roxell <anders.roxell@...aro.org>
To:     jacek.anaszewski@...il.com, pavel@....cz
Cc:     linux-leds@...r.kernel.org, linux-kernel@...r.kernel.org,
        Anders Roxell <anders.roxell@...aro.org>
Subject: [PATCH] leds: lp55xx: fix warning unused label 'out'

When building leds lp55xx a waring about label 'out' defined but not used.

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:
 ^~~

Rework current code to remove the label 'out'.

905c2157dd19 ("leds: lp55xx: fix null deref on firmware load failure")
Signed-off-by: Anders Roxell <anders.roxell@...aro.org>
---
 drivers/leds/leds-lp55xx-common.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/leds/leds-lp55xx-common.c b/drivers/leds/leds-lp55xx-common.c
index 64986f0fd367..723f2f17497a 100644
--- a/drivers/leds/leds-lp55xx-common.c
+++ b/drivers/leds/leds-lp55xx-common.c
@@ -214,7 +214,6 @@ static void lp55xx_firmware_loaded(const struct firmware *fw, void *context)
 
 	mutex_unlock(&chip->lock);
 
-out:
 	/* firmware should be released for other channel use */
 	release_firmware(chip->fw);
 	chip->fw = NULL;
-- 
2.19.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ