Re: Newbie ask for help: cramfs port to isofs

Pavel Machek (pavel@suse.cz)
Thu, 22 Feb 2001 21:46:50 +0100


Hi!

> > --- vanilla-2.4.1/fs/isofs/dir.c Sat Dec 30 01:13:45 2000
> > +++ cisofs/fs/isofs/dir.c Mon Feb 19 18:40:16 2001
> > @@ -108,8 +111,7 @@
> > unsigned int block, offset;
> > int inode_number = 0; /* Quiet GCC */
> > struct buffer_head *bh = NULL;
> > - int len;
> > - int map;
> > + int len = 0;
>
> This will be the most probably rejected.
> Zero initializers are intentionally removed from the code to decrease
> the kernel image size.

Definitely not zero initializers of _auto_ variables!!!
Pavel

-- 
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
-
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/