From: Dan Carpenter Date: Thu, 24 Nov 2011 07:22:08 +0000 (+0300) Subject: debugfs: remove unneeded cast in debugfs_print_regs32() X-Git-Tag: v3.3-rc1~30^2~1^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5858441c95587c6869950314742d99e6a03a2d16;p=pandora-kernel.git debugfs: remove unneeded cast in debugfs_print_regs32() The cast here causes a Sparse warning: fs/debugfs/file.c:561:42: warning: cast removes address space of expression fs/debugfs/file.c:561:42: warning: incorrect type in argument 1 (different address spaces) fs/debugfs/file.c:561:42: expected void const volatile [noderef] *addr fs/debugfs/file.c:561:42: got void * It's redundant to cast it to a (void *) anyway when it is already a (void __iomem *). Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed