diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-08-21 12:57:10 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-08-21 15:01:44 -0400 |
commit | 94543a8d4fb302817014981489f15cb3b92ec3c2 (patch) | |
tree | 651bad8e64bfaab497786cd6521f9db1bd3988d0 /drivers/net/sb1000.c | |
parent | 7b4e6cfbae304177b8edc0c12341b4896cab3f2d (diff) |
iwlwifi: fix flow handler debug code
iwl_dbgfs_fh_reg_read() can cause crashes and/or
BUG_ON in slub because the ifdefs are wrong, the
code in iwl_dump_fh() should use DEBUGFS, not
DEBUG to protect the buffer writing code.
Also, while at it, clean up the arguments to the
function, some code and make it generally safer.
Cc: stable@vger.kernel.org
Reported-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/sb1000.c')
0 files changed, 0 insertions, 0 deletions