LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 01/11] ata: fix sparse warning in ata_piix.c
@ 2008-02-14  5:14 Harvey Harrison
  2008-02-15 18:51 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Harvey Harrison @ 2008-02-14  5:14 UTC (permalink / raw)
  To: Jeff Garzik, Tejun Heo; +Cc: LKML, linux-ide

drivers/ata/ata_piix.c:1655:8: warning: symbol 'rc' shadows an earlier one
drivers/ata/ata_piix.c:1616:6: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
 drivers/ata/ata_piix.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c
index 9c2515f..752e7d2 100644
--- a/drivers/ata/ata_piix.c
+++ b/drivers/ata/ata_piix.c
@@ -1652,7 +1652,7 @@ static int __devinit piix_init_one(struct pci_dev *pdev,
 		u8 tmp;
 		pci_read_config_byte(pdev, PIIX_SCC, &tmp);
 		if (tmp == PIIX_AHCI_DEVICE) {
-			int rc = piix_disable_ahci(pdev);
+			rc = piix_disable_ahci(pdev);
 			if (rc)
 				return rc;
 		}
-- 
1.5.4.1.1278.gc75be



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 01/11] ata: fix sparse warning in ata_piix.c
  2008-02-14  5:14 [PATCH 01/11] ata: fix sparse warning in ata_piix.c Harvey Harrison
@ 2008-02-15 18:51 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2008-02-15 18:51 UTC (permalink / raw)
  To: Harvey Harrison; +Cc: Tejun Heo, LKML, linux-ide

Harvey Harrison wrote:
> drivers/ata/ata_piix.c:1655:8: warning: symbol 'rc' shadows an earlier one
> drivers/ata/ata_piix.c:1616:6: originally declared here
> 
> Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
> ---
>  drivers/ata/ata_piix.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

applied 1-4



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-15 18:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-14  5:14 [PATCH 01/11] ata: fix sparse warning in ata_piix.c Harvey Harrison
2008-02-15 18:51 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).