[doh, apparently I didn't send this to the list]

James Carlson wrote:
Meem and I have been talking on and off about reducing the number of
-erroff directives in $SRC/uts/Makefile.uts.  We both feel that
quieting down lint is the wrong direction to go, as it all too often
papers over real problems in the code that need to be fixed.

For this reason, I filed and fixed 6219031 last year.  That hauled out
the trivial ones, but there still seems to be some low-hanging fruit
available.  I've rerun my lint checking on a recent Nevada build, and
here's what I find:


Somewhat related.  The devref on opensolaris.org contains the "NEVER
EVER USE /*LINTLIBRARY*/ IN KERNEL SOURCE" warning.  Though it doesn't
state why, I've been assuming this is because of its unfortunate
tendency to hide real errors.

In attempt to test that theory, I dragged all the /*LINTLIBRARY*/
comments of the pci* and px_* code, and well, whether that's the
primary reason or not, it does hide errors.

There's several non-errors related to conflicts between psycho and
schizo specific code, but from memory there's quite a chunk of real
issues too.

Sadly, my attempts to fix it up properly got blocked behind being
unable to find out if there were other reasons for the LINTLIBRARY bits
there, and a lack of cycles to figure out cleaning up the psycho v.
schizo conflicts.

-- Rich

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to