* [PATCH] ata: duplicate variable sparse warning
@ 2008-09-08 16:31 Stephen Hemminger
2008-09-09 11:19 ` Tejun Heo
2008-09-13 20:43 ` Jeff Garzik
0 siblings, 2 replies; 3+ messages in thread
From: Stephen Hemminger @ 2008-09-08 16:31 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux-ide
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;
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ata: duplicate variable sparse warning
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
1 sibling, 0 replies; 3+ messages in thread
From: Tejun Heo @ 2008-09-09 11:19 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: Jeff Garzik, linux-ide
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>
Acked-by: Tejun Heo <tj@kernel.org>
--
tejun
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ata: duplicate variable sparse warning
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
1 sibling, 0 replies; 3+ messages in thread
From: Jeff Garzik @ 2008-09-13 20:43 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: linux-ide
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-09-13 20:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).