From: Dan Carpenter Date: Wed, 27 Jun 2012 09:08:55 +0000 (+0300) Subject: dma-debug: debugfs_create_bool() takes a u32 pointer X-Git-Tag: v3.5-rc7~43^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68ee6d22376411f8ec668413f1b632a34192a807;p=pandora-kernel.git dma-debug: debugfs_create_bool() takes a u32 pointer Even though it has "bool" in the name, you have pass a u32 pointer to debugfs_create_bool(). Otherwise you get memory corruption in write_file_bool(). Fortunately in this case the corruption happens in an alignment hole between variables so it doesn't cause any problems. Signed-off-by: Dan Carpenter Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed