* 2.6.0-test1: kernel image compile ok, but modules compile failed
@ 2003-07-22 18:48 Xiaoji Liu
2003-07-22 19:12 ` Sam Ravnborg
0 siblings, 1 reply; 3+ messages in thread
From: Xiaoji Liu @ 2003-07-22 18:48 UTC (permalink / raw)
To: linux-kernel
Hello,
when i compile kernel 2.6.0-test1
It gave 'parse error' message when compiling file
drivers/mtd/devices/blkmtd.c
(around line 700)
I opened the source file and saw this:
static int blkmtd_write(struct mtd_info *mtd, loff_t
to, size_t len,
size_t *retlen, const u_char *buf)
{
mtd_raw_dev_data_t *rawdevice = mtd->priv;
int err = 0;
int offset;
int pagenr;
size_t len1 = 0, len2 = 0, len3 = 0;
struct page **pages;
int pagecnt = 0;
char b[BDEVNAME_SIZE];
21 e3
*retlen = 0;
DEBUG(2, "blkmtd: write: dev = `%s' to = %ld len = %d
buf = %p\n",
bdevname(rawdevice->binding, b), (long int)to, len,
buf);
/* handle readonly and out of range numbers */
Notice there is a line : 21 e3
please give some suggestion
THX
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6.0-test1: kernel image compile ok, but modules compile failed
2003-07-22 18:48 2.6.0-test1: kernel image compile ok, but modules compile failed Xiaoji Liu
@ 2003-07-22 19:12 ` Sam Ravnborg
2003-07-22 19:25 ` Xiaoji Liu
0 siblings, 1 reply; 3+ messages in thread
From: Sam Ravnborg @ 2003-07-22 19:12 UTC (permalink / raw)
To: Xiaoji Liu, Andrew Morton; +Cc: linux-kernel
On Tue, Jul 22, 2003 at 11:48:42AM -0700, Xiaoji Liu wrote:
> Hello,
>
> when i compile kernel 2.6.0-test1
> It gave 'parse error' message when compiling file
> drivers/mtd/devices/blkmtd.c
> (around line 700)
>
> I opened the source file and saw this:
>
> static int blkmtd_write(struct mtd_info *mtd, loff_t
> to, size_t len,
> size_t *retlen, const u_char *buf)
> {
> mtd_raw_dev_data_t *rawdevice = mtd->priv;
> int err = 0;
> int offset;
> int pagenr;
> size_t len1 = 0, len2 = 0, len3 = 0;
> struct page **pages;
> int pagecnt = 0;
> char b[BDEVNAME_SIZE];
> 21 e3
> *retlen = 0;
They where added by Andrew by accident, and can safely be deleted.
It was part of the "[PATCH] make the bdevname() API sane"
that involved several files.
Sam
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6.0-test1: kernel image compile ok, but modules compile failed
2003-07-22 19:12 ` Sam Ravnborg
@ 2003-07-22 19:25 ` Xiaoji Liu
0 siblings, 0 replies; 3+ messages in thread
From: Xiaoji Liu @ 2003-07-22 19:25 UTC (permalink / raw)
To: Sam Ravnborg; +Cc: linux-kernel
--- Sam Ravnborg <sam@ravnborg.org> wrote:
> On Tue, Jul 22, 2003 at 11:48:42AM -0700, Xiaoji Liu
> wrote:
> > Hello,
> >
> > when i compile kernel 2.6.0-test1
> > It gave 'parse error' message when compiling file
> > drivers/mtd/devices/blkmtd.c
> > (around line 700)
> >
> > I opened the source file and saw this:
> >
> > static int blkmtd_write(struct mtd_info *mtd,
> loff_t
> > to, size_t len,
> > size_t *retlen, const u_char *buf)
> > {
> > mtd_raw_dev_data_t *rawdevice = mtd->priv;
> > int err = 0;
> > int offset;
> > int pagenr;
> > size_t len1 = 0, len2 = 0, len3 = 0;
> > struct page **pages;
> > int pagecnt = 0;
> > char b[BDEVNAME_SIZE];
> > 21 e3
> > *retlen = 0;
>
> They where added by Andrew by accident, and can
> safely be deleted.
> It was part of the "[PATCH] make the bdevname() API
> sane"
> that involved several files.
>
> Sam
are there any other such problems around? :)
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-07-22 19:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-22 18:48 2.6.0-test1: kernel image compile ok, but modules compile failed Xiaoji Liu
2003-07-22 19:12 ` Sam Ravnborg
2003-07-22 19:25 ` Xiaoji Liu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.