Skip to content

Commit

Permalink
USB: fix uninitialised variable in ti_do_download
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Oliver Neukum authored and Greg Kroah-Hartman committed Jul 12, 2009
1 parent 71f9f6c commit 87ea8c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/serial/ti_usb_3410_5052.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++)
Expand Down

0 comments on commit 87ea8c8

Please sign in to comment.