diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2009-06-17 19:27:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-18 16:03:54 -0400 |
commit | 9653a69e923522050e15dab042b163dcc2ed7111 (patch) | |
tree | 3358e2b1e7e38f98b9f2f93155653a5deb0f89be /drivers/char | |
parent | d6f47befdd7483cd1e14a7ae76ef22f7f9722c90 (diff) |
Char: isicom: fix build warning
Fix this:
isicom.c: In function `isicom_probe':
isicom.c:1587: warning: `signature' may be used uninitialized in this function
by uninitialized_var(), because if the signature is not initialized in
reset_card(), we won't use it.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/isicom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/isicom.c b/drivers/char/isicom.c index 4d745a89504f..4159292e35cf 100644 --- a/drivers/char/isicom.c +++ b/drivers/char/isicom.c | |||
@@ -1593,7 +1593,7 @@ static unsigned int card_count; | |||
1593 | static int __devinit isicom_probe(struct pci_dev *pdev, | 1593 | static int __devinit isicom_probe(struct pci_dev *pdev, |
1594 | const struct pci_device_id *ent) | 1594 | const struct pci_device_id *ent) |
1595 | { | 1595 | { |
1596 | unsigned int signature, index; | 1596 | unsigned int uninitialized_var(signature), index; |
1597 | int retval = -EPERM; | 1597 | int retval = -EPERM; |
1598 | struct isi_board *board = NULL; | 1598 | struct isi_board *board = NULL; |
1599 | 1599 | ||