From: Grzegorz Jaskiewicz <gj@pointblue.com.pl>
To: lkml <linux-kernel@vger.kernel.org>
Cc: Linus <torvalds@transmeta.com>
Subject: Re: [PATCH] include/linux/sunrpc/svc.h compilation error
Date: 06 May 2003 13:12:01 +0100 [thread overview]
Message-ID: <1052223106.4051.7.camel@nalesnik> (raw)
In-Reply-To: <1052222558.3873.19.camel@nalesnik>
Sorry for that Linus, patch below is a right one.
diff -r -u 2/include/linux/sunrpc/svc.h 1/include/linux/sunrpc/svc.h
--- 2/include/linux/sunrpc/svc.h 2003-05-05 00:53:31.000000000
+0100
+++ 1/include/linux/sunrpc/svc.h 2003-05-06 13:06:27.000000000
+0100
@@ -176,8 +176,14 @@
{
if (rqstp->rq_arghi <= rqstp->rq_argused)
return -ENOMEM;
- rqstp->rq_respages[rqstp->rq_resused++] =
- rqstp->rq_argpages[--rqstp->rq_arghi];
+
+ rqstp->rq_arghi--;
+
+ rqstp->rq_respages[rqstp->rq_resused] =
+ rqstp->rq_argpages[rqstp->rq_arghi];
+
+ rqstp->rq_resused++;
+
return 0;
}
On Tue, 2003-05-06 at 13:02, Grzegorz Jaskiewicz wrote:
> On Tue, 2003-05-06 at 11:08, Paweł Gołaszewski wrote:
> > That kernel fails for me when building...
> > [cut]
> >
> > gcc -Wp,-MD,fs/lockd/.clntproc.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=clntproc -DKBUILD_MODNAME=lockd -c -o fs/lockd/.tmp_clntproc.o fs/lockd/clntproc.c
> > In file included from fs/lockd/clntproc.c:17:
> > include/linux/sunrpc/svc.h: In function `svc_take_page':
> > include/linux/sunrpc/svc.h:180: invalid lvalue in assignment
> > make[3]: *** [fs/lockd/clntproc.o] Error 1
> > make[2]: *** [fs/lockd] Error 2
> > make[1]: *** [fs] Error 2
> > make: *** [modules] Error 2
>
> Looks like gcc fault, can You Pawel give as gcc version ?
>
> this patch as reported by Pawel helps:
> but still, it looks strange - i am sure it is just an gcc issue
--
Grzegorz Jaskiewicz <gj@pointblue.com.pl>
K4 labs
next prev parent reply other threads:[~2003-05-06 12:05 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-05 0:48 Linux 2.5.69 Linus Torvalds
2003-05-05 4:30 ` Florin Iucha
2003-05-05 4:41 ` Linus Torvalds
2003-05-05 6:31 ` Anders Karlsson
2003-05-05 7:08 ` Anders Karlsson
2003-05-05 13:07 ` Florin Iucha
2003-05-05 13:20 ` Florin Iucha
2003-05-05 8:14 ` Benjamin Herrenschmidt
2003-05-05 21:05 ` John Cherry
2003-05-05 21:39 ` Sam Ravnborg
2003-05-05 21:45 ` Arnaldo Carvalho de Melo
2003-05-05 23:22 ` John Cherry
2003-05-06 10:08 ` Paweł Gołaszewski
2003-05-06 12:02 ` [PATCH] include/linux/sunrpc/svc.h compilation error Grzegorz Jaskiewicz
2003-05-06 12:12 ` Grzegorz Jaskiewicz [this message]
2003-05-06 12:58 ` Paweł Gołaszewski
2003-05-06 13:39 ` Linux 2.5.69 Roger Luethi
2003-05-06 14:08 ` David S. Miller
2003-05-06 18:24 ` Arnaldo Carvalho de Melo
2003-05-07 2:22 ` Rusty Russell
2003-05-07 19:44 ` Geert Uytterhoeven
2003-05-07 19:35 ` Ben Collins
2003-05-07 22:07 ` Linus Torvalds
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=1052223106.4051.7.camel@nalesnik \
--to=gj@pointblue.com.pl \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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