]> err.no Git - linux-2.6/commit
USB: sisusbvga: Fix bug
authorSatyam Sharma <satyam@infradead.org>
Sun, 2 Sep 2007 20:07:31 +0000 (01:37 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:25 +0000 (14:55 -0700)
commite6d42f0e962390e956545aa282efb05a9d6a41d1
tree77dec05024647ac82094bd5e62fb6baf7d098307
parent5adceac5da3d353dd1318d0482cab94a79472adf
USB: sisusbvga: Fix bug

drivers/usb/misc/sisusbvga/sisusb.c: In function sisusb_open
drivers/usb/misc/sisusbvga/sisusb.c:2444: warning: sisusb is used uninitialized in this function

is a genuine bug (which will cause oops). We cannot use "sisusb" in
error path for (!interface), because sisusb will itself be derived
from "interface" later.

Signed-off-by: Satyam Sharma <satyam@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/sisusbvga/sisusb.c