Re: 2.6.0-test1: kernel image compile ok, but modules compile failed

From: Sam Ravnborg (sam@ravnborg.org)
Date: Tue Jul 22 2003 - 14:12:41 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:47 EST