From: Uwe Koziolek <uwe.koziolek@gmx.net>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: linux-ide@vger.kernel.org
Subject: patch for sata_sis.c
Date: Sun, 11 Sep 2005 17:03:35 +0200 [thread overview]
Message-ID: <43244747.3020504@gmx.net> (raw)
In-Reply-To: <4321C16C.9000901@pobox.com>
[-- Attachment #1: Type: text/plain, Size: 130 bytes --]
Hello Jeff,
There is an uninitialized variable issue in sata_sis.c, version
2.6.13-git10. Please check the patch.
Uwe Koziolek
[-- Attachment #2: sata_sis.c.patch --]
[-- Type: text/x-patch, Size: 436 bytes --]
diff --git a/drivers/scsi/sata_sis.c b/drivers/scsi/sata_sis.c
--- a/drivers/scsi/sata_sis.c
+++ b/drivers/scsi/sata_sis.c
@@ -159,7 +159,7 @@ static u32 sis_scr_cfg_read (struct ata_
{
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 */
prev parent reply other threads:[~2005-09-11 15:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-09 3:12 [git patch] libata fixes Jeff Garzik
2005-09-09 9:30 ` Uwe Koziolek
2005-09-09 17:07 ` Jeff Garzik
2005-09-11 15:03 ` Uwe Koziolek [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43244747.3020504@gmx.net \
--to=uwe.koziolek@gmx.net \
--cc=jgarzik@pobox.com \
--cc=linux-ide@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.