All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Stephen Hemminger <shemminger@vyatta.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: [PATCH] ata: duplicate variable sparse warning
Date: Sat, 13 Sep 2008 16:43:34 -0400	[thread overview]
Message-ID: <48CC25F6.8050701@pobox.com> (raw)
In-Reply-To: <20080908093139.3909a3ac@extreme>

Stephen Hemminger wrote:
> drivers/ata/ata_piix.c:1502:7: warning: symbol 'rc' shadows an earlier one
> 
> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
> 
> --- a/drivers/ata/ata_piix.c	2008-09-08 09:29:22.000000000 -0700
> +++ b/drivers/ata/ata_piix.c	2008-09-08 09:29:33.000000000 -0700
> @@ -1499,7 +1499,7 @@ static int __devinit piix_init_one(struc
>  	 * off.
>  	 */
>  	if (pdev->vendor == PCI_VENDOR_ID_INTEL && pdev->device == 0x2652) {
> -		int rc = piix_disable_ahci(pdev);
> +		rc = piix_disable_ahci(pdev);
>  		if (rc)
>  			return rc;

applied



      parent reply	other threads:[~2008-09-13 20:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-08 16:31 [PATCH] ata: duplicate variable sparse warning Stephen Hemminger
2008-09-09 11:19 ` Tejun Heo
2008-09-13 20:43 ` Jeff Garzik [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=48CC25F6.8050701@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=shemminger@vyatta.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.