]> git.baikalelectronics.ru Git - kernel.git/commit
USB: DL100B webmail notifier: initialize return value
authorMelchior FRANZ <mfranz@aon.at>
Wed, 22 Dec 2010 12:55:24 +0000 (13:55 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 23 Jan 2011 02:32:54 +0000 (18:32 -0800)
commit629d2e5e9117929bd5f471bae29186542a9241d5
tree096a1a09162eeff6aff26d2d8dba2986695b60a3
parent5721a6617ad3ee00f122f8969de6854bf7b0b6e5
USB: DL100B webmail notifier: initialize return value

If case of an unknown usb_device_id->driver_info (which could only
occur if the info got corrupted somewhere outside the usbled driver),
a debug message depended on an uninitialized value. This was harmless,
but ugly, and gets fixed with this patch.

Signed-off-by: Melchior FRANZ <mfranz@aon.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/usbled.c