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:
2087ff3
)
[PATCH] frv: fix uninitialised variable in serverworks driver
author
David Howells
<dhowells@redhat.com>
Sun, 8 Jan 2006 09:01:26 +0000
(
01:01
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:13:38 +0000
(20:13 -0800)
Fix an uninitialised variable warning in the serverworks driver.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ide/pci/serverworks.c
patch
|
blob
|
history
diff --git
a/drivers/ide/pci/serverworks.c
b/drivers/ide/pci/serverworks.c
index ff2e217a8c84f883b85399faca8787b099c7a492..0d3073f4eab4e3d8e55f6c34af0fadd9f262e659 100644
(file)
--- a/
drivers/ide/pci/serverworks.c
+++ b/
drivers/ide/pci/serverworks.c
@@
-69,7
+69,7
@@
static int check_in_drive_lists (ide_drive_t *drive, const char **list)
static u8 svwks_ratemask (ide_drive_t *drive)
{
struct pci_dev *dev = HWIF(drive)->pci_dev;
- u8 mode;
+ u8 mode
= 0
;
if (!svwks_revision)
pci_read_config_byte(dev, PCI_REVISION_ID, &svwks_revision);