projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71f9f6c
)
USB: fix uninitialised variable in ti_do_download
author
Oliver Neukum
<oliver@neukum.org>
Tue, 30 Jun 2009 07:44:24 +0000
(09:44 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Sun, 12 Jul 2009 22:16:38 +0000
(15:16 -0700)
Signed-off-by: Oliver Neukum <oliver@neukum.org>
Cc: stable <stable@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ti_usb_3410_5052.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/ti_usb_3410_5052.c
b/drivers/usb/serial/ti_usb_3410_5052.c
index
35d8852
..
14971a9
100644
(file)
--- a/
drivers/usb/serial/ti_usb_3410_5052.c
+++ b/
drivers/usb/serial/ti_usb_3410_5052.c
@@
-1657,7
+1657,7
@@
static int ti_do_download(struct usb_device *dev, int pipe,
u8 cs = 0;
int done;
struct ti_firmware_header *header;
- int status;
+ int status
= 0
;
int len;
for (pos = sizeof(struct ti_firmware_header); pos < size; pos++)