aboutsummaryrefslogtreecommitdiff
path: root/net/rfkill
AgeCommit message (Collapse)AuthorFilesLines
2007-07-14[RFKILL]: fix net/rfkill/rfkill-input.c bug on 64-bit systemsIngo Molnar1-1/+1
Subject: [patch] net/input: fix net/rfkill/rfkill-input.c bug on 64-bit systems this recent commit: commit cf4328cd949c2086091c62c5685f1580fe9b55e4 Author: Ivo van Doorn <[email protected]> Date: Mon May 7 00:34:20 2007 -0700 [NET]: rfkill: add support for input key to control wireless radio added this 64-bit bug: .... unsigned int flags; spin_lock_irqsave(&task->lock, flags); .... irq 'flags' must be unsigned long, not unsigned int. The -rt tree has strict checks about this on 64-bit so this triggered a build failure. Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2007-05-19[RFKILL]: Fix check for correct rfkill allocationIvo van Doorn1-1/+1
coverity has spotted a bug in rfkill.c (bug id #1627), in rfkill_allocate() NULL was returns if the kzalloc() works, and deref the NULL pointer if it fails, Signed-off-by: Ivo van Doorn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2007-05-07[NET]: rfkill: add support for input key to control wireless radioIvo van Doorn4-0/+611
The RF kill patch that provides infrastructure for implementing switches controlling radio states on various network and other cards. [[email protected]: address review comments] [[email protected]: cleanups, build fixes] Signed-off-by: Ivo van Doorn <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: David S. Miller <[email protected]>