Commit fe8bbcd3 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] isdn_ppp_ccp.c uses uninitialized spinlock

From: Tonnerre Anklin <thunder@keepsake.ch>

This spinlock was used uninitialized. Gave me a lot of warnings.
parent d71abcaf
...@@ -557,7 +557,7 @@ ippp_ccp_send_ccp(struct ippp_ccp *ccp, struct sk_buff *skb) ...@@ -557,7 +557,7 @@ ippp_ccp_send_ccp(struct ippp_ccp *ccp, struct sk_buff *skb)
} }
static LIST_HEAD(ipc_head); static LIST_HEAD(ipc_head);
static spinlock_t ipc_head_lock; static spinlock_t ipc_head_lock = SPIN_LOCK_UNLOCKED;
int int
ippp_ccp_set_compressor(struct ippp_ccp *ccp, int unit, ippp_ccp_set_compressor(struct ippp_ccp *ccp, int unit,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment