projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0cbc86
)
[libata] sata_via: kill uninit'd var warning
author
Jeff Garzik
<jeff@garzik.org>
Mon, 13 Apr 2009 08:09:34 +0000
(
04:09
-0400)
committer
Jeff Garzik
<jgarzik@redhat.com>
Mon, 13 Apr 2009 08:09:34 +0000
(
04:09
-0400)
Reported and initial patch by Marin Mitov.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_via.c
patch
|
blob
|
history
diff --git
a/drivers/ata/sata_via.c
b/drivers/ata/sata_via.c
index
98e8c50
..
bdd43c7
100644
(file)
--- a/
drivers/ata/sata_via.c
+++ b/
drivers/ata/sata_via.c
@@
-566,7
+566,7
@@
static int svia_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
static int printed_version;
unsigned int i;
int rc;
- struct ata_host *host;
+ struct ata_host *host
= NULL
;
int board_id = (int) ent->driver_data;
const unsigned *bar_sizes;