Lucy,
Can you explain a bit more?
http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/intel/ixgbe/Makefile, I
see the LINTS definition, but I can not find where it is defined.
LINTS = $(IXGBE_OBJS:%.o=$(LINTS_DIR)/%.ln)
Is it part of the environment? our driver is still not embedded in the
OpenSolaris yet, I can not find where the .ln file to do the lint check is.
Tom
----- Original Message -----
From: <[email protected]>
To: "Tom Chen" <[email protected]>
Cc: <[email protected]>
Sent: Friday, April 17, 2009 1:26 AM
Subject: Re: [driver-discuss] lint checking
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