projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.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
|
blame
|
history
diff --git
a/drivers/ata/sata_via.c
b/drivers/ata/sata_via.c
index 98e8c50703b3fe3f4d4940f604153ef88c378a8a..bdd43c7f432e278859d8a3cf6fe39f1b62614dd8 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;