commit | f745ba03a12a1c4b98a88a96ab39d9b58ac677a2 | [log] [tgz] |
---|---|---|
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | Tue Aug 26 11:57:59 2008 -0300 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Aug 29 16:24:10 2008 -0400 |
tree | b66455f17ac6c8cfc33711c71da793ae17209ada | |
parent | 01b510b9c29caf2134c31d2bc8c2c5cc73987eb6 [diff] |
rfkill: add WARN and BUG_ON paranoia (v2) BUG_ON() and WARN() the heck out of buggy drivers calling into the rfkill subsystem. Also switch from WARN_ON(1) to the new descriptive WARN(). Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Acked-by: Ivo van Doorn <IvDoorn@gmail.com> Cc: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>