diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-10-11 01:22:25 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-11 11:14:25 -0700 |
commit | 76fd020937f2d09f76a4cd8dbae1f3bec640ff0b (patch) | |
tree | 7e8a001058a7b663e085e85add279642273c6c82 /drivers/isdn/pcbit | |
parent | bf02c082bf7a464518d45b9c178b8aa83f74dd5d (diff) | |
download | op-kernel-dev-76fd020937f2d09f76a4cd8dbae1f3bec640ff0b.zip op-kernel-dev-76fd020937f2d09f76a4cd8dbae1f3bec640ff0b.tar.gz |
[PATCH] ISDN: several minor fixes
pcbit: kill 'may be used uninitialized' warning. although the code does
eventually fill the 32 bits it cares about, the variable truly is
accessed uninitialized in each macro. Easier to just clean it up now.
sc: fix a ton of obviously incorrect printk's (some with missing
arguments even)
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/isdn/pcbit')
-rw-r--r-- | drivers/isdn/pcbit/layer2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/isdn/pcbit/layer2.c b/drivers/isdn/pcbit/layer2.c index 13e7d21..937fd21 100644 --- a/drivers/isdn/pcbit/layer2.c +++ b/drivers/isdn/pcbit/layer2.c @@ -311,6 +311,7 @@ pcbit_deliver(void *data) dev->read_queue = frame->next; spin_unlock_irqrestore(&dev->lock, flags); + msg = 0; SET_MSG_CPU(msg, 0); SET_MSG_PROC(msg, 0); SET_MSG_CMD(msg, frame->skb->data[2]); |