diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-10-02 17:40:46 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 17:55:29 -0400 |
commit | 9dcfbd97a695a3c28a867501127fa35ac49bc805 (patch) | |
tree | f59c059c2f83ba6c3640e7cdf0f2ef49c93691c2 | |
parent | ca0677a29bddee35918bf3c0c55cc3badd69079e (diff) |
USB: fix gregkh-usb-usb-sisusb2vga-convert-printk-to-dev_-macros
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
I can tell that'll oops just by looking at it.
How come this code assume a 7,000 column xterm? :(
Cc: Felipe Balbi <felipe.lima@indt.org.br>
Cc: Thomas <thomas@winischhofer.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/usb/misc/sisusbvga/sisusb.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/usb/misc/sisusbvga/sisusb.c b/drivers/usb/misc/sisusbvga/sisusb.c index 033bdfe9b215..0790829a5701 100644 --- a/drivers/usb/misc/sisusbvga/sisusb.c +++ b/drivers/usb/misc/sisusbvga/sisusb.c | |||
@@ -3323,15 +3323,7 @@ static int __init usb_sisusb_init(void) | |||
3323 | sisusb_init_concode(); | 3323 | sisusb_init_concode(); |
3324 | #endif | 3324 | #endif |
3325 | 3325 | ||
3326 | if (!(retval = usb_register(&sisusb_driver))) { | 3326 | return usb_register(&sisusb_driver); |
3327 | |||
3328 | dev_info(&sisusb->sisusb_dev->dev, "Driver version %d.%d.%d\n", SISUSB_VERSION, | ||
3329 | SISUSB_REVISION, SISUSB_PATCHLEVEL); | ||
3330 | dev_info(&sisusb->sisusb_dev->dev, "sisusb: Copyright (C) 2005 Thomas Winischhofer\n"); | ||
3331 | |||
3332 | } | ||
3333 | |||
3334 | return retval; | ||
3335 | } | 3327 | } |
3336 | 3328 | ||
3337 | static void __exit usb_sisusb_exit(void) | 3329 | static void __exit usb_sisusb_exit(void) |