cvs commit: src/sys/net if_vlan.c

Nate Lawson nate at root.org
Tue May 4 09:41:55 PDT 2004


On Tue, 4 May 2004, Andre Oppermann wrote:
> Scott Long wrote:
> >
> > Scott Long wrote:
> >
> > > scottl      2004/05/03 19:39:41 PDT
> > >
> > >   FreeBSD src repository
> > >
> > >   Modified files:
> > >     sys/net              if_vlan.c
> > >   Log:
> > >   Add route.h to pick up the rt_ifmsg() declaration.
> > >
> > >   Revision  Changes    Path
> > >   1.60      +1 -0      src/sys/net/if_vlan.c
> >
> > Not to pick on anyone in particular, but we've had about three days in a
> > row now with tinderbox failures.  Please, everyone, step back and be
> > more careful.  Thanks,
>
> Scott, I'm sorry for that.
>
> However it worked for me just fine.  The reason I just found out is that
> I wasn't compiling if_vlan into the kernel but loaded and tested it as
> module.  Compiling it as module doesn't give any compiler warning and
> works w/o a hitch.  Dunno why?

Because -Werror doesn't get turned on for module builds nor are proper .h
files generated, leading to things like _mtx_lock_flags being undefined
when WITNESS is used for the kernel compile.  Why is this?  Because every
time someone tries to fix it, people protest.

-Nate


More information about the cvs-src mailing list