提交 87ea8c88 编写于 作者: O Oliver Neukum 提交者: Greg Kroah-Hartman

USB: fix uninitialised variable in ti_do_download

Signed-off-by: NOliver Neukum <oliver@neukum.org>
Cc: stable <stable@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 71f9f6cc
......@@ -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++)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册