Skip to content

Commit

Permalink
[PATCH] sata_sis: uninitialized variable
Browse files Browse the repository at this point in the history
There is an uninitialized variable issue in sata_sis.c
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
  • Loading branch information
Uwe Koziolek authored and Jeff Garzik committed Sep 14, 2005
1 parent 39eb936 commit 668e4bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/sata_sis.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 668e4bc

Please sign in to comment.