projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffcde18
)
[SCSI] ips: warning fix
author
Andrew Morton
<akpm@linux-foundation.org>
Fri, 10 Aug 2007 21:50:52 +0000
(14:50 -0700)
committer
James Bottomley
<jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:40:14 +0000
(14:40 -0400)
drivers/scsi/ips.c: In function 'ips_insert_device':
drivers/scsi/ips.c:6957: warning: 'index' may be used uninitialized in this function
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/ips.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/ips.c
b/drivers/scsi/ips.c
index
492a51b
..
b17771b
100644
(file)
--- a/
drivers/scsi/ips.c
+++ b/
drivers/scsi/ips.c
@@
-6946,7
+6946,7
@@
module_exit(ips_module_exit);
static int __devinit
ips_insert_device(struct pci_dev *pci_dev, const struct pci_device_id *ent)
{
- int
index
;
+ int
uninitialized_var(index)
;
int rc;
METHOD_TRACE("ips_insert_device", 1);