Re: [PATCH] rivafb bugfixes
Jeff Garzik (jgarzik@mandrakesoft.com)
Wed, 28 Jun 2000 13:00:43 -0400
wsuetholz@centonline.com wrote:
>
> On 28-Jun-00 Jeff Garzik wrote:
> >
> > Looks ok except for one small thing: do not explicitly initialize these
> > to zero, they are automatically zeroed. If not, it is a bug...
> >
> > If TNT owners report success I will apply.
> >
> > Jeff
> >
>
> What do you mean don't initialize variables??? If you don't, then on some
> OS's you will get random garbage in the variable. Granted Linux currently seems
> to initialize your memory to zeroes, but do you really want to depend on that?
Yes. Otherwise you bloat the kernel image size with zeroed data.
Jeff
--
Jeff Garzik |
Building 1024 | Make my funk the p-funk.
MandrakeSoft, Inc. |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/