diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-07-17 05:39:58 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-17 16:23:19 -0400 |
commit | a6343afb6e16b65b9f0b264f94f8207212e7e3ae (patch) | |
tree | 038520431715be0dab295883ba994b7854202c71 /drivers/usb/misc/auerswald.c | |
parent | b1734d2388cc45ecdec58615e35955d0d402f938 (diff) |
drivers/*: mark variables with uninitialized_var()
Mark variables in drivers/* with uninitialized_var() if such a warning
appears, and analysis proves that the var is initialized properly on all
paths it is used.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/usb/misc/auerswald.c')
-rw-r--r-- | drivers/usb/misc/auerswald.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/misc/auerswald.c b/drivers/usb/misc/auerswald.c index 3e22b2ff9e74..42d4e6454a77 100644 --- a/drivers/usb/misc/auerswald.c +++ b/drivers/usb/misc/auerswald.c | |||
@@ -664,7 +664,7 @@ static int auerchain_control_msg (pauerchain_t acp, struct usb_device *dev, unsi | |||
664 | int ret; | 664 | int ret; |
665 | struct usb_ctrlrequest *dr; | 665 | struct usb_ctrlrequest *dr; |
666 | struct urb *urb; | 666 | struct urb *urb; |
667 | int length; | 667 | int uninitialized_var(length); |
668 | 668 | ||
669 | dbg ("auerchain_control_msg"); | 669 | dbg ("auerchain_control_msg"); |
670 | dr = kmalloc (sizeof (struct usb_ctrlrequest), GFP_KERNEL); | 670 | dr = kmalloc (sizeof (struct usb_ctrlrequest), GFP_KERNEL); |