From: Sascha Hauer <s.hauer@pengutronix.de>
To: "Uwe Kleine-König" <uwe@kleine-koenig.org>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 1/2] mtd: nand_orion: remove unused goto label
Date: Mon, 10 Nov 2014 07:14:28 +0100 [thread overview]
Message-ID: <20141110061428.GC30369@pengutronix.de> (raw)
In-Reply-To: <1415531432-6402-1-git-send-email-uwe@kleine-koenig.org>
On Sun, Nov 09, 2014 at 12:10:31PM +0100, Uwe Kleine-König wrote:
> This fixes the following warning:
>
> drivers/mtd/nand/nand_orion.c: In function ‘orion_nand_probe’:
> drivers/mtd/nand/nand_orion.c:145:1: warning: label ‘no_res’ defined but not used [-Wunused-label]
>
> Fixes: 1a215f5 ("nand: Add Marvell Orion NAND driver")
> Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Applied both, thanks
Sascha
> ---
> drivers/mtd/nand/nand_orion.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mtd/nand/nand_orion.c b/drivers/mtd/nand/nand_orion.c
> index 2c9707d..fe06ef7 100644
> --- a/drivers/mtd/nand/nand_orion.c
> +++ b/drivers/mtd/nand/nand_orion.c
> @@ -142,7 +142,7 @@ static int orion_nand_probe(struct device_d *dev)
> no_dev:
> if (!IS_ERR(clk))
> clk_disable(clk);
> -no_res:
> +
> free(priv);
> return ret;
> }
> --
> 2.1.1
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2014-11-10 6:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-09 11:10 Uwe Kleine-König
2014-11-09 11:10 ` [PATCH 2/2] pci: mvebu: Fix uninitialized variable in mvebu_get_target_attr() Uwe Kleine-König
2014-11-10 6:14 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141110061428.GC30369@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=uwe@kleine-koenig.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox