Re: Newbie ask for help: cramfs port to isofs

From: Pavel Machek (pavel@suse.cz)
Date: Thu Feb 22 2001 - 15:46:50 EST


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/



This archive was generated by hypermail 2b29 : Fri Feb 23 2001 - 21:00:30 EST