Source-Changes-D archive

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

Re: CVS commit: src/sys/dev



"Michael van Elst" <mlelstv%netbsd.org@localhost> writes:

> Modified Files:
> 	src/sys/dev: dksubr.c
>
> Log Message:
> warn about labels only when built with DIAGNOSTIC

This feels like an abuse of DIAGNOSTIC, which is supposed to be about
asserts for detecting internal inconsistencies, not changing the
behavior of how the kernel responds to external inputs.

I don't have any problem with warnings for dodgy external input being
generally enabled, or having a separate verbose option.   I can't see
any reason not to have them, as it's not like new labels appearing is a
high-rate event that would dos the log.

Attachment: pgpAnHhfPXT_7.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index