From: Andrew Morton <akpm@osdl.org>
To: "Wojciech 'Sas' Cieciwa" <cieciwa@alpha.zarz.agh.edu.pl>
Cc: linux-kernel@vger.kernel.org, davem@redhat.com,
sparclinux@vger.kernel.org
Subject: Re: [SPARC64] kernel 2.6.7+cset-20040625_0611 = ERROR
Date: Fri, 25 Jun 2004 03:05:02 -0700 [thread overview]
Message-ID: <20040625030502.40e25d42.akpm@osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.58L.0406251320310.6037@alpha.zarz.agh.edu.pl>
"Wojciech 'Sas' Cieciwa" <cieciwa@alpha.zarz.agh.edu.pl> 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@osdl.org>
---
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;
_
next prev parent reply other threads:[~2004-06-25 10:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-25 11:23 [SPARC64] kernel 2.6.7+cset-20040625_0611 = ERROR Wojciech 'Sas' Cieciwa
2004-06-25 10:04 ` Andrew Morton
2004-06-25 10:05 ` Andrew Morton [this message]
2004-06-25 17:30 ` David S. Miller
2004-06-25 18:53 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040625030502.40e25d42.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=cieciwa@alpha.zarz.agh.edu.pl \
--cc=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sparclinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox