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:
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 35d8852eeff753a4aa8d7641d05b1fa170c6d87b..14971a926990575aa6afd30c5c364d4b7f1e8539 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++)