Hi Tom,

If you work under the OpenSolaris source tree, please refer to the
definitions related to a specific driver and the Makefile of the driver
itself to see how to do lint check:

http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/Makefile.rules
http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/Makefile.files

Thanks,
Lucy

Tom Chen wrote:
Hi guys,

Our company wants to add a GLDv3 driver to the OpenSolaris. I am wondering how to do lint checking?
Here is part of the makefile I copied from other people and am currently using 
to do lint checking for the GLDv3 driver,  I am using SunStudio11 to build 
GLDv3 driver.

LINTFLAGS  = -xO3 -xarch=v9 -xcode=abs32 -s -errchk=%all -c -errhdr -Ncheck 
-Nlevel=4

However, this generated too many warnings:
"usr/src/uts/common/inet/ip.h", line 1566: warning: sign extension from 32-bit to 
64-bit integer."

Anybody can kindly tell me how to do?

Tom

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

Reply via email to