aboutsummaryrefslogtreecommitdiff
path: root/net/decnet
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2007-10-28 15:16:50 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2007-11-10 22:00:15 -0800
commit7319f1e6bcf04abd2eddb19747b0933a76f839ce (patch)
treeb6b1579a2bf0bfab90736ee589fa836835ede6cc /net/decnet
parentf51359a8fb1bb00ae87051991e59d0f92d90604b (diff)
rfkill: Use mutex_lock() at register and add sanity check
Replace mutex_lock_interruptible() by mutex_lock() in rfkill_register(), as interruptible doesn't make sense there. Add a sanity check for rfkill->type, as that's used for an unchecked dereference in an array and might cause hard to debug crashes if the driver sets this to an invalid value. Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/decnet')
0 files changed, 0 insertions, 0 deletions