From: Johannes Berg Date: Tue, 21 Aug 2012 16:57:10 +0000 (+0200) Subject: iwlwifi: fix flow handler debug code X-Git-Tag: v3.6-rc5~20^2~21^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94543a8d4fb302817014981489f15cb3b92ec3c2;p=pandora-kernel.git 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 Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed