VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Dan Carpenter <dan.carpenter@oracle.com> 2011-11-24 10:22:08 +0300 committer: Greg Kroah-Hartman <gregkh@suse.de> 2011-11-26 20:12:47 -0800 commit: 5858441c95587c6869950314742d99e6a03a2d16 parent: 124a6b4c4dae0317a0689a42ed0c68fabeb10c8d
Commit Summary:
debugfs: remove unneeded cast in debugfs_print_regs32()
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/debugfs/file.c b/fs/debugfs/file.c
index e0a3a59a6744..989f07fb86f7 100644
--- a/fs/debugfs/file.c
+++ b/fs/debugfs/file.c
@@ -558,7 +558,7 @@ int debugfs_print_regs32(struct seq_file *s, const struct debugfs_reg32 *regs,
 		if (prefix)
 			ret += seq_printf(s, "%s", prefix);
 		ret += seq_printf(s, "%s = 0x%08x\n", regs->name,
-				  readl((void *)(base + regs->offset)));
+				  readl(base + regs->offset));
 	}
 	return ret;
 }