projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39eb936
)
[PATCH] sata_sis: uninitialized variable
author
Uwe Koziolek
<uwe.koziolek@gmx.net>
Sun, 11 Sep 2005 15:03:35 +0000
(17:03 +0200)
committer
Jeff Garzik
<jgarzik@pobox.com>
Wed, 14 Sep 2005 12:22:44 +0000
(08:22 -0400)
There is an uninitialized variable issue in sata_sis.c
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/scsi/sata_sis.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/sata_sis.c
b/drivers/scsi/sata_sis.c
index 237c1986f0128628743ea5c731256319b81002a1..b227e51d12f4c3b0f8a591e72967cbe0ebda1bc4 100644
(file)
--- a/
drivers/scsi/sata_sis.c
+++ b/
drivers/scsi/sata_sis.c
@@
-161,7
+161,7
@@
static u32 sis_scr_cfg_read (struct ata_port *ap, unsigned int sc_reg)
{
struct pci_dev *pdev = to_pci_dev(ap->host_set->dev);
unsigned int cfg_addr = get_scr_cfg_addr(ap->port_no, sc_reg, pdev->device);
- u32 val, val2;
+ u32 val, val2
= 0
;
u8 pmr;
if (sc_reg == SCR_ERROR) /* doesn't exist in PCI cfg space */