Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern



> > Modified Files:
> >     src/sys/kern: subr_evcnt.c
> > 
> > Log Message:
> > Add code to detect attaching of evcnt before evcnt has been initialized.
> > 
> > 
> > To generate a diff of this commit:
> > cvs rdiff -u -r1.7 -r1.8 src/sys/kern/subr_evcnt.c
> 
> This breaks at runtime on at least one evbarm board, and probably many
> more.

Then shouldn't such broken code (uninitialied evcnt reference) be fixed
as KASSERTMSG() claims?  (I've fixed pmax one)

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index