summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-08-21 18:57:10 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-08-21 15:01:44 -0400
commit94543a8d4fb302817014981489f15cb3b92ec3c2 (patch)
tree651bad8e64bfaab497786cd6521f9db1bd3988d0 /arch
parent7b4e6cfbae304177b8edc0c12341b4896cab3f2d (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 'arch')
0 files changed, 0 insertions, 0 deletions