aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.modpost
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2007-10-28 10:16:50 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-11-11 01:00:15 -0500
commit7319f1e6bcf04abd2eddb19747b0933a76f839ce (patch)
treeb6b1579a2bf0bfab90736ee589fa836835ede6cc /scripts/Makefile.modpost
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 'scripts/Makefile.modpost')
0 files changed, 0 insertions, 0 deletions