Commit 87ea8c88 authored by Oliver Neukum's avatar Oliver Neukum Committed by Greg Kroah-Hartman

USB: fix uninitialised variable in ti_do_download

Signed-off-by: default avatarOliver Neukum <oliver@neukum.org>
Cc: stable <stable@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 71f9f6cc
...@@ -1657,7 +1657,7 @@ static int ti_do_download(struct usb_device *dev, int pipe, ...@@ -1657,7 +1657,7 @@ static int ti_do_download(struct usb_device *dev, int pipe,
u8 cs = 0; u8 cs = 0;
int done; int done;
struct ti_firmware_header *header; struct ti_firmware_header *header;
int status; int status = 0;
int len; int len;
for (pos = sizeof(struct ti_firmware_header); pos < size; pos++) for (pos = sizeof(struct ti_firmware_header); pos < size; pos++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment