Re: [SPARC64] kernel 2.6.7+cset-20040625_0611 = ERROR
From: Andrew Morton
Date: Fri Jun 25 2004 - 05:11:47 EST
"Wojciech 'Sas' Cieciwa" <cieciwa@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
> make[1]: *** [arch/sparc64/kernel/process.o] Error 1
> make: *** [arch/sparc64/kernel] Error 2
here's t'other:
include/linux/byteorder/swab.h: In function `__swab16p':
include/linux/byteorder/swab.h:139: warning: passing arg 1 of `___arch__swab16p' discards qualifiers from pointer target type
include/linux/byteorder/swab.h: In function `__swab32p':
include/linux/byteorder/swab.h:152: warning: passing arg 1 of `___arch__swab32p' discards qualifiers from pointer target type
include/linux/byteorder/swab.h: In function `__swab64p':
include/linux/byteorder/swab.h:172: warning: passing arg 1 of `___arch__swab64p' discards qualifiers from pointer target type
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---
25-sparc64-akpm/include/asm-sparc64/byteorder.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff -puN include/asm-sparc64/byteorder.h~sparc64-swab-fix include/asm-sparc64/byteorder.h
--- 25-sparc64/include/asm-sparc64/byteorder.h~sparc64-swab-fix 2004-06-25 03:00:05.667497712 -0700
+++ 25-sparc64-akpm/include/asm-sparc64/byteorder.h 2004-06-25 03:00:05.670497256 -0700
@@ -7,7 +7,7 @@
#ifdef __GNUC__
-static __inline__ __u16 ___arch__swab16p(__u16 *addr)
+static __inline__ __u16 ___arch__swab16p(const __u16 *addr)
{
__u16 ret;
@@ -17,7 +17,7 @@ static __inline__ __u16 ___arch__swab16p
return ret;
}
-static __inline__ __u32 ___arch__swab32p(__u32 *addr)
+static __inline__ __u32 ___arch__swab32p(const __u32 *addr)
{
__u32 ret;
@@ -27,7 +27,7 @@ static __inline__ __u32 ___arch__swab32p
return ret;
}
-static __inline__ __u64 ___arch__swab64p(__u64 *addr)
+static __inline__ __u64 ___arch__swab64p(const __u64 *addr)
{
__u64 ret;
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/