Re: fix for 2.1.x ni65 module bug (and other similar drivers)

Paul Rusty Russell (Paul.Russell@rustcorp.com.au)
Tue, 15 Sep 1998 12:32:12 -0700


In message <m0zIzDM-000aQwC@the-village.bc.nu> you write:
> > > Why.. You are forcing a block of BSS (ie all zero) to be 0..
> >
> > why? only because most other drivers use the same initialzisation for
> > their static array for device name and because I didn't know
> > (and wasn't sure) that it's guaranteed [for all time] that these
> > arrays are initialized with zero. as my problem showed, it's
> > important that they _are_ initialized, so I thought better be sure...
>
> Its been guaranteed since 0.9something.

FYI: the Kernel Hacker's Guide used to warn (in big letters) about
statics not being initialized to zero, which is where this
misperception comes from. Just checked, and it's gone now, but it was
there a year ago for sure.

Rusty.

--
 .sig lost in the mail.

- 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/