projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/scsi/ips.c
b/drivers/scsi/ips.c
index 492a51bd6aa899bb8d64a5cf60ab304913d8d7c2..b17771b1c605e9ba94a2a98376e92ed66d9472f9 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);