Re: [PATCH] New user space serial port driver

Rogier Wolff
2000-11-30T17:18:28Z

Russell King wrote:
> Rogier Wolff writes:
> > > > +static struct termios * ussp_termios[USSP_MAX_PORTS];
> > > > +static struct termios * ussp_termios_locked[USSP_MAX_PORTS];
> >
> > this SHOULD mean that these are first initialized before use.
> >
> > If you think they can be used before first being initialized by the
> > code, then that's a bug, and I'll look into it.
>
> Ah, but they are initialised before use, by arch/*/kernel/head.S.
> Therefore no bug exists.

Documentation bug. Not code bug.

Roger.

--
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
* There are old pilots, and there are bold pilots.
* There are also old, bald pilots.