From: Henrique de Moraes Holschuh Date: Tue, 26 Aug 2008 14:57:59 +0000 (-0300) Subject: rfkill: add WARN and BUG_ON paranoia (v2) X-Git-Tag: v2.6.28-rc1~717^2~384^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f745ba03a12a1c4b98a88a96ab39d9b58ac677a2;p=pandora-kernel.git 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 Acked-by: Ivo van Doorn Cc: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed