]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
USB: fix uninitialised variable in ti_do_download
authorOliver Neukum <oliver@neukum.org>
Tue, 30 Jun 2009 07:44:24 +0000 (09:44 +0200)
committerGreg 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

index 35d8852eeff753a4aa8d7641d05b1fa170c6d87b..14971a926990575aa6afd30c5c364d4b7f1e8539 100644 (file)
@@ -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++)