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/char/cyclades.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/char/cyclades.c')
-rw-r--r-- | drivers/char/cyclades.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/cyclades.c b/drivers/char/cyclades.c index 7b0839426e18..9e0adfe27c12 100644 --- a/drivers/char/cyclades.c +++ b/drivers/char/cyclades.c | |||
@@ -4466,10 +4466,10 @@ static void cy_hangup(struct tty_struct *tty) | |||
4466 | static int __devinit cy_init_card(struct cyclades_card *cinfo) | 4466 | static int __devinit cy_init_card(struct cyclades_card *cinfo) |
4467 | { | 4467 | { |
4468 | struct cyclades_port *info; | 4468 | struct cyclades_port *info; |
4469 | u32 mailbox; | 4469 | u32 uninitialized_var(mailbox); |
4470 | unsigned int nports; | 4470 | unsigned int nports; |
4471 | unsigned short chip_number; | 4471 | unsigned short chip_number; |
4472 | int index, port; | 4472 | int uninitialized_var(index), port; |
4473 | 4473 | ||
4474 | spin_lock_init(&cinfo->card_lock); | 4474 | spin_lock_init(&cinfo->card_lock); |
4475 | 4475 | ||