From: Johannes Berg Date: Mon, 18 Apr 2011 16:12:37 +0000 (-0700) Subject: iwlagn: remove most BUG_ON instances X-Git-Tag: v3.0-rc1~377^2~256^2^2~39^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e41ace5deef7af16dd277d9d17f9d36dca0a10e;p=pandora-kernel.git iwlagn: remove most BUG_ON instances There are a number of things in the driver that may result in a BUG(), which is suboptimal since it's hard to get debugging information out of the driver in that case and the user experience is also not good :-) Almost all BUG_ON instances can be converted to WARN_ON with a few lines of appropriate error handling, so do that instead. Signed-off-by: Johannes Berg Signed-off-by: Wey-Yi Guy --- Reading git-diff-tree failed