Re: Newbie ask for help: cramfs port to isofs

Pavel Machek
2001-02-23T08:58:17Z

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