diff options
author | Uwe Koziolek <uwe.koziolek@gmx.net> | 2005-09-11 17:03:35 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-14 08:22:44 -0400 |
commit | 668e4bc7229c1866f65f3bef6ab011f8c9034089 (patch) | |
tree | e82efd49d7812a77fb9c6917e28ccc9fa8f1eb78 /drivers | |
parent | 39eb936c7ec8ef1dccb88d3bcfc1c5fa2410c472 (diff) | |
download | op-kernel-dev-668e4bc7229c1866f65f3bef6ab011f8c9034089.zip op-kernel-dev-668e4bc7229c1866f65f3bef6ab011f8c9034089.tar.gz |
[PATCH] sata_sis: uninitialized variable
There is an uninitialized variable issue in sata_sis.c
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/sata_sis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sata_sis.c b/drivers/scsi/sata_sis.c index 237c198..b227e51 100644 --- 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 */ |