]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] PS3: Fix sparse warnings
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Fri, 15 Jun 2007 21:19:04 +0000 (07:19 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 28 Jun 2007 09:16:35 +0000 (19:16 +1000)
Fix some PS3 build warnings reported by `make C=1'.  You need to
install sparse:
  git://git.kernel.org/pub/scm/devel/sparse/sparse.git

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/ps3/os-area.c

index 5c3da08bc0c4cac0935379c7d40107ec21fcf69e..b70e474014f028c9da8c938d164e7c7d4defcd26 100644 (file)
@@ -133,7 +133,7 @@ struct saved_params {
 } static saved_params;
 
 #define dump_header(_a) _dump_header(_a, __func__, __LINE__)
-static void _dump_header(const struct os_area_header __iomem *h, const char* func,
+static void _dump_header(const struct os_area_header *h, const char *func,
        int line)
 {
        pr_debug("%s:%d: h.magic_num:         '%s'\n", func, line,
@@ -151,7 +151,7 @@ static void _dump_header(const struct os_area_header __iomem *h, const char* fun
 }
 
 #define dump_params(_a) _dump_params(_a, __func__, __LINE__)
-static void _dump_params(const struct os_area_params __iomem *p, const char* func,
+static void _dump_params(const struct os_area_params *p, const char *func,
        int line)
 {
        pr_debug("%s:%d: p.boot_flag:       %u\n", func, line, p->boot_flag);