summaryrefslogtreecommitdiff
path: root/usr/src/uts/sparc
diff options
context:
space:
mode:
authorDan McDonald <danmcd@mnx.io>2022-05-13 17:20:24 -0400
committerGitHub <noreply@github.com>2022-05-13 17:20:24 -0400
commitbb7d6c9b47695f41cbacbcf6662baf3d0e152fdf (patch)
tree75f2d0cab5fb92f97f2ab2c3186a0b5d1579a33a /usr/src/uts/sparc
parent8ca5534c77e93c25d2c1f777499b12da0f7cc0cd (diff)
parent402559e299331588f209b3a9693e3bcd6a83d22c (diff)
downloadillumos-joyent-OS-8149.tar.gz
Merge branch 'master' into OS-8149OS-8149
Diffstat (limited to 'usr/src/uts/sparc')
-rw-r--r--usr/src/uts/sparc/FSS/Makefile13
-rw-r--r--usr/src/uts/sparc/FX/Makefile19
-rw-r--r--usr/src/uts/sparc/FX_DPTBL/Makefile15
-rw-r--r--usr/src/uts/sparc/IA/Makefile13
-rw-r--r--usr/src/uts/sparc/Makefile31
-rw-r--r--usr/src/uts/sparc/Makefile.files15
-rw-r--r--usr/src/uts/sparc/Makefile.rules46
-rw-r--r--usr/src/uts/sparc/Makefile.sparc54
-rw-r--r--usr/src/uts/sparc/RT/Makefile21
-rw-r--r--usr/src/uts/sparc/RT_DPTBL/Makefile14
-rw-r--r--usr/src/uts/sparc/SDC/Makefile8
-rw-r--r--usr/src/uts/sparc/TS/Makefile18
-rw-r--r--usr/src/uts/sparc/TS_DPTBL/Makefile14
-rw-r--r--usr/src/uts/sparc/aac/Makefile23
-rw-r--r--usr/src/uts/sparc/ac97/Makefile10
-rw-r--r--usr/src/uts/sparc/acctctl/Makefile12
-rw-r--r--usr/src/uts/sparc/aes/Makefile18
-rw-r--r--usr/src/uts/sparc/afe/Makefile13
-rw-r--r--usr/src/uts/sparc/aggr/Makefile18
-rw-r--r--usr/src/uts/sparc/aoutexec/Makefile14
-rw-r--r--usr/src/uts/sparc/arcfour/Makefile16
-rw-r--r--usr/src/uts/sparc/arp/Makefile2
-rw-r--r--usr/src/uts/sparc/audio/Makefile8
-rw-r--r--usr/src/uts/sparc/audio1575/Makefile23
-rw-r--r--usr/src/uts/sparc/audiocs/Makefile10
-rw-r--r--usr/src/uts/sparc/audioens/Makefile10
-rw-r--r--usr/src/uts/sparc/audiols/Makefile10
-rw-r--r--usr/src/uts/sparc/audiop16x/Makefile10
-rw-r--r--usr/src/uts/sparc/audiopci/Makefile10
-rw-r--r--usr/src/uts/sparc/audiots/Makefile21
-rw-r--r--usr/src/uts/sparc/autofs/Makefile17
-rw-r--r--usr/src/uts/sparc/av1394/Makefile28
-rw-r--r--usr/src/uts/sparc/bge/Makefile22
-rw-r--r--usr/src/uts/sparc/bignum/Makefile17
-rw-r--r--usr/src/uts/sparc/bl/Makefile15
-rw-r--r--usr/src/uts/sparc/blkdev/Makefile10
-rw-r--r--usr/src/uts/sparc/blowfish/Makefile25
-rw-r--r--usr/src/uts/sparc/bnxe/Makefile30
-rw-r--r--usr/src/uts/sparc/bofi/Makefile26
-rw-r--r--usr/src/uts/sparc/bootfs/Makefile8
-rw-r--r--usr/src/uts/sparc/bpf/Makefile18
-rw-r--r--usr/src/uts/sparc/bridge/Makefile15
-rw-r--r--usr/src/uts/sparc/bufmod/Makefile20
-rw-r--r--usr/src/uts/sparc/busra/Makefile9
-rw-r--r--usr/src/uts/sparc/c2audit/Makefile25
-rw-r--r--usr/src/uts/sparc/cardbus/Makefile35
-rw-r--r--usr/src/uts/sparc/cc/Makefile9
-rw-r--r--usr/src/uts/sparc/cc_cubic/Makefile10
-rw-r--r--usr/src/uts/sparc/cc_newreno/Makefile10
-rw-r--r--usr/src/uts/sparc/cc_sunreno/Makefile10
-rw-r--r--usr/src/uts/sparc/ccid/Makefile42
-rw-r--r--usr/src/uts/sparc/chxge/Makefile34
-rw-r--r--usr/src/uts/sparc/clone/Makefile10
-rw-r--r--usr/src/uts/sparc/cmlb/Makefile16
-rw-r--r--usr/src/uts/sparc/cn/Makefile13
-rw-r--r--usr/src/uts/sparc/config/Makefile9
-rw-r--r--usr/src/uts/sparc/connld/Makefile11
-rw-r--r--usr/src/uts/sparc/consconfig/Makefile13
-rw-r--r--usr/src/uts/sparc/consconfig_dacf/Makefile19
-rw-r--r--usr/src/uts/sparc/conskbd/Makefile20
-rw-r--r--usr/src/uts/sparc/consms/Makefile13
-rw-r--r--usr/src/uts/sparc/cpuid/Makefile9
-rw-r--r--usr/src/uts/sparc/cryptmod/Makefile23
-rw-r--r--usr/src/uts/sparc/crypto/Makefile17
-rw-r--r--usr/src/uts/sparc/cryptoadm/Makefile22
-rw-r--r--usr/src/uts/sparc/ctf/Makefile18
-rw-r--r--usr/src/uts/sparc/ctfs/Makefile13
-rw-r--r--usr/src/uts/sparc/dad/Makefile18
-rw-r--r--usr/src/uts/sparc/dada/Makefile13
-rw-r--r--usr/src/uts/sparc/daplt/Makefile24
-rw-r--r--usr/src/uts/sparc/datafilt/Makefile13
-rw-r--r--usr/src/uts/sparc/dca/Makefile22
-rw-r--r--usr/src/uts/sparc/dcam1394/Makefile22
-rw-r--r--usr/src/uts/sparc/dcfs/Makefile8
-rw-r--r--usr/src/uts/sparc/dcpc/Makefile10
-rw-r--r--usr/src/uts/sparc/dedump/Makefile20
-rw-r--r--usr/src/uts/sparc/des/Makefile22
-rw-r--r--usr/src/uts/sparc/dev/Makefile12
-rw-r--r--usr/src/uts/sparc/devfs/Makefile8
-rw-r--r--usr/src/uts/sparc/devinfo/Makefile16
-rw-r--r--usr/src/uts/sparc/dlcosmk/Makefile23
-rw-r--r--usr/src/uts/sparc/dld/Makefile18
-rw-r--r--usr/src/uts/sparc/dlpistub/Makefile8
-rw-r--r--usr/src/uts/sparc/dls/Makefile18
-rw-r--r--usr/src/uts/sparc/dmfe/Makefile17
-rw-r--r--usr/src/uts/sparc/doorfs/Makefile15
-rw-r--r--usr/src/uts/sparc/dprov/Makefile25
-rw-r--r--usr/src/uts/sparc/drcompat/Makefile20
-rw-r--r--usr/src/uts/sparc/dscpmk/Makefile22
-rw-r--r--usr/src/uts/sparc/dtrace/Makefile20
-rw-r--r--usr/src/uts/sparc/dtrace/dtrace_asm.s277
-rw-r--r--usr/src/uts/sparc/dtrace/dtrace_isa.c10
-rw-r--r--usr/src/uts/sparc/dtrace/fbt.c8
-rw-r--r--usr/src/uts/sparc/dtrace/sdt.c2
-rw-r--r--usr/src/uts/sparc/dump/Makefile16
-rw-r--r--usr/src/uts/sparc/e1000g/Makefile27
-rw-r--r--usr/src/uts/sparc/ecc/Makefile22
-rw-r--r--usr/src/uts/sparc/ecpp/Makefile23
-rw-r--r--usr/src/uts/sparc/edonr/Makefile11
-rw-r--r--usr/src/uts/sparc/efe/Makefile10
-rw-r--r--usr/src/uts/sparc/ehci/Makefile14
-rw-r--r--usr/src/uts/sparc/eibnx/Makefile22
-rw-r--r--usr/src/uts/sparc/elfexec/Makefile30
-rw-r--r--usr/src/uts/sparc/emlxs/Makefile20
-rw-r--r--usr/src/uts/sparc/emlxs_fw/Makefile17
-rw-r--r--usr/src/uts/sparc/emul64/Makefile25
-rw-r--r--usr/src/uts/sparc/eoib/Makefile17
-rw-r--r--usr/src/uts/sparc/eri/Makefile15
-rw-r--r--usr/src/uts/sparc/eventfd/Makefile8
-rw-r--r--usr/src/uts/sparc/exacctsys/Makefile15
-rw-r--r--usr/src/uts/sparc/fas/Makefile24
-rw-r--r--usr/src/uts/sparc/fasttrap/Makefile10
-rw-r--r--usr/src/uts/sparc/fbt/Makefile16
-rw-r--r--usr/src/uts/sparc/fcip/Makefile20
-rw-r--r--usr/src/uts/sparc/fcode/Makefile16
-rw-r--r--usr/src/uts/sparc/fcodem/Makefile18
-rw-r--r--usr/src/uts/sparc/fcoe/Makefile10
-rw-r--r--usr/src/uts/sparc/fcoei/Makefile12
-rw-r--r--usr/src/uts/sparc/fcoet/Makefile10
-rw-r--r--usr/src/uts/sparc/fcp/Makefile18
-rw-r--r--usr/src/uts/sparc/fcpci/Makefile27
-rw-r--r--usr/src/uts/sparc/fcsm/Makefile16
-rw-r--r--usr/src/uts/sparc/fct/Makefile21
-rw-r--r--usr/src/uts/sparc/fctl/Makefile17
-rw-r--r--usr/src/uts/sparc/fdfs/Makefile11
-rw-r--r--usr/src/uts/sparc/fifofs/Makefile14
-rw-r--r--usr/src/uts/sparc/flowacct/Makefile21
-rw-r--r--usr/src/uts/sparc/fm/Makefile8
-rw-r--r--usr/src/uts/sparc/fp/Makefile21
-rw-r--r--usr/src/uts/sparc/fs/proc/prmachdep.c10
-rw-r--r--usr/src/uts/sparc/fssnap/Makefile15
-rw-r--r--usr/src/uts/sparc/fssnap_if/Makefile10
-rw-r--r--usr/src/uts/sparc/gen_drv/Makefile20
-rw-r--r--usr/src/uts/sparc/gld/Makefile19
-rw-r--r--usr/src/uts/sparc/hci1394/Makefile28
-rw-r--r--usr/src/uts/sparc/hermon/Makefile21
-rw-r--r--usr/src/uts/sparc/hid/Makefile24
-rw-r--r--usr/src/uts/sparc/hidparser/Makefile18
-rw-r--r--usr/src/uts/sparc/hme/Makefile10
-rw-r--r--usr/src/uts/sparc/hook/Makefile12
-rw-r--r--usr/src/uts/sparc/hpcsvc/Makefile19
-rw-r--r--usr/src/uts/sparc/hsfs/Makefile20
-rw-r--r--usr/src/uts/sparc/hubd/Makefile16
-rw-r--r--usr/src/uts/sparc/hxge/Makefile27
-rw-r--r--usr/src/uts/sparc/i8042/Makefile13
-rw-r--r--usr/src/uts/sparc/ib/Makefile29
-rw-r--r--usr/src/uts/sparc/ibcm/Makefile30
-rw-r--r--usr/src/uts/sparc/ibdm/Makefile22
-rw-r--r--usr/src/uts/sparc/ibdma/Makefile20
-rw-r--r--usr/src/uts/sparc/ibmf/Makefile23
-rw-r--r--usr/src/uts/sparc/ibp/Makefile24
-rw-r--r--usr/src/uts/sparc/ibtl/Makefile23
-rw-r--r--usr/src/uts/sparc/icmp/Makefile24
-rw-r--r--usr/src/uts/sparc/icmp6/Makefile17
-rw-r--r--usr/src/uts/sparc/idm/Makefile10
-rw-r--r--usr/src/uts/sparc/idmap/Makefile14
-rw-r--r--usr/src/uts/sparc/igb/Makefile24
-rw-r--r--usr/src/uts/sparc/inotify/Makefile11
-rw-r--r--usr/src/uts/sparc/inst_sync/Makefile8
-rw-r--r--usr/src/uts/sparc/intpexec/Makefile8
-rw-r--r--usr/src/uts/sparc/io/fibre-channel/impl/fp.conf4
-rw-r--r--usr/src/uts/sparc/io/pciex/pcie_sparc.c2
-rw-r--r--usr/src/uts/sparc/io/pciex/pcieb_sparc.c4
-rw-r--r--usr/src/uts/sparc/ip/Makefile31
-rw-r--r--usr/src/uts/sparc/ip6/Makefile17
-rw-r--r--usr/src/uts/sparc/ipc/Makefile13
-rw-r--r--usr/src/uts/sparc/ipd/Makefile11
-rw-r--r--usr/src/uts/sparc/ipf/Makefile28
-rw-r--r--usr/src/uts/sparc/ipgpc/Makefile25
-rw-r--r--usr/src/uts/sparc/ipnet/Makefile30
-rw-r--r--usr/src/uts/sparc/ippctl/Makefile18
-rw-r--r--usr/src/uts/sparc/ipsecah/Makefile2
-rw-r--r--usr/src/uts/sparc/ipsecesp/Makefile2
-rw-r--r--usr/src/uts/sparc/iptun/Makefile15
-rw-r--r--usr/src/uts/sparc/iscsi/Makefile14
-rw-r--r--usr/src/uts/sparc/iscsit/Makefile14
-rw-r--r--usr/src/uts/sparc/iser/Makefile10
-rw-r--r--usr/src/uts/sparc/iwscn/Makefile11
-rw-r--r--usr/src/uts/sparc/ixgbe/Makefile25
-rw-r--r--usr/src/uts/sparc/javaexec/Makefile8
-rw-r--r--usr/src/uts/sparc/kaio/Makefile21
-rw-r--r--usr/src/uts/sparc/kb8042/Makefile15
-rw-r--r--usr/src/uts/sparc/kbtrans/Makefile21
-rw-r--r--usr/src/uts/sparc/kcf/Makefile21
-rw-r--r--usr/src/uts/sparc/keysock/Makefile27
-rw-r--r--usr/src/uts/sparc/kgssapi/Makefile23
-rw-r--r--usr/src/uts/sparc/kiconv_emea/Makefile19
-rw-r--r--usr/src/uts/sparc/kiconv_ja/Makefile19
-rw-r--r--usr/src/uts/sparc/kiconv_ko/Makefile13
-rwxr-xr-xusr/src/uts/sparc/kiconv_sc/Makefile19
-rwxr-xr-xusr/src/uts/sparc/kiconv_tc/Makefile19
-rw-r--r--usr/src/uts/sparc/klmmod/Makefile10
-rw-r--r--usr/src/uts/sparc/klmops/Makefile10
-rw-r--r--usr/src/uts/sparc/kmdb/Makefile12
-rw-r--r--usr/src/uts/sparc/kmech_dummy/Makefile14
-rw-r--r--usr/src/uts/sparc/kmech_krb5/Makefile32
-rw-r--r--usr/src/uts/sparc/krtld/kobj_reloc.c13
-rw-r--r--usr/src/uts/sparc/ksensor/Makefile40
-rw-r--r--usr/src/uts/sparc/ksensor_test/Makefile40
-rw-r--r--usr/src/uts/sparc/ksocket/Makefile10
-rw-r--r--usr/src/uts/sparc/kssl/Makefile25
-rw-r--r--usr/src/uts/sparc/ksslf/Makefile25
-rw-r--r--usr/src/uts/sparc/kstat/Makefile13
-rw-r--r--usr/src/uts/sparc/ksyms/Makefile8
-rw-r--r--usr/src/uts/sparc/ldterm/Makefile15
-rw-r--r--usr/src/uts/sparc/llc1/Makefile14
-rw-r--r--usr/src/uts/sparc/lockstat/Makefile11
-rw-r--r--usr/src/uts/sparc/lofi/Makefile12
-rw-r--r--usr/src/uts/sparc/lofs/Makefile8
-rw-r--r--usr/src/uts/sparc/log/Makefile24
-rw-r--r--usr/src/uts/sparc/logindmux/Makefile18
-rw-r--r--usr/src/uts/sparc/mac/Makefile24
-rw-r--r--usr/src/uts/sparc/mac_6to4/Makefile14
-rw-r--r--usr/src/uts/sparc/mac_ether/Makefile12
-rw-r--r--usr/src/uts/sparc/mac_ib/Makefile12
-rw-r--r--usr/src/uts/sparc/mac_ipv4/Makefile14
-rw-r--r--usr/src/uts/sparc/mac_ipv6/Makefile14
-rw-r--r--usr/src/uts/sparc/mac_wifi/Makefile12
-rw-r--r--usr/src/uts/sparc/md4/Makefile24
-rw-r--r--usr/src/uts/sparc/md5/Makefile13
-rw-r--r--usr/src/uts/sparc/mii/Makefile10
-rw-r--r--usr/src/uts/sparc/ml/fd_asm.s13
-rw-r--r--usr/src/uts/sparc/ml/ip_ocsum.s14
-rw-r--r--usr/src/uts/sparc/ml/modstubs.s9
-rw-r--r--usr/src/uts/sparc/ml/sparc_ddi.s178
-rw-r--r--usr/src/uts/sparc/mm/Makefile20
-rw-r--r--usr/src/uts/sparc/mntfs/Makefile13
-rw-r--r--usr/src/uts/sparc/mouse8042/Makefile15
-rw-r--r--usr/src/uts/sparc/mpt_sas/Makefile17
-rw-r--r--usr/src/uts/sparc/mr_sas/Makefile23
-rw-r--r--usr/src/uts/sparc/ms/Makefile21
-rw-r--r--usr/src/uts/sparc/msgsys/Makefile15
-rw-r--r--usr/src/uts/sparc/mxfe/Makefile10
-rw-r--r--usr/src/uts/sparc/myri10ge/Makefile11
-rw-r--r--usr/src/uts/sparc/namefs/Makefile8
-rw-r--r--usr/src/uts/sparc/nca/Makefile26
-rw-r--r--usr/src/uts/sparc/net_dacf/Makefile16
-rw-r--r--usr/src/uts/sparc/neti/Makefile13
-rw-r--r--usr/src/uts/sparc/nfs/Makefile20
-rw-r--r--usr/src/uts/sparc/nfs_dlboot/Makefile17
-rw-r--r--usr/src/uts/sparc/nfssrv/Makefile19
-rw-r--r--usr/src/uts/sparc/nsmb/Makefile24
-rw-r--r--usr/src/uts/sparc/nulldriver/Makefile13
-rw-r--r--usr/src/uts/sparc/objfs/Makefile14
-rw-r--r--usr/src/uts/sparc/oce/Makefile10
-rw-r--r--usr/src/uts/sparc/ohci/Makefile24
-rw-r--r--usr/src/uts/sparc/openeepr/Makefile16
-rw-r--r--usr/src/uts/sparc/options/Makefile10
-rw-r--r--usr/src/uts/sparc/os/cpr_sparc.c6
-rw-r--r--usr/src/uts/sparc/os/name_to_sysnum1
-rw-r--r--usr/src/uts/sparc/os/syscall.c4
-rw-r--r--usr/src/uts/sparc/pcfs/Makefile18
-rw-r--r--usr/src/uts/sparc/pci_pci/Makefile25
-rw-r--r--usr/src/uts/sparc/pcic/Makefile32
-rw-r--r--usr/src/uts/sparc/pcicfg/Makefile28
-rw-r--r--usr/src/uts/sparc/pcieb/Makefile28
-rw-r--r--usr/src/uts/sparc/pcieb_bcm/Makefile27
-rw-r--r--usr/src/uts/sparc/pcihp/Makefile21
-rw-r--r--usr/src/uts/sparc/pckt/Makefile14
-rw-r--r--usr/src/uts/sparc/pcmcia/Makefile24
-rw-r--r--usr/src/uts/sparc/pcs/Makefile14
-rw-r--r--usr/src/uts/sparc/pfmod/Makefile22
-rw-r--r--usr/src/uts/sparc/physmem/Makefile14
-rw-r--r--usr/src/uts/sparc/pipe/Makefile15
-rw-r--r--usr/src/uts/sparc/pipemod/Makefile11
-rw-r--r--usr/src/uts/sparc/pm/Makefile14
-rw-r--r--usr/src/uts/sparc/pmcs/Makefile10
-rw-r--r--usr/src/uts/sparc/pmcs8001fw/Makefile14
-rw-r--r--usr/src/uts/sparc/poll/Makefile17
-rw-r--r--usr/src/uts/sparc/pool/Makefile21
-rw-r--r--usr/src/uts/sparc/portfs/Makefile14
-rw-r--r--usr/src/uts/sparc/pppt/Makefile14
-rw-r--r--usr/src/uts/sparc/procfs/Makefile2
-rw-r--r--usr/src/uts/sparc/profile/Makefile11
-rw-r--r--usr/src/uts/sparc/pset/Makefile14
-rw-r--r--usr/src/uts/sparc/pseudo/Makefile11
-rw-r--r--usr/src/uts/sparc/pshot/Makefile20
-rw-r--r--usr/src/uts/sparc/ptc/Makefile22
-rw-r--r--usr/src/uts/sparc/ptem/Makefile14
-rw-r--r--usr/src/uts/sparc/ptm/Makefile18
-rw-r--r--usr/src/uts/sparc/pts/Makefile18
-rw-r--r--usr/src/uts/sparc/ptsl/Makefile25
-rw-r--r--usr/src/uts/sparc/qfe/Makefile14
-rw-r--r--usr/src/uts/sparc/qlc/Makefile16
-rw-r--r--usr/src/uts/sparc/qlc_fw_2200/Makefile16
-rw-r--r--usr/src/uts/sparc/qlc_fw_2300/Makefile16
-rw-r--r--usr/src/uts/sparc/qlc_fw_2400/Makefile16
-rw-r--r--usr/src/uts/sparc/qlc_fw_2500/Makefile16
-rw-r--r--usr/src/uts/sparc/qlc_fw_6322/Makefile16
-rw-r--r--usr/src/uts/sparc/qlc_fw_8100/Makefile16
-rw-r--r--usr/src/uts/sparc/qlge/Makefile12
-rw-r--r--usr/src/uts/sparc/qlt/Makefile22
-rw-r--r--usr/src/uts/sparc/ramdisk/Makefile10
-rw-r--r--usr/src/uts/sparc/random/Makefile16
-rw-r--r--usr/src/uts/sparc/rds/Makefile17
-rw-r--r--usr/src/uts/sparc/rdsib/Makefile19
-rw-r--r--usr/src/uts/sparc/rdsv3/Makefile36
-rw-r--r--usr/src/uts/sparc/redirmod/Makefile11
-rw-r--r--usr/src/uts/sparc/rge/Makefile28
-rw-r--r--usr/src/uts/sparc/rlmod/Makefile21
-rw-r--r--usr/src/uts/sparc/rpcib/Makefile25
-rw-r--r--usr/src/uts/sparc/rpcmod/Makefile27
-rw-r--r--usr/src/uts/sparc/rpcsec/Makefile23
-rw-r--r--usr/src/uts/sparc/rpcsec_gss/Makefile26
-rw-r--r--usr/src/uts/sparc/rsa/Makefile27
-rw-r--r--usr/src/uts/sparc/rsm/Makefile28
-rw-r--r--usr/src/uts/sparc/rsmops/Makefile16
-rw-r--r--usr/src/uts/sparc/rtls/Makefile10
-rw-r--r--usr/src/uts/sparc/rts/Makefile22
-rw-r--r--usr/src/uts/sparc/s1394/Makefile26
-rw-r--r--usr/src/uts/sparc/sad/Makefile14
-rw-r--r--usr/src/uts/sparc/sata/Makefile25
-rw-r--r--usr/src/uts/sparc/sbp2/Makefile23
-rw-r--r--usr/src/uts/sparc/scsa1394/Makefile31
-rw-r--r--usr/src/uts/sparc/scsa2usb/Makefile26
-rw-r--r--usr/src/uts/sparc/scsi/Makefile22
-rw-r--r--usr/src/uts/sparc/scsi_vhci/Makefile10
-rw-r--r--usr/src/uts/sparc/scsi_vhci_f_sym/Makefile12
-rw-r--r--usr/src/uts/sparc/scsi_vhci_f_sym_hds/Makefile12
-rw-r--r--usr/src/uts/sparc/scsi_vhci_f_tape/Makefile12
-rw-r--r--usr/src/uts/sparc/scsi_vhci_f_tpgs/Makefile12
-rw-r--r--usr/src/uts/sparc/scsi_vhci_f_tpgs_tape/Makefile12
-rw-r--r--usr/src/uts/sparc/sd/Makefile23
-rw-r--r--usr/src/uts/sparc/sdp/Makefile12
-rw-r--r--usr/src/uts/sparc/sdt/Makefile15
-rw-r--r--usr/src/uts/sparc/semsys/Makefile15
-rw-r--r--usr/src/uts/sparc/ses/Makefile17
-rw-r--r--usr/src/uts/sparc/sfe/Makefile10
-rw-r--r--usr/src/uts/sparc/sgen/Makefile18
-rw-r--r--usr/src/uts/sparc/sha1/Makefile14
-rw-r--r--usr/src/uts/sparc/sha2/Makefile21
-rw-r--r--usr/src/uts/sparc/sharefs/Makefile8
-rw-r--r--usr/src/uts/sparc/shbinexec/Makefile8
-rw-r--r--usr/src/uts/sparc/shmsys/Makefile16
-rw-r--r--usr/src/uts/sparc/signalfd/Makefile8
-rw-r--r--usr/src/uts/sparc/simnet/Makefile10
-rw-r--r--usr/src/uts/sparc/skein/Makefile11
-rw-r--r--usr/src/uts/sparc/smbfs/Makefile24
-rw-r--r--usr/src/uts/sparc/smbsrv/Makefile10
-rw-r--r--usr/src/uts/sparc/smp/Makefile12
-rw-r--r--usr/src/uts/sparc/socal/Makefile18
-rw-r--r--usr/src/uts/sparc/sockfs/Makefile2
-rw-r--r--usr/src/uts/sparc/sockpfp/Makefile25
-rw-r--r--usr/src/uts/sparc/sockrds/Makefile15
-rw-r--r--usr/src/uts/sparc/socksctp/Makefile25
-rw-r--r--usr/src/uts/sparc/socksdp/Makefile19
-rw-r--r--usr/src/uts/sparc/softmac/Makefile20
-rw-r--r--usr/src/uts/sparc/sol_ofs/Makefile18
-rw-r--r--usr/src/uts/sparc/sol_ucma/Makefile17
-rw-r--r--usr/src/uts/sparc/sol_umad/Makefile10
-rw-r--r--usr/src/uts/sparc/sol_uverbs/Makefile18
-rw-r--r--usr/src/uts/sparc/spdsock/Makefile12
-rw-r--r--usr/src/uts/sparc/specfs/Makefile10
-rw-r--r--usr/src/uts/sparc/sppp/Makefile14
-rw-r--r--usr/src/uts/sparc/spppasyn/Makefile26
-rw-r--r--usr/src/uts/sparc/spppcomp/Makefile35
-rw-r--r--usr/src/uts/sparc/sppptun/Makefile20
-rw-r--r--usr/src/uts/sparc/srpt/Makefile14
-rw-r--r--usr/src/uts/sparc/ssd/Makefile26
-rw-r--r--usr/src/uts/sparc/st/Makefile24
-rw-r--r--usr/src/uts/sparc/stmf/Makefile18
-rw-r--r--usr/src/uts/sparc/stmf_sbd/Makefile18
-rw-r--r--usr/src/uts/sparc/strplumb/Makefile22
-rw-r--r--usr/src/uts/sparc/swapgeneric/Makefile9
-rw-r--r--usr/src/uts/sparc/swrand/Makefile24
-rw-r--r--usr/src/uts/sparc/sy/Makefile14
-rw-r--r--usr/src/uts/sparc/sys/regset.h4
-rw-r--r--usr/src/uts/sparc/sysacct/Makefile11
-rw-r--r--usr/src/uts/sparc/syscall/getcontext.c10
-rw-r--r--usr/src/uts/sparc/sysevent/Makefile11
-rw-r--r--usr/src/uts/sparc/sysmsg/Makefile18
-rw-r--r--usr/src/uts/sparc/systrace/Makefile11
-rw-r--r--usr/src/uts/sparc/tavor/Makefile24
-rw-r--r--usr/src/uts/sparc/tclient/Makefile13
-rw-r--r--usr/src/uts/sparc/tcp/Makefile13
-rw-r--r--usr/src/uts/sparc/tcp6/Makefile15
-rw-r--r--usr/src/uts/sparc/telmod/Makefile21
-rw-r--r--usr/src/uts/sparc/tem/Makefile28
-rw-r--r--usr/src/uts/sparc/timerfd/Makefile8
-rw-r--r--usr/src/uts/sparc/timod/Makefile22
-rw-r--r--usr/src/uts/sparc/tirdwr/Makefile21
-rw-r--r--usr/src/uts/sparc/tl/Makefile24
-rw-r--r--usr/src/uts/sparc/tlimod/Makefile11
-rw-r--r--usr/src/uts/sparc/tmpfs/Makefile14
-rw-r--r--usr/src/uts/sparc/tnf/Makefile14
-rw-r--r--usr/src/uts/sparc/tokenmt/Makefile22
-rw-r--r--usr/src/uts/sparc/tphci/Makefile8
-rw-r--r--usr/src/uts/sparc/trill/Makefile10
-rw-r--r--usr/src/uts/sparc/tswtclmt/Makefile22
-rw-r--r--usr/src/uts/sparc/ttcompat/Makefile19
-rw-r--r--usr/src/uts/sparc/tvhci/Makefile13
-rw-r--r--usr/src/uts/sparc/udfs/Makefile20
-rw-r--r--usr/src/uts/sparc/udp/Makefile13
-rw-r--r--usr/src/uts/sparc/udp6/Makefile15
-rw-r--r--usr/src/uts/sparc/ufm/Makefile8
-rw-r--r--usr/src/uts/sparc/ufmtest/Makefile8
-rw-r--r--usr/src/uts/sparc/ufs/Makefile20
-rw-r--r--usr/src/uts/sparc/ugen/Makefile16
-rw-r--r--usr/src/uts/sparc/uhci/Makefile24
-rw-r--r--usr/src/uts/sparc/usb_ac/Makefile28
-rw-r--r--usr/src/uts/sparc/usb_ah/Makefile23
-rw-r--r--usr/src/uts/sparc/usb_as/Makefile24
-rw-r--r--usr/src/uts/sparc/usb_ia/Makefile13
-rw-r--r--usr/src/uts/sparc/usb_mid/Makefile13
-rw-r--r--usr/src/uts/sparc/usba/Makefile15
-rw-r--r--usr/src/uts/sparc/usba10/Makefile16
-rw-r--r--usr/src/uts/sparc/usbecm/Makefile13
-rw-r--r--usr/src/uts/sparc/usbftdi/Makefile10
-rw-r--r--usr/src/uts/sparc/usbkbm/Makefile22
-rw-r--r--usr/src/uts/sparc/usbms/Makefile26
-rw-r--r--usr/src/uts/sparc/usbprn/Makefile13
-rw-r--r--usr/src/uts/sparc/usbs49_fw/Makefile14
-rw-r--r--usr/src/uts/sparc/usbsacm/Makefile19
-rw-r--r--usr/src/uts/sparc/usbser/Makefile22
-rw-r--r--usr/src/uts/sparc/usbskel/Makefile13
-rw-r--r--usr/src/uts/sparc/usbsksp/Makefile19
-rw-r--r--usr/src/uts/sparc/usbsprl/Makefile17
-rw-r--r--usr/src/uts/sparc/usbvc/Makefile25
-rw-r--r--usr/src/uts/sparc/usbwcm/Makefile26
-rw-r--r--usr/src/uts/sparc/v7/sys/privregs.h2
-rw-r--r--usr/src/uts/sparc/v9/Makefile.files10
-rw-r--r--usr/src/uts/sparc/v9/Makefile.rules21
-rw-r--r--usr/src/uts/sparc/v9/ml/crt.s9
-rw-r--r--usr/src/uts/sparc/v9/ml/ddi_v9_asm.s641
-rw-r--r--usr/src/uts/sparc/v9/ml/float.s142
-rw-r--r--usr/src/uts/sparc/v9/ml/lock_prim.s231
-rw-r--r--usr/src/uts/sparc/v9/ml/sparcv9_subr.s653
-rw-r--r--usr/src/uts/sparc/v9/ml/syscall_trap.s34
-rw-r--r--usr/src/uts/sparc/v9/os/v9dep.c13
-rw-r--r--usr/src/uts/sparc/vnic/Makefile10
-rw-r--r--usr/src/uts/sparc/vr/Makefile10
-rw-r--r--usr/src/uts/sparc/vscan/Makefile12
-rw-r--r--usr/src/uts/sparc/vuid3ps2/Makefile8
-rw-r--r--usr/src/uts/sparc/wc/Makefile20
-rw-r--r--usr/src/uts/sparc/winlock/Makefile21
-rw-r--r--usr/src/uts/sparc/xge/Makefile24
-rw-r--r--usr/src/uts/sparc/yge/Makefile16
-rw-r--r--usr/src/uts/sparc/zcons/Makefile12
-rw-r--r--usr/src/uts/sparc/zfd/Makefile8
-rw-r--r--usr/src/uts/sparc/zfs/Makefile23
-rw-r--r--usr/src/uts/sparc/zfs/spa_boot.c11
-rw-r--r--usr/src/uts/sparc/zut/Makefile16
442 files changed, 1311 insertions, 8190 deletions
diff --git a/usr/src/uts/sparc/FSS/Makefile b/usr/src/uts/sparc/FSS/Makefile
index 095998c3f9..4164d60258 100644
--- a/usr/src/uts/sparc/FSS/Makefile
+++ b/usr/src/uts/sparc/FSS/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = FSS
OBJECTS = $(FSS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FSS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_SCHED_DIR)/$(MODULE)
#
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,11 +61,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += $(CNOWARN_UNINIT)
@@ -84,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/FX/Makefile b/usr/src/uts/sparc/FX/Makefile
index 9f772dbcfd..7492adac4a 100644
--- a/usr/src/uts/sparc/FX/Makefile
+++ b/usr/src/uts/sparc/FX/Makefile
@@ -22,9 +22,7 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# uts/sparc/FX/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the FX scheduling class
# kernel module.
@@ -42,7 +40,6 @@ UTSBASE = ../..
#
MODULE = FX
OBJECTS = $(FX_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FX_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_SCHED_DIR)/$(MODULE)
@@ -55,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -64,13 +60,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -83,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/FX_DPTBL/Makefile b/usr/src/uts/sparc/FX_DPTBL/Makefile
index 11f6aa46bb..0912697778 100644
--- a/usr/src/uts/sparc/FX_DPTBL/Makefile
+++ b/usr/src/uts/sparc/FX_DPTBL/Makefile
@@ -23,9 +23,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# uts/sparc/FX_DPTL/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the FX_DPTBL dispatch table
# kernel module.
@@ -43,7 +41,6 @@ UTSBASE = ../..
#
MODULE = FX_DPTBL
OBJECTS = $(FX_DPTBL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FX_DPTBL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_SCHED_DIR)/$(MODULE)
#
@@ -55,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -65,9 +61,6 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DFX_DPTBL_MODULE
CLEANFILES += $(MODSTUBS_O)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -83,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/IA/Makefile b/usr/src/uts/sparc/IA/Makefile
index c9fb876947..dc96f0dced 100644
--- a/usr/src/uts/sparc/IA/Makefile
+++ b/usr/src/uts/sparc/IA/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = IA
OBJECTS = $(IA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_SCHED_DIR)/$(MODULE)
#
@@ -53,18 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
# Define dependency on TS
#
-LDFLAGS += -dy -N sched/TS
+LDFLAGS += -N sched/TS
#
# Default build targets.
@@ -79,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/Makefile b/usr/src/uts/sparc/Makefile
index 4bbdc7cf57..f9df68dbc3 100644
--- a/usr/src/uts/sparc/Makefile
+++ b/usr/src/uts/sparc/Makefile
@@ -33,13 +33,6 @@ UTSBASE = ..
include Makefile.sparc
-LINT_KMODS_X1 = $(LINT_KMODS:nsmb=)
-LINT_KMODS_X2 = $(LINT_KMODS_X1:smbfs=)
-LINT_KMODLIBS = $(LINT_KMODS_X2:e1000g=)
-LINT_LIBS = $(LINT_LIB) $(GEN_LINT_LIB) \
- $(LINT_KMODLIBS:%=$(LINT_LIB_DIR)/llib-l%.ln) \
- $(LINT_XMODLIBS:%=$(LINT_LIB_DIR)/llib-l%.ln)
-
DRV_KMODS += dprov
def := TARGET= def
@@ -47,31 +40,22 @@ all := TARGET= all
install := TARGET= install
clean := TARGET= clean
clobber := TARGET= clobber
-lint := TARGET= lint
-modlintlib := TARGET= modlintlib
modlist := TARGET= modlist
modlist := NO_STATE= -K $$MODSTATE$$$$
-clean.lint := TARGET= clean.lint
check := TARGET= check
install_h := TARGET= install_h
.KEEP_STATE:
-.PARALLEL: $(PARALLEL_KMODS) $(XMODS) config $(LINT_DEPS)
+.PARALLEL: $(PARALLEL_KMODS) $(XMODS) config
def all install clean clobber modlist: $(KMODS) $(XMODS) config
-modlintlib clean.lint: $(LINT_KMODS) $(XMODS)
-
$(KMODS) config: FRC
@cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
$(XMODS): FRC
- @if [ -f $@/Makefile ]; then \
- cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET); \
- else \
- true; \
- fi
+ cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
install_h check: FRC
@cd asm; pwd; $(MAKE) $(TARGET)
@@ -79,15 +63,4 @@ install_h check: FRC
@cd v7/sys; pwd; $(MAKE) $(TARGET)
@cd v9/sys; pwd; $(MAKE) $(TARGET)
-#
-# Full kernel lint target.
-#
-LINT_TARGET = globallint
-
-globallint:
- @-$(ECHO) "\nFULL KERNEL: global crosschecks:"
- @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
-
-lint: modlintlib .WAIT $(LINT_DEPS)
-
include ../Makefile.targ
diff --git a/usr/src/uts/sparc/Makefile.files b/usr/src/uts/sparc/Makefile.files
index 86ab983b7a..bb662117a5 100644
--- a/usr/src/uts/sparc/Makefile.files
+++ b/usr/src/uts/sparc/Makefile.files
@@ -23,7 +23,7 @@
# Use is subject to license terms.
#
# This Makefile defines all file modules and build rules for the
-# directory uts/sparc and it's children. These are the source files which
+# directory uts/sparc and its children. These are the source files which
# are specific to the sparc processor.
#
@@ -33,7 +33,8 @@
CORE_OBJS += ddi_arch.o \
polled_io.o \
- sparc_ddi.o
+ sparc_ddi.o \
+ multi3.o
#
# generic-unix module
@@ -84,9 +85,9 @@ ZFS_OBJS += \
# misc modules
#
KRTLD_OBJS += \
- doreloc.o \
+ doreloc.o \
kobj_convrelstr.o \
- kobj_isa.o \
+ kobj_isa.o \
kobj_reloc.o
SWAPGENERIC_OBJS += swapgeneric.o
@@ -108,16 +109,12 @@ SDT_OBJS += sdt.o
#
# Build up paths and defines.
#
-LINT_DEFS += -Dsparc
INC_PATH += -I$(UTSBASE)/sparc
INC_PATH += -I$(UTSBASE)/sparc/krtld
#
# Since assym.h is a derived file, the dependency must be explicit for
-# all files including this file. (This is only actually required in the
-# instance when the .nse_depinfo file does not exist.) It may seem that
-# the lint targets should also have a similar dependency, but they don't
-# since only C headers are included when #defined(lint) is true.
+# all files including this file.
#
ASSYM_DEPS += sparc_ddi.o
diff --git a/usr/src/uts/sparc/Makefile.rules b/usr/src/uts/sparc/Makefile.rules
index c9c1a50d23..001b100f88 100644
--- a/usr/src/uts/sparc/Makefile.rules
+++ b/usr/src/uts/sparc/Makefile.rules
@@ -92,49 +92,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sparc/os/%.c
$(OBJS_DIR)/%.o: $(UTSBASE)/sparc/syscall/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)
-
-#
-# Section 1b: Lint `object' build rules.
-#
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/dtrace/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/dtrace/%.s
- @($(LHEAD) $(LINT.s) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/io/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/io/pciex/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/fpu/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/zfs/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/fs/proc/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/krtld/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(OBJS_DIR)/kobj_bootflags.ln := CPPFLAGS += -I$(SRC)/common
-$(OBJS_DIR)/kobj.ln := CPPFLAGS += -DMODDIR_SUFFIX=\"sparcv9\"
-$(OBJS_DIR)/kobj.ln := CPPFLAGS += -D_RELSEG
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/krtld/%.s
- @($(LHEAD) $(LINT.s) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/ml/%.s
- @($(LHEAD) $(LINT.s) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/nskern/%.s
- @($(LHEAD) $(LINT.s) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/os/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/syscall/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
diff --git a/usr/src/uts/sparc/Makefile.sparc b/usr/src/uts/sparc/Makefile.sparc
index e592b8a8ff..94fc47b31b 100644
--- a/usr/src/uts/sparc/Makefile.sparc
+++ b/usr/src/uts/sparc/Makefile.sparc
@@ -54,27 +54,10 @@ GENLIB_DIR = $(UTSBASE)/sun4u/genunix
IPDRV_DIR = $(UTSBASE)/sparc/ip
MODSTUBS_DIR = $(UNIX_DIR)
DSF_DIR = $(UNIX_DIR)
-LINTS_DIR = $(OBJS_DIR)
-LINT_LIB_DIR = $(UTSBASE)/sparc/lint-libs/$(OBJS_DIR)
UNIX_O = $(UNIX_DIR)/$(OBJS_DIR)/unix.o
MODSTUBS_O = $(MODSTUBS_DIR)/$(OBJS_DIR)/modstubs.o
-GENLIB = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/libgenunix.so
-
-LINT_LIB_32 = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/llib-lunix.ln
-GEN_LINT_LIB_32 = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/llib-lgenunix.ln
-
-LINT_LIB_64 = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/llib-lunix.ln
-GEN_LINT_LIB_64 = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/llib-lgenunix.ln
-
-LINT_LIB = $(LINT_LIB_$(CLASS))
-GEN_LINT_LIB = $(GEN_LINT_LIB_$(CLASS))
-
-LINT32_DIRS = $(LINT32_BUILDS:%=$(UTSBASE)/sparc/lint-libs/%)
-LINT32_FILES = $(LINT32_DIRS:%=%/llib-l$(MODULE).ln)
-
-LINT64_DIRS = $(LINT64_BUILDS:%=$(UTSBASE)/sparc/lint-libs/%)
-LINT64_FILES = $(LINT64_DIRS:%=%/llib-l$(MODULE).ln)
+GENLIB = $(GENLIB_DIR)/$(OBJS_DIR)/libgenunix.so
#
# Include the makefiles which define build rule templates, the
@@ -154,9 +137,6 @@ CFLAGS += $(CUSERFLAGS)
ASFLAGS += $(XARCH)
-LINT_DEFS_32 =
-LINT_DEFS_64 = -m64
-LINT_DEFS += $(LINT_DEFS_$(CLASS))
#
# The following must be defined for all implementations:
@@ -290,13 +270,32 @@ DRV_KMODS += bge dmfe eri fas hme qfe
DRV_KMODS += openeepr options sd ses st
DRV_KMODS += ssd
DRV_KMODS += ecpp
-DRV_KMODS += hid hubd ehci ohci uhci usb_mid usb_ia scsa2usb usbprn ugen
-DRV_KMODS += usbser usbsacm usbsksp usbsprl
-DRV_KMODS += usb_as usb_ac
+
+#
+# USB specific modules
+#
+DRV_KMODS += ccid
+DRV_KMODS += hid
+DRV_KMODS += hubd
+DRV_KMODS += ehci
+DRV_KMODS += ohci
+DRV_KMODS += uhci
+DRV_KMODS += usb_mid
+DRV_KMODS += usb_ia
+DRV_KMODS += scsa2usb
+DRV_KMODS += usbprn
+DRV_KMODS += ugen
+DRV_KMODS += usbser
+DRV_KMODS += usbsacm
+DRV_KMODS += usbsksp
+DRV_KMODS += usbsprl
+DRV_KMODS += usb_as
+DRV_KMODS += usb_ac
DRV_KMODS += usbskel
DRV_KMODS += usbvc
DRV_KMODS += usbftdi
DRV_KMODS += usbecm
+
DRV_KMODS += hci1394 av1394 scsa1394 dcam1394
DRV_KMODS += sbp2
DRV_KMODS += ib ibp eibnx eoib rdsib sdp iser daplt hermon tavor sol_ucma sol_uverbs
@@ -508,9 +507,6 @@ SOCKET_KMODS += datafilt
KICONV_KMODS += kiconv_emea kiconv_ja kiconv_ko kiconv_sc kiconv_tc
#
-# Ensure that the variable member of the cpu_t (cpu_m) is defined
-# for the lint builds so as not to cause lint errors during the
-# global cross check.
+# Sensor related drivers
#
-$(LINTFLAGSUPPRESS)LINTFLAGS += -D_MACHDEP -I$(UTSBASE)/sun4 \
- -I$(UTSBASE)/sun4u -I$(UTSBASE)/sfmmu
+DRV_KMODS += ksensor ksensor_test
diff --git a/usr/src/uts/sparc/RT/Makefile b/usr/src/uts/sparc/RT/Makefile
index 986d5d80a9..16f90ce565 100644
--- a/usr/src/uts/sparc/RT/Makefile
+++ b/usr/src/uts/sparc/RT/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/RT/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the RT scheduling class
# kernel module.
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = RT
OBJECTS = $(RT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_SCHED_DIR)/$(MODULE)
#
@@ -53,22 +51,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -81,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/RT_DPTBL/Makefile b/usr/src/uts/sparc/RT_DPTBL/Makefile
index 98e2a86fee..b50bdc48b8 100644
--- a/usr/src/uts/sparc/RT_DPTBL/Makefile
+++ b/usr/src/uts/sparc/RT_DPTBL/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/RT_DPTBL/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the RT_DPTBL driver kernel module.
#
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = RT_DPTBL
OBJECTS = $(RT_DPTBL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RT_DPTBL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_SCHED_DIR)/$(MODULE)
#
@@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,9 +60,6 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DRT_DPTBL_MODULE
CLEANFILES += $(MODSTUBS_O)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -81,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/SDC/Makefile b/usr/src/uts/sparc/SDC/Makefile
index 9b2b0ce42f..adff46d387 100644
--- a/usr/src/uts/sparc/SDC/Makefile
+++ b/usr/src/uts/sparc/SDC/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = SDC
OBJECTS = $(SDC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SDC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SCHED_DIR)/$(MODULE)
#
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -73,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/TS/Makefile b/usr/src/uts/sparc/TS/Makefile
index 16b84f89dd..4c66b20ac4 100644
--- a/usr/src/uts/sparc/TS/Makefile
+++ b/usr/src/uts/sparc/TS/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/TS/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the TS scheduling class
# kernel module.
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = TS
OBJECTS = $(TS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SCHED_DIR)/$(MODULE)
#
@@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,13 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -81,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/TS_DPTBL/Makefile b/usr/src/uts/sparc/TS_DPTBL/Makefile
index 2a59ec5d75..a83a7ee117 100644
--- a/usr/src/uts/sparc/TS_DPTBL/Makefile
+++ b/usr/src/uts/sparc/TS_DPTBL/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/TS_DPTBL/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the TS_DPTBL dispatch table
# kernel module.
@@ -42,7 +41,6 @@ UTSBASE = ../..
#
MODULE = TS_DPTBL
OBJECTS = $(TS_DPTBL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TS_DPTBL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SCHED_DIR)/$(MODULE)
#
@@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -64,9 +61,6 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DTS_DPTBL_MODULE
CLEANFILES += $(MODSTUBS_O)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -82,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/aac/Makefile b/usr/src/uts/sparc/aac/Makefile
index a9b097d1f3..ccc7797121 100644
--- a/usr/src/uts/sparc/aac/Makefile
+++ b/usr/src/uts/sparc/aac/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = aac
OBJECTS = $(AAC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AAC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/aac
@@ -53,23 +52,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
+# Kernel Module Dependencies
#
-CFLAGS += $(CCVERBOSE)
+LDFLAGS += -Nmisc/scsi
#
-# Kernel Module Dependencies
-#
-LDFLAGS += -dy -Nmisc/scsi
-
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-# Overrides
-#
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-value
@@ -89,12 +84,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ac97/Makefile b/usr/src/uts/sparc/ac97/Makefile
index 1abee91426..97d870d408 100644
--- a/usr/src/uts/sparc/ac97/Makefile
+++ b/usr/src/uts/sparc/ac97/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = ac97
OBJECTS = $(AC97_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AC97_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -49,10 +48,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-LDFLAGS += -dy -Ndrv/audio
+LDFLAGS += -Ndrv/audio
#
# Default build targets.
@@ -67,12 +65,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/acctctl/Makefile b/usr/src/uts/sparc/acctctl/Makefile
index 55bec80b11..e1c1446865 100644
--- a/usr/src/uts/sparc/acctctl/Makefile
+++ b/usr/src/uts/sparc/acctctl/Makefile
@@ -23,9 +23,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# uts/sparc/acctctl/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the acctctl system call module.
# sparc architecture dependent
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = acctctl
OBJECTS = $(ACCTCTL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ACCTCTL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_SYS_DIR)/$(MODULE)
#
@@ -53,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
@@ -70,12 +66,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/aes/Makefile b/usr/src/uts/sparc/aes/Makefile
index eae7c2dce7..01dc83d338 100644
--- a/usr/src/uts/sparc/aes/Makefile
+++ b/usr/src/uts/sparc/aes/Makefile
@@ -39,7 +39,6 @@ COM_DIR = $(COMMONBASE)/crypto
#
MODULE = aes
OBJECTS = $(AESPROV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AESPROV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
#
@@ -51,20 +50,17 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Linkage dependencies
#
-LDFLAGS += -dy -Nmisc/kcf
+LDFLAGS += -Nmisc/kcf
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
+CFLAGS += $(CCVERBOSE)
+
+CFLAGS += -I$(COM_DIR)
CPPFLAGS += -DCRYPTO_PROVIDER_NAME=\"$(MODULE)\"
-LINTFLAGS += -I$(COM_DIR)
#
# Default build targets.
@@ -79,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/afe/Makefile b/usr/src/uts/sparc/afe/Makefile
index f384c335d6..c538678f83 100644
--- a/usr/src/uts/sparc/afe/Makefile
+++ b/usr/src/uts/sparc/afe/Makefile
@@ -36,7 +36,6 @@ UTSBASE = ../..
#
MODULE = afe
OBJECTS = $(AFE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AFE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -48,18 +47,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
# Driver depends on GLD
#
-LDFLAGS += -dy -N misc/mac -Nmisc/mii
+LDFLAGS += -N misc/mac -Nmisc/mii
#
# Default build targets.
@@ -74,12 +69,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/aggr/Makefile b/usr/src/uts/sparc/aggr/Makefile
index 06895b3c11..693e148fe6 100644
--- a/usr/src/uts/sparc/aggr/Makefile
+++ b/usr/src/uts/sparc/aggr/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = aggr
OBJECTS = $(AGGR_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AGGR_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/aggr
@@ -46,22 +45,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Overrides
#
-CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndrv/dld -Nmisc/mac -Nmisc/dls
+CFLAGS += $(CCVERBOSE)
+LDFLAGS += -Ndrv/dld -Nmisc/mac -Nmisc/dls
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
@@ -82,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/aoutexec/Makefile b/usr/src/uts/sparc/aoutexec/Makefile
index 4c050e4ead..225726fc7c 100644
--- a/usr/src/uts/sparc/aoutexec/Makefile
+++ b/usr/src/uts/sparc/aoutexec/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = aoutexec
OBJECTS = $(AOUTEXEC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AOUTEXEC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_EXEC_DIR)/$(MODULE)
#
@@ -53,11 +52,12 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
@@ -65,7 +65,7 @@ CERRWARN += -_gcc=-Wno-parentheses
#
# Define dependency on elfexec
#
-LDFLAGS += -dy -N exec/elfexec
+LDFLAGS += -N exec/elfexec
#
# Default build targets.
@@ -80,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/arcfour/Makefile b/usr/src/uts/sparc/arcfour/Makefile
index 7bfbdfc7ce..e692c52250 100644
--- a/usr/src/uts/sparc/arcfour/Makefile
+++ b/usr/src/uts/sparc/arcfour/Makefile
@@ -39,7 +39,6 @@ COM_DIR = $(COMMONBASE)/crypto/arcfour
#
MODULE = arcfour
OBJECTS = $(ARCFOURPROV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ARCFOURPROV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
#
@@ -51,14 +50,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
-LINTFLAGS += -I$(COM_DIR)
+CFLAGS += $(CCVERBOSE)
+
+CFLAGS += -I$(COM_DIR)
#
# Default build targets.
@@ -73,12 +69,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/arp/Makefile b/usr/src/uts/sparc/arp/Makefile
index 78453cd00b..832e72e8a0 100644
--- a/usr/src/uts/sparc/arp/Makefile
+++ b/usr/src/uts/sparc/arp/Makefile
@@ -63,7 +63,7 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
#
# depends on ip
#
-LDFLAGS += -dy -Ndrv/ip
+LDFLAGS += -Ndrv/ip
#
# Default build targets.
diff --git a/usr/src/uts/sparc/audio/Makefile b/usr/src/uts/sparc/audio/Makefile
index a77b4bd8c1..8721dc9800 100644
--- a/usr/src/uts/sparc/audio/Makefile
+++ b/usr/src/uts/sparc/audio/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = audio
OBJECTS = $(AUDIO_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AUDIO_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/audio/impl
@@ -52,7 +51,6 @@ CERRWARN += $(CNOWARN_UNINIT)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -68,12 +66,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/audio1575/Makefile b/usr/src/uts/sparc/audio1575/Makefile
index acc5d00f68..968f7a264e 100644
--- a/usr/src/uts/sparc/audio1575/Makefile
+++ b/usr/src/uts/sparc/audio1575/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = audio1575
OBJECTS = $(AUDIO1575_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AUDIO1575_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -45,23 +44,23 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# Overrides, lint pass one enforcement
-#
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-switch
#
# Depends on drv/audio and misc/ac97
#
-LDFLAGS += -dy -Ndrv/audio -Nmisc/ac97
-
-CERRWARN += -_gcc=-Wno-switch
+LDFLAGS += -Ndrv/audio -Nmisc/ac97
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -77,18 +76,12 @@ DEF_BUILDS = $(DEF_BUILDSONLY64)
def: $(DEF_DEPS)
-all: $(ALL_DEPS)
+all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/audiocs/Makefile b/usr/src/uts/sparc/audiocs/Makefile
index 30f41da658..91e297d2e2 100644
--- a/usr/src/uts/sparc/audiocs/Makefile
+++ b/usr/src/uts/sparc/audiocs/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = audiocs
OBJECTS = $(AUDIOCS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AUDIOCS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,7 +60,7 @@ CERRWARN += $(CNOWARN_UNINIT)
#
# Depends on misc/audiosup
#
-LDFLAGS += -dy -Ndrv/audio
+LDFLAGS += -Ndrv/audio
#
# Default build targets.
@@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/audioens/Makefile b/usr/src/uts/sparc/audioens/Makefile
index ef97517997..2f0dd947c6 100644
--- a/usr/src/uts/sparc/audioens/Makefile
+++ b/usr/src/uts/sparc/audioens/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = audioens
OBJECTS = $(AUDIOENS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AUDIOENS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,10 +48,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-LDFLAGS += -dy -Ndrv/audio -Nmisc/ac97
+LDFLAGS += -Ndrv/audio -Nmisc/ac97
CERRWARN += $(CNOWARN_UNINIT)
@@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/audiols/Makefile b/usr/src/uts/sparc/audiols/Makefile
index fc43d0a255..d172113b38 100644
--- a/usr/src/uts/sparc/audiols/Makefile
+++ b/usr/src/uts/sparc/audiols/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = audiols
OBJECTS = $(AUDIOLS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AUDIOLS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,10 +48,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-LDFLAGS += -dy -Ndrv/audio -Nmisc/ac97
+LDFLAGS += -Ndrv/audio -Nmisc/ac97
CERRWARN += -_gcc=-Wno-switch
@@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/audiop16x/Makefile b/usr/src/uts/sparc/audiop16x/Makefile
index 901d7781cf..a5fbf020b6 100644
--- a/usr/src/uts/sparc/audiop16x/Makefile
+++ b/usr/src/uts/sparc/audiop16x/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = audiop16x
OBJECTS = $(AUDIOP16X_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AUDIOP16X_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,10 +48,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-LDFLAGS += -dy -Ndrv/audio -Nmisc/ac97
+LDFLAGS += -Ndrv/audio -Nmisc/ac97
CERRWARN += $(CNOWARN_UNINIT)
@@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/audiopci/Makefile b/usr/src/uts/sparc/audiopci/Makefile
index 53f3ee95a2..6ee18fa53b 100644
--- a/usr/src/uts/sparc/audiopci/Makefile
+++ b/usr/src/uts/sparc/audiopci/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = audiopci
OBJECTS = $(AUDIOPCI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AUDIOPCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,10 +48,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-LDFLAGS += -dy -Ndrv/audio
+LDFLAGS += -Ndrv/audio
CERRWARN += $(CNOWARN_UNINIT)
@@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/audiots/Makefile b/usr/src/uts/sparc/audiots/Makefile
index c830c5bfb9..7b768d8d4b 100644
--- a/usr/src/uts/sparc/audiots/Makefile
+++ b/usr/src/uts/sparc/audiots/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = audiots
OBJECTS = $(AUDIOTS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AUDIOTS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -45,23 +44,23 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# Overrides, lint pass one enforcement
-#
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-parentheses
#
# Depends on misc/ac97 and drv/audio
#
-LDFLAGS += -dy -N misc/ac97 -N drv/audio
-
-CERRWARN += -_gcc=-Wno-parentheses
+LDFLAGS += -N misc/ac97 -N drv/audio
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -83,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/autofs/Makefile b/usr/src/uts/sparc/autofs/Makefile
index 291808a5d2..1123d9ea80 100644
--- a/usr/src/uts/sparc/autofs/Makefile
+++ b/usr/src/uts/sparc/autofs/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = autofs
OBJECTS = $(AUTOFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AUTOFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
ROOTLINK = $(ROOT_SYS_DIR)/$(MODULE)
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
#
@@ -64,16 +62,13 @@ CFLAGS += $(CCVERBOSE)
#
# Define dependencies on rpmod, rpcsec, and mntfs
#
-LDFLAGS += -dy -N strmod/rpcmod -N misc/rpcsec -N fs/mntfs
+LDFLAGS += -N strmod/rpcmod -N misc/rpcsec -N fs/mntfs
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_STATIC_UNUSED
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
@@ -93,12 +88,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_SYS_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/av1394/Makefile b/usr/src/uts/sparc/av1394/Makefile
index b1daba5cae..16a82b6a53 100644
--- a/usr/src/uts/sparc/av1394/Makefile
+++ b/usr/src/uts/sparc/av1394/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = av1394
OBJECTS = $(AV1394_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(AV1394_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -45,7 +44,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -53,35 +51,23 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-CLEANLINTFILES += $(LINT32_FILES)
DEBUG_DEFS_DBG32 += -DTNF_DEBUG
DEBUG_DEFS_DBG64 += -DTNF_DEBUG
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-type-limits
#
# depends on misc/s1394
-LDFLAGS += -dy -Nmisc/s1394
+LDFLAGS += -Nmisc/s1394
# Default build targets.
#
@@ -95,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/bge/Makefile b/usr/src/uts/sparc/bge/Makefile
index a0b56a51b0..37491de28c 100644
--- a/usr/src/uts/sparc/bge/Makefile
+++ b/usr/src/uts/sparc/bge/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = bge
OBJECTS = $(BGE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(LINTS_DIR)/bge_lint.ln
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/bge
@@ -52,15 +51,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Turn on doubleword alignment for 64 bit registers
#
CFLAGS += -dalign
@@ -68,15 +61,14 @@ CFLAGS += -dalign
#
# Driver depends on MAC
#
-LDFLAGS += -dy -N misc/mac
+LDFLAGS += -N misc/mac
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-parentheses
@@ -96,12 +88,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/bignum/Makefile b/usr/src/uts/sparc/bignum/Makefile
index 5fec2994f9..95ea3f54b9 100644
--- a/usr/src/uts/sparc/bignum/Makefile
+++ b/usr/src/uts/sparc/bignum/Makefile
@@ -19,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
# This makefile drives the production of the misx/bignum module.
@@ -39,7 +39,6 @@ COM1_DIR = $(COMMONBASE)/bignum
#
MODULE = bignum
OBJECTS = $(BIGNUM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(BIGNUM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -51,21 +50,15 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Linkage dependencies
#
-LDFLAGS += -dy -Nmisc/kcf
+LDFLAGS += -Nmisc/kcf
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE) -I$(CRYPTODIR) -I$(COM1_DIR)
CFLAGS += -DUMUL64
-LINTFLAGS += -I$(CRYPTODIR) -I$(COM1_DIR)
-
#
# Default build targets.
@@ -80,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/bl/Makefile b/usr/src/uts/sparc/bl/Makefile
index 9e19765748..5191e88c98 100644
--- a/usr/src/uts/sparc/bl/Makefile
+++ b/usr/src/uts/sparc/bl/Makefile
@@ -23,8 +23,6 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
UTSBASE = ../..
@@ -33,7 +31,6 @@ UTSBASE = ../..
#
MODULE = bl
OBJECTS = $(BL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(BL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -46,13 +43,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
-CFLAGS += -v
+CFLAGS += $(CCVERBOSE)
#
# Default build targets.
@@ -67,12 +60,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/blkdev/Makefile b/usr/src/uts/sparc/blkdev/Makefile
index f0ff1bcbdc..00fc3175d2 100644
--- a/usr/src/uts/sparc/blkdev/Makefile
+++ b/usr/src/uts/sparc/blkdev/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = blkdev
OBJECTS = $(BLKDEV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(BLKDEV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -50,13 +49,12 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets.
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Note dependancy on misc/scsi.
#
-LDFLAGS += -dy -Nmisc/cmlb
+LDFLAGS += -Nmisc/cmlb
#
# Default build targets.
@@ -71,12 +69,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/blowfish/Makefile b/usr/src/uts/sparc/blowfish/Makefile
index 16cf0e6148..beea1b4158 100644
--- a/usr/src/uts/sparc/blowfish/Makefile
+++ b/usr/src/uts/sparc/blowfish/Makefile
@@ -40,7 +40,6 @@ COM_DIR = $(COMMONBASE)/crypto
#
MODULE = blowfish
OBJECTS = $(BLOWFISHPROV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(BLOWFISHPROV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
#
@@ -52,30 +51,22 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Linkage dependencies
#
-LDFLAGS += -dy -Nmisc/kcf
+LDFLAGS += -Nmisc/kcf
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
+CFLAGS += -I$(COM_DIR)
CPPFLAGS += -DCRYPTO_PROVIDER_NAME=\"$(MODULE)\"
-LINTFLAGS += -I$(COM_DIR)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
@@ -92,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/bnxe/Makefile b/usr/src/uts/sparc/bnxe/Makefile
index bba862b1e7..a04a6c7b49 100644
--- a/usr/src/uts/sparc/bnxe/Makefile
+++ b/usr/src/uts/sparc/bnxe/Makefile
@@ -32,7 +32,6 @@ UTSBASE = ../..
#
MODULE = bnxe
OBJECTS = $(BNXE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(LINTS_DIR)/bnxe_lint.ln
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
SRCDIR = $(UTSBASE)/common/io/bnxe
CONF_SRCDIR = $(SRCDIR)
@@ -46,13 +45,10 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-C99LMODE= -Xc99=%all
-
#
-# Driver-specific flags
+# Driver-specific flags
# XXX inline bits were originally set to inline
#
CPPFLAGS += -DLM_RXPKT_NON_CONTIGUOUS \
@@ -84,7 +80,7 @@ CPPFLAGS += -DLM_RXPKT_NON_CONTIGUOUS \
-I$(SRCDIR)/577xx/hsi/mcp \
-I$(SRCDIR)
-LDFLAGS += -dy -r -Ndrv/ip -Nmisc/mac
+LDFLAGS += -Ndrv/ip -Nmisc/mac
#CERRWARN += -_gcc=-Wno-old-style-declaration
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -98,22 +94,6 @@ CERRWARN += -_cc=-erroff=E_INTEGER_OVERFLOW_DETECTED
CERRWARN += -_cc=-erroff=E_CONST_PROMOTED_UNSIGNED_LL
CERRWARN += -_cc=-erroff=E_ENUM_VAL_OVERFLOWS_INT_MAX
-LINTTAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
-LINTTAGS += -erroff=E_FUNC_RET_MAYBE_IGNORED2
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_FUNC_SET_NOT_USED
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_CONSTANT_CONDITION
-LINTTAGS += -erroff=E_NOP_ELSE_STMT
-LINTTAGS += -erroff=E_NOP_IF_STMT
-LINTTAGS += -erroff=E_FUNC_ARG_UNUSED
-LINTTAGS += -erroff=E_FUNC_VAR_UNUSED
-LINTTAGS += -erroff=E_EXPR_NULL_EFFECT
-LINTTAGS += -erroff=E_STMT_NOT_REACHED
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_CASE_FALLTHRU
-LINTTAGS += -erroff=E_CONST_EXPR
#
# Default build targets.
@@ -128,12 +108,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/bofi/Makefile b/usr/src/uts/sparc/bofi/Makefile
index 4e5662616a..0ce800067f 100644
--- a/usr/src/uts/sparc/bofi/Makefile
+++ b/usr/src/uts/sparc/bofi/Makefile
@@ -25,7 +25,7 @@
#
#
-# This makefile drives the production of the bofi driver
+# This makefile drives the production of the bofi driver
# kernel module.
#
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = bofi
OBJECTS = $(BOFI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(BOFI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -57,7 +56,6 @@ FILEMODE = 644
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -67,22 +65,14 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DBOFI_MODULE
CLEANFILES += $(MODSTUBS_O)
-#
-# lint pass one enforcement
-#
-LINTFLAGS += -I../../sun4
-CFLAGS += $(CCVERBOSE) -I../../sun4
+CFLAGS += -I../../sun4
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
@@ -98,12 +88,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/bootfs/Makefile b/usr/src/uts/sparc/bootfs/Makefile
index f717c850c5..b3bd51d795 100644
--- a/usr/src/uts/sparc/bootfs/Makefile
+++ b/usr/src/uts/sparc/bootfs/Makefile
@@ -30,7 +30,6 @@ UTSBASE = ../..
#
MODULE = bootfs
OBJECTS = $(BOOTFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(BOOTFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -42,7 +41,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -58,12 +56,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/bpf/Makefile b/usr/src/uts/sparc/bpf/Makefile
index b1226d51cb..213c28a29d 100644
--- a/usr/src/uts/sparc/bpf/Makefile
+++ b/usr/src/uts/sparc/bpf/Makefile
@@ -25,7 +25,7 @@
# uts/sparc/bpf/Makefile
#
#
-# This makefile drives the production of the bpf driver
+# This makefile drives the production of the bpf driver
# kernel module.
#
# sparc architecture dependent
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = bpf
OBJECTS = $(BPF_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(BPF_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/bpf
@@ -54,21 +53,18 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nmisc/mac -Nmisc/dls -Ndrv/ipnet -Nmisc/neti -Ndrv/ip
-INC_PATH += -I$(UTSBASE)/common/io/bpf
+LDFLAGS += -Nmisc/mac -Nmisc/dls -Ndrv/ipnet -Nmisc/neti -Ndrv/ip
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -erroff=E_BAD_PTR_CAST_ALIGN
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
@@ -86,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/bridge/Makefile b/usr/src/uts/sparc/bridge/Makefile
index 0dc192e56d..892fc43590 100644
--- a/usr/src/uts/sparc/bridge/Makefile
+++ b/usr/src/uts/sparc/bridge/Makefile
@@ -36,7 +36,6 @@ UTSBASE = ../..
#
MODULE = bridge
OBJECTS = $(BRIDGE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(BRIDGE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -49,14 +48,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
CFLAGS += $(CCVERBOSE)
-
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-parentheses
@@ -64,7 +63,7 @@ CERRWARN += -_gcc=-Wno-parentheses
#
# Driver depends on MAC, DLS, and DLD
#
-LDFLAGS += -dy -Nmisc/mac -Nmisc/dls -Ndrv/dld -Nfs/dev
+LDFLAGS += -Nmisc/mac -Nmisc/dls -Ndrv/dld -Nfs/dev
#
# Default build targets.
@@ -79,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/bufmod/Makefile b/usr/src/uts/sparc/bufmod/Makefile
index 0d64cbd3ae..3f32518b01 100644
--- a/usr/src/uts/sparc/bufmod/Makefile
+++ b/usr/src/uts/sparc/bufmod/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/bufmod/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the streams buffer module.
#
@@ -40,7 +39,6 @@ UTSBASE = ../..
#
MODULE = bufmod
OBJECTS = $(BUFMOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(BUFMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -52,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,15 +58,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -82,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/busra/Makefile b/usr/src/uts/sparc/busra/Makefile
index 36e3cbfd21..abbacf0dcf 100644
--- a/usr/src/uts/sparc/busra/Makefile
+++ b/usr/src/uts/sparc/busra/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = busra
OBJECTS = $(BUSRA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(BUSRA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -57,7 +56,6 @@ CERRWARN += $(CNOWARN_UNINIT)
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -66,7 +64,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
DEF_BUILDS = $(DEF_BUILDS64)
ALL_BUILDS = $(ALL_BUILDS64)
-CLEANLINTFILES += $(LINT64_FILES)
#
# Default build targets.
@@ -81,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/c2audit/Makefile b/usr/src/uts/sparc/c2audit/Makefile
index 1453514a90..f9bb0517da 100644
--- a/usr/src/uts/sparc/c2audit/Makefile
+++ b/usr/src/uts/sparc/c2audit/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = c2audit
OBJECTS = $(C2AUDIT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(C2AUDIT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
#
@@ -52,29 +51,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Define dependency on sockfs
#
-LDFLAGS += -dy -N fs/sockfs
+LDFLAGS += -N fs/sockfs
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-clobbered
CERRWARN += $(CNOWARN_UNINIT)
@@ -92,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/cardbus/Makefile b/usr/src/uts/sparc/cardbus/Makefile
index c72edb640f..0b8a38fe81 100644
--- a/usr/src/uts/sparc/cardbus/Makefile
+++ b/usr/src/uts/sparc/cardbus/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = cardbus
OBJECTS = $(CARDBUS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CARDBUS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -53,11 +52,10 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# Include sun4u specific header files
+#
+# Include sun4u specific header files
#
INC_PATH += -I$(UTSBASE)/sun4u -I$(UTSBASE)/sun4
@@ -66,33 +64,28 @@ INC_PATH += -I$(UTSBASE)/sun4u -I$(UTSBASE)/sun4
#
DEF_BUILDS = $(DEF_BUILDS64)
ALL_BUILDS = $(ALL_BUILDS64)
-CLEANLINTFILES += $(LINT64_FILES)
-
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
CPPFLAGS += -DHOTPLUG
# dependency
-LDFLAGS += -dy -Nmisc/busra -Nmisc/pcmcia -Nmisc/hpcsvc
+LDFLAGS += -Nmisc/busra -Nmisc/pcmcia -Nmisc/hpcsvc
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-unused-variable
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
#
# Default build targets.
@@ -107,12 +100,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
# Include common targets.
diff --git a/usr/src/uts/sparc/cc/Makefile b/usr/src/uts/sparc/cc/Makefile
index 928a085458..bd1ec183db 100644
--- a/usr/src/uts/sparc/cc/Makefile
+++ b/usr/src/uts/sparc/cc/Makefile
@@ -21,7 +21,6 @@ UTSBASE = ../..
#
MODULE = cc
OBJECTS = $(CC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -33,14 +32,12 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy
#
# Default build targets.
@@ -55,12 +52,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/cc_cubic/Makefile b/usr/src/uts/sparc/cc_cubic/Makefile
index ae7926a614..e15006caa3 100644
--- a/usr/src/uts/sparc/cc_cubic/Makefile
+++ b/usr/src/uts/sparc/cc_cubic/Makefile
@@ -25,7 +25,6 @@ UTSBASE = ../..
#
MODULE = cc_cubic
OBJECTS = $(CC_CUBIC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CC_CUBIC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CC_DIR)/$(MODULE)
#
@@ -37,14 +36,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -N misc/cc -N cc/cc_newreno
+LDFLAGS += -N misc/cc -N cc/cc_newreno
#
# Default build targets.
@@ -59,12 +57,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/cc_newreno/Makefile b/usr/src/uts/sparc/cc_newreno/Makefile
index 6159e48c72..766370ed7a 100644
--- a/usr/src/uts/sparc/cc_newreno/Makefile
+++ b/usr/src/uts/sparc/cc_newreno/Makefile
@@ -25,7 +25,6 @@ UTSBASE = ../..
#
MODULE = cc_newreno
OBJECTS = $(CC_NEWRENO_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CC_NEWRENO_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CC_DIR)/$(MODULE)
#
@@ -37,14 +36,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -N misc/cc
+LDFLAGS += -N misc/cc
#
# Default build targets.
@@ -59,12 +57,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/cc_sunreno/Makefile b/usr/src/uts/sparc/cc_sunreno/Makefile
index 912019834f..ae72adc398 100644
--- a/usr/src/uts/sparc/cc_sunreno/Makefile
+++ b/usr/src/uts/sparc/cc_sunreno/Makefile
@@ -25,7 +25,6 @@ UTSBASE = ../..
#
MODULE = cc_sunreno
OBJECTS = $(CC_SUNRENO_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CC_SUNRENO_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CC_DIR)/$(MODULE)
#
@@ -37,14 +36,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -N misc/cc
+LDFLAGS += -N misc/cc
#
# Default build targets.
@@ -59,12 +57,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ccid/Makefile b/usr/src/uts/sparc/ccid/Makefile
new file mode 100644
index 0000000000..25d7e0c43a
--- /dev/null
+++ b/usr/src/uts/sparc/ccid/Makefile
@@ -0,0 +1,42 @@
+#
+# This file and its contents are supplied under the terms of the
+# Common Development and Distribution License ("CDDL"), version 1.0.
+# You may only use this file in accordance with the terms of version
+# 1.0 of the CDDL.
+#
+# A full copy of the text of the CDDL should have accompanied this
+# source. A copy of the CDDL is also available via the Internet at
+# http://www.illumos.org/license/CDDL.
+#
+
+#
+# Copyright 2019, Joyent, Inc.
+#
+
+UTSBASE = ../..
+
+MODULE = ccid
+OBJECTS = $(CCID_OBJS:%=$(OBJS_DIR)/%)
+ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
+
+include $(UTSBASE)/sparc/Makefile.sparc
+
+ALL_TARGET = $(BINARY)
+INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
+CPPFLAGS += -I$(SRC)/common/ccid
+
+LDFLAGS += -N misc/usba
+
+.KEEP_STATE:
+
+def: $(DEF_DEPS)
+
+all: $(ALL_DEPS)
+
+clean: $(CLEAN_DEPS)
+
+clobber: $(CLOBBER_DEPS)
+
+install: $(INSTALL_DEPS)
+
+include $(UTSBASE)/sparc/Makefile.targ
diff --git a/usr/src/uts/sparc/chxge/Makefile b/usr/src/uts/sparc/chxge/Makefile
index da43a14bee..cb8f5d02fb 100644
--- a/usr/src/uts/sparc/chxge/Makefile
+++ b/usr/src/uts/sparc/chxge/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = chxge
OBJECTS = $(CH_OBJS:%=$(OBJS_DIR)/%) $(CH_COM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CH_OBJS:%.o=$(LINTS_DIR)/%.ln) $(CH_COM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += -DC99_NOT_SUPPORTED -DCONFIG_CHELSIO_T1_1G \
@@ -72,33 +70,13 @@ CFLAGS += -DSUN_KSTATS -DHOST_PAUSE -DTX_CKSUM_FIX -DTX_THREAD_RECLAIM
#
# Driver depends on GLD, IP, and MAC
#
-LDFLAGS += -dy -N misc/gld -N drv/ip -N misc/mac
+LDFLAGS += -N misc/gld -N drv/ip -N misc/mac
-# Lint flag
#
-LINTFLAGS += -DC99_NOT_SUPPORTED -DCONFIG_CHELSIO_T1_1G \
- -I$(UTSBASE)/common/io/chxge/ \
- -I$(UTSBASE)/common/io/chxge/com
-
-LINTFLAGS += -DCONFIG_SMP
-
-LINTFLAGS += -DRX_MAX_COUNT=256
-
-LINTFLAGS += -DCONFIG_CHELSIO_T1_OFFLOAD
-
-LINTFLAGS += -DSUN_KSTATS -DHOST_PAUSE -DTX_CKSUM_FIX -DTX_THREAD_RECLAIM
-
-LINTFLAGS += -Xc99=%all
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-function
@@ -119,12 +97,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/clone/Makefile b/usr/src/uts/sparc/clone/Makefile
index f508a10cfe..cb82ee68d7 100644
--- a/usr/src/uts/sparc/clone/Makefile
+++ b/usr/src/uts/sparc/clone/Makefile
@@ -24,7 +24,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the clone driver
#
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = clone
OBJECTS = $(CLONE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CLONE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -75,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/cmlb/Makefile b/usr/src/uts/sparc/cmlb/Makefile
index 193a612279..1920742984 100644
--- a/usr/src/uts/sparc/cmlb/Makefile
+++ b/usr/src/uts/sparc/cmlb/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = cmlb
OBJECTS = $(CMLB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CMLB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -64,14 +62,10 @@ DEBUG_DEFS += $(DEBUG_FLGS)
CPPFLAGS += -D_EXTVTOC
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-type-limits
@@ -92,12 +86,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/cn/Makefile b/usr/src/uts/sparc/cn/Makefile
index 07a52fb497..e461922188 100644
--- a/usr/src/uts/sparc/cn/Makefile
+++ b/usr/src/uts/sparc/cn/Makefile
@@ -20,13 +20,12 @@
# CDDL HEADER END
#
#
-# uts/sparc/cn/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
-# This makefile drives the production of the cn driver
+# This makefile drives the production of the cn driver
# kernel module.
#
# sparc architecture dependent
@@ -42,7 +41,6 @@ UTSBASE = ../..
#
MODULE = cn
OBJECTS = $(CN_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -55,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -76,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/config/Makefile b/usr/src/uts/sparc/config/Makefile
index 3dea9d543f..f800674c1f 100644
--- a/usr/src/uts/sparc/config/Makefile
+++ b/usr/src/uts/sparc/config/Makefile
@@ -80,13 +80,12 @@ $(ROOTETCSEC)/%: $(SRCDIR)/%
$(SRCDIR)/priv_names: $(PRIVS_DEF) $(PRIVS_AWK)
$(AWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v pnamesfile=$@
-clean lint:
+clean:
clobber: clobber.targ
-#
-# No lints, so keep the clobber and clean targets reasonable.
-#
-CLEANLINTFILES = Nothing_to_remove
+#
+# Keep the clobber and clean targets reasonable.
+#
CLEANFILES = Nothing_to_remove
CLOBBERFILES = $(SRCDIR)/priv_names
diff --git a/usr/src/uts/sparc/connld/Makefile b/usr/src/uts/sparc/connld/Makefile
index ec09202e22..1be56b5923 100644
--- a/usr/src/uts/sparc/connld/Makefile
+++ b/usr/src/uts/sparc/connld/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/connld/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the connld streams kernel
# module.
@@ -42,7 +41,6 @@ UTSBASE = ../..
#
MODULE = connld
OBJECTS = $(CONNLD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CONNLD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -75,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/consconfig/Makefile b/usr/src/uts/sparc/consconfig/Makefile
index e48121895d..45089c21e8 100644
--- a/usr/src/uts/sparc/consconfig/Makefile
+++ b/usr/src/uts/sparc/consconfig/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/consconfig/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the consconfig `misc'
# kernel module.
@@ -42,7 +41,6 @@ UTSBASE = ../..
#
MODULE = consconfig
OBJECTS = $(CONSCONFIG_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CONSCONFIG_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -64,7 +61,7 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DCONSCONFIG_MODULE
CLEANFILES += $(MODSTUBS_O)
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndacf/consconfig_dacf
+LDFLAGS += -Ndacf/consconfig_dacf
#
# Def aultbuild targets.
@@ -79,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/consconfig_dacf/Makefile b/usr/src/uts/sparc/consconfig_dacf/Makefile
index 2170a45137..59d4b94774 100644
--- a/usr/src/uts/sparc/consconfig_dacf/Makefile
+++ b/usr/src/uts/sparc/consconfig_dacf/Makefile
@@ -35,7 +35,6 @@ UTSBASE = ../..
#
MODULE = consconfig_dacf
OBJECTS = $(CONSCONFIG_DACF_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CONSCONFIG_DACF_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DACF_DIR)/$(MODULE)
#
@@ -43,24 +42,18 @@ ROOTMODULE = $(ROOT_DACF_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
.KEEP_STATE:
@@ -73,12 +66,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/conskbd/Makefile b/usr/src/uts/sparc/conskbd/Makefile
index 33693249fc..9fbb505dc4 100644
--- a/usr/src/uts/sparc/conskbd/Makefile
+++ b/usr/src/uts/sparc/conskbd/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/conskbd/Makefile
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the conskbd driver
#
@@ -40,7 +39,6 @@ UTSBASE = ../..
#
MODULE = conskbd
OBJECTS = $(CONSKBD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CONSKBD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -61,14 +58,7 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS = -dy -Nmisc/kbtrans
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+LDFLAGS += -Nmisc/kbtrans
#
# Default build targets.
@@ -83,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/consms/Makefile b/usr/src/uts/sparc/consms/Makefile
index f10d86e5b0..9ee642c90e 100644
--- a/usr/src/uts/sparc/consms/Makefile
+++ b/usr/src/uts/sparc/consms/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = consms
OBJECTS = $(CONSMS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CONSMS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -62,11 +60,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
CERRWARN += -_gcc=-Wno-switch
@@ -83,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/cpuid/Makefile b/usr/src/uts/sparc/cpuid/Makefile
index 2479e762de..12afe3ae61 100644
--- a/usr/src/uts/sparc/cpuid/Makefile
+++ b/usr/src/uts/sparc/cpuid/Makefile
@@ -23,20 +23,17 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
UTSBASE = ../..
MODULE = cpuid
OBJECTS = $(CPUID_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CPUID_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += -v
@@ -51,12 +48,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
include $(UTSBASE)/sparc/Makefile.targ
diff --git a/usr/src/uts/sparc/cryptmod/Makefile b/usr/src/uts/sparc/cryptmod/Makefile
index 2c22229d42..3fd1c981cd 100644
--- a/usr/src/uts/sparc/cryptmod/Makefile
+++ b/usr/src/uts/sparc/cryptmod/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = cryptmod
OBJECTS = $(CRYPTMOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CRYPTMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_STRMOD_DIR)/$(MODULE)
#
@@ -52,24 +51,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
@@ -85,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/crypto/Makefile b/usr/src/uts/sparc/crypto/Makefile
index 8a9e787a5d..26318e3178 100644
--- a/usr/src/uts/sparc/crypto/Makefile
+++ b/usr/src/uts/sparc/crypto/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = crypto
OBJECTS = $(CRYPTO_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CRYPTO_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/crypto/io
@@ -51,16 +50,16 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
+LDFLAGS += -Nmisc/kcf
+
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
CFLAGS += $(CCVERBOSE)
-
-LDFLAGS += -dy -Nmisc/kcf
-
CERRWARN += $(CNOWARN_UNINIT)
#
@@ -76,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/cryptoadm/Makefile b/usr/src/uts/sparc/cryptoadm/Makefile
index dc1890e064..d17ab885c1 100644
--- a/usr/src/uts/sparc/cryptoadm/Makefile
+++ b/usr/src/uts/sparc/cryptoadm/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = cryptoadm
OBJECTS = $(CRYPTOADM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CRYPTOADM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/crypto/io
@@ -53,23 +52,16 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-LDFLAGS += -dy -Nmisc/kcf
+LDFLAGS += -Nmisc/kcf
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
@@ -86,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ctf/Makefile b/usr/src/uts/sparc/ctf/Makefile
index 55dc972c1c..ff72803dc4 100644
--- a/usr/src/uts/sparc/ctf/Makefile
+++ b/usr/src/uts/sparc/ctf/Makefile
@@ -29,28 +29,22 @@ UTSBASE = ../..
MODULE = ctf
OBJECTS = $(CTF_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CTF_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-C99LMODE= -Xc99=%all
-
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRC)/common/ctf -DCTF_OLD_VERSIONS
-LDFLAGS += $(BREDUCE) -M$(UTSBASE)/common/ctf/mapfile -dy
+LDFLAGS += $(BREDUCE) -M$(UTSBASE)/common/ctf/mapfile
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += $(CNOWARN_UNINIT)
@@ -64,12 +58,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
include $(UTSBASE)/sparc/Makefile.targ
diff --git a/usr/src/uts/sparc/ctfs/Makefile b/usr/src/uts/sparc/ctfs/Makefile
index 3f8ddeee8b..73980ef44e 100644
--- a/usr/src/uts/sparc/ctfs/Makefile
+++ b/usr/src/uts/sparc/ctfs/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = ctfs
OBJECTS = $(CTFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(CTFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,11 +59,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
@@ -82,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dad/Makefile b/usr/src/uts/sparc/dad/Makefile
index f57c3fc370..e4daa65bd8 100644
--- a/usr/src/uts/sparc/dad/Makefile
+++ b/usr/src/uts/sparc/dad/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = dad
OBJECTS = $(DAD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DAD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sun/io/dada/targets
@@ -54,24 +53,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Overrides.
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nmisc/dada -Nmisc/cmlb
+LDFLAGS += -Nmisc/dada -Nmisc/cmlb
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-variable
@@ -94,12 +88,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dada/Makefile b/usr/src/uts/sparc/dada/Makefile
index 692b84c327..0d586351b9 100644
--- a/usr/src/uts/sparc/dada/Makefile
+++ b/usr/src/uts/sparc/dada/Makefile
@@ -35,7 +35,6 @@ UTSBASE = ../..
#
MODULE = dada
OBJECTS = $(DADA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DADA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -48,7 +47,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -57,13 +55,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -76,10 +67,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/daplt/Makefile b/usr/src/uts/sparc/daplt/Makefile
index bc346b9cfc..71abad9513 100644
--- a/usr/src/uts/sparc/daplt/Makefile
+++ b/usr/src/uts/sparc/daplt/Makefile
@@ -35,10 +35,9 @@ UTSBASE = ../..
#
MODULE = daplt
OBJECTS = $(DAPLT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DAPLT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/daplt
-LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibcm
+LDFLAGS += -Nmisc/ibtl -Nmisc/ibcm
#
# Include common rules.
@@ -49,7 +48,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -58,25 +56,17 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
INCLUDE_PATH += -I$(UTSBASE)/common/sys/ib/clients/daplt
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Overrides.
#
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-function
@@ -95,12 +85,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/datafilt/Makefile b/usr/src/uts/sparc/datafilt/Makefile
index 80969500ef..4560585d42 100644
--- a/usr/src/uts/sparc/datafilt/Makefile
+++ b/usr/src/uts/sparc/datafilt/Makefile
@@ -24,7 +24,6 @@ UTSBASE = ../..
#
MODULE = datafilt
OBJECTS = $(DATAFILT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DATAFILT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SOCK_DIR)/$(MODULE)
#
@@ -36,15 +35,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement and OS version
-#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nfs/sockfs -Ndrv/ip
+LDFLAGS += -Nfs/sockfs -Ndrv/ip
#
# Default build targets.
@@ -59,12 +54,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dca/Makefile b/usr/src/uts/sparc/dca/Makefile
index 1f4c8a7b2e..b574b78a60 100644
--- a/usr/src/uts/sparc/dca/Makefile
+++ b/usr/src/uts/sparc/dca/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = dca
OBJECTS = $(DCA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DCA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/crypto/io
@@ -55,23 +54,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-variable
@@ -88,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_CRYPTO_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/dcam1394/Makefile b/usr/src/uts/sparc/dcam1394/Makefile
index e43ec22386..7188bbf54f 100644
--- a/usr/src/uts/sparc/dcam1394/Makefile
+++ b/usr/src/uts/sparc/dcam1394/Makefile
@@ -34,7 +34,6 @@ UTSBASE = ../..
#
MODULE = dcam1394
OBJECTS = $(DCAM1394_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DCAM1394_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -46,7 +45,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -54,17 +52,17 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-CLEANLINTFILES += $(LINT32_FILES)
-
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
#
# depends on misc/s1394
-LDFLAGS += -dy -Nmisc/s1394
+LDFLAGS += -Nmisc/s1394
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -80,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dcfs/Makefile b/usr/src/uts/sparc/dcfs/Makefile
index de6c0a6ae2..2ef22c0f2b 100644
--- a/usr/src/uts/sparc/dcfs/Makefile
+++ b/usr/src/uts/sparc/dcfs/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = dcfs
OBJECTS = $(DCFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DCFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dcpc/Makefile b/usr/src/uts/sparc/dcpc/Makefile
index 1a8c50de78..ff88f4acd1 100644
--- a/usr/src/uts/sparc/dcpc/Makefile
+++ b/usr/src/uts/sparc/dcpc/Makefile
@@ -28,18 +28,16 @@ UTSBASE = ../..
MODULE = dcpc
OBJECTS = $(DCPC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DCPC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/dtrace
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
include $(UTSBASE)/sparc/Makefile.sparc
-LDFLAGS += -dy -Ndrv/dtrace -Ndrv/cpc
+LDFLAGS += -Ndrv/dtrace -Ndrv/cpc
.KEEP_STATE:
@@ -51,12 +49,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/dedump/Makefile b/usr/src/uts/sparc/dedump/Makefile
index 42c3f0512f..aed73980dc 100644
--- a/usr/src/uts/sparc/dedump/Makefile
+++ b/usr/src/uts/sparc/dedump/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/dedump/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the dedump streams kernel
# module.
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = dedump
OBJECTS = $(DEDUMP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DEDUMP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,15 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -83,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/des/Makefile b/usr/src/uts/sparc/des/Makefile
index b205c669ee..86cbb2e882 100644
--- a/usr/src/uts/sparc/des/Makefile
+++ b/usr/src/uts/sparc/des/Makefile
@@ -44,7 +44,6 @@ COM_DIR = $(COMMONBASE)/crypto
#
MODULE = des
OBJECTS = $(DES_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DES_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
ROOTLINK = $(ROOT_MISC_DIR)/$(MODULE)
TARGET_32 = ../../kernel/crypto/$(MODULE)
@@ -60,7 +59,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
#
@@ -73,24 +71,22 @@ CLEANFILES += $(MODSTUBS_O)
#
# Linkage dependencies
#
-LDFLAGS += -dy -Nmisc/kcf
+LDFLAGS += -Nmisc/kcf
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
-LINTFLAGS += -I$(COM_DIR)
-
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
#
# Default build targets.
@@ -105,12 +101,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_MISC_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/dev/Makefile b/usr/src/uts/sparc/dev/Makefile
index a918d401af..a286d32f22 100644
--- a/usr/src/uts/sparc/dev/Makefile
+++ b/usr/src/uts/sparc/dev/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = dev
OBJECTS = $(DEV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DEV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,12 +60,10 @@ MODSTUBS_DIR = $(OBJS_DIR)
# $(MODSTUBS_O) := AS_CPPFLAGS += -DDEVFS_MODULE
# CLEANFILES += $(MODSTUBS_O)
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nfs/devfs -Nmisc/dls
+LDFLAGS += -Nfs/devfs -Nmisc/dls
INC_PATH += -I$(UTSBASE)/common/fs/zfs
INC_PATH += -I$(UTSBASE)/common/io/bpf
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_STATIC_UNUSED
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
@@ -86,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/devfs/Makefile b/usr/src/uts/sparc/devfs/Makefile
index c80af73300..233b5680a7 100644
--- a/usr/src/uts/sparc/devfs/Makefile
+++ b/usr/src/uts/sparc/devfs/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = devfs
OBJECTS = $(DEVFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DEVFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -55,7 +54,6 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -79,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/devinfo/Makefile b/usr/src/uts/sparc/devinfo/Makefile
index 7f97558d29..6a56f13807 100644
--- a/usr/src/uts/sparc/devinfo/Makefile
+++ b/usr/src/uts/sparc/devinfo/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = devinfo
OBJECTS = $(DEVINFO_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DEVINFO_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -56,15 +55,16 @@ CFLAGS += $(CCVERBOSE)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
+CPPFLAGS += -I$(SRC)/common
+
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
CFLAGS += $(CCVERBOSE)
-CPPFLAGS += -I$(SRC)/common
-
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
@@ -83,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dlcosmk/Makefile b/usr/src/uts/sparc/dlcosmk/Makefile
index 6a6367e539..7fc4fd3378 100644
--- a/usr/src/uts/sparc/dlcosmk/Makefile
+++ b/usr/src/uts/sparc/dlcosmk/Makefile
@@ -23,7 +23,6 @@
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
#
# This makefile creates the dlcosmk (ipp) module.
# sparc architecture dependent
@@ -39,7 +38,6 @@ UTSBASE = ../..
#
MODULE = dlcosmk
OBJECTS = $(DLCOSMK_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DLCOSMK_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_IPP_DIR)/$(MODULE)
#
@@ -56,22 +54,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndrv/ip
+LDFLAGS += -Ndrv/ip
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
+CFLAGS += $(CCVERBOSE)
#
# Default build targets.
@@ -86,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dld/Makefile b/usr/src/uts/sparc/dld/Makefile
index fe74eb13a5..7d4c31d3de 100644
--- a/usr/src/uts/sparc/dld/Makefile
+++ b/usr/src/uts/sparc/dld/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = dld
OBJECTS = $(DLD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DLD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/dld
ROOTDEVLINK = $(ROOT)/dev/$(MODULE)
@@ -47,7 +46,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -56,17 +54,13 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
$(RELEASE_BUILD)CFLAGS += -xinline=auto -xcrossfile
$(RELEASE_BUILD)COPTIMIZE = -xO5
-LDFLAGS += -dy -N misc/dls -N misc/mac
+LDFLAGS += -N misc/dls -N misc/mac
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-type-limits
@@ -85,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS) $(ROOTDEVLINK)
$(ROOTDEVLINK):
diff --git a/usr/src/uts/sparc/dlpistub/Makefile b/usr/src/uts/sparc/dlpistub/Makefile
index 548361738a..aff2c694a1 100644
--- a/usr/src/uts/sparc/dlpistub/Makefile
+++ b/usr/src/uts/sparc/dlpistub/Makefile
@@ -35,7 +35,6 @@ UTSBASE = ../..
#
MODULE = dlpistub
OBJECTS = $(DLPISTUB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DLPISTUB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/dlpistub
@@ -48,7 +47,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dls/Makefile b/usr/src/uts/sparc/dls/Makefile
index 6cdef15504..055906e0c8 100644
--- a/usr/src/uts/sparc/dls/Makefile
+++ b/usr/src/uts/sparc/dls/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = dls
OBJECTS = $(DLS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DLS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -45,7 +44,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -54,17 +52,13 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
$(RELEASE_BUILD)CFLAGS += -xinline=auto -xcrossfile
$(RELEASE_BUILD)COPTIMIZE = -xO5
-LDFLAGS += -dy -N misc/mac
+LDFLAGS += -N misc/mac
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
CERRWARN += $(CNOWARN_UNINIT)
@@ -81,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dmfe/Makefile b/usr/src/uts/sparc/dmfe/Makefile
index 1220b595fd..2b631afc6a 100644
--- a/usr/src/uts/sparc/dmfe/Makefile
+++ b/usr/src/uts/sparc/dmfe/Makefile
@@ -36,7 +36,6 @@ UTSBASE = ../..
#
MODULE = dmfe
OBJECTS = $(DMFE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DMFE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -48,20 +47,20 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
# extra link arguments
#
-LDFLAGS += -dy -N misc/mac -N misc/mii
+LDFLAGS += -N misc/mac -N misc/mii
#
# Default build targets.
@@ -76,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/doorfs/Makefile b/usr/src/uts/sparc/doorfs/Makefile
index d8bd5421c0..bbb31ec778 100644
--- a/usr/src/uts/sparc/doorfs/Makefile
+++ b/usr/src/uts/sparc/doorfs/Makefile
@@ -42,7 +42,6 @@ DOORFS_OBJS += door_vnops.o door_sys.o door_support.o
#
MODULE = doorfs
OBJECTS = $(DOORFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DOORFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
#
@@ -55,25 +54,21 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
MODSTUBS_DIR = $(OBJS_DIR)
-$(MODSTUBS_O) := AS_CPPFLAGS +=
CLEANFILES += $(MODSTUBS_O)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -91,12 +86,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dprov/Makefile b/usr/src/uts/sparc/dprov/Makefile
index 0aa53e059a..30f1bc9c17 100644
--- a/usr/src/uts/sparc/dprov/Makefile
+++ b/usr/src/uts/sparc/dprov/Makefile
@@ -41,7 +41,6 @@ COM_DIR = $(SRC)/common/crypto
#
MODULE = dprov
OBJECTS = $(DPROV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DPROV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_CRYPTO_DIR)/$(MODULE)
TARGET_32 = ../../kernel/drv/$(MODULE)
@@ -58,7 +57,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
#
@@ -67,23 +65,16 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
# Note that regular providers do not need to have an explicit dependency
# on KCF. This is a special case since the test pseudo driver dprov
# uses private KCF functions.
-LDFLAGS += -dy -Nmisc/kcf
+LDFLAGS += -Nmisc/kcf
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
-LINTFLAGS += -I$(COM_DIR)
+CFLAGS += -I$(COM_DIR)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
@@ -101,12 +92,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_CRYPTO_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/drcompat/Makefile b/usr/src/uts/sparc/drcompat/Makefile
index f16a3d3c15..d5e9f1142c 100644
--- a/usr/src/uts/sparc/drcompat/Makefile
+++ b/usr/src/uts/sparc/drcompat/Makefile
@@ -19,12 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/drcompat/Makefile
-#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the drcompat streams kernel
# module.
@@ -42,7 +40,6 @@ UTSBASE = ../..
#
MODULE = drcompat
OBJECTS = $(DRCOMPAT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DRCOMPAT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -54,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,14 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -83,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dscpmk/Makefile b/usr/src/uts/sparc/dscpmk/Makefile
index e4f488c306..bef396e23d 100644
--- a/usr/src/uts/sparc/dscpmk/Makefile
+++ b/usr/src/uts/sparc/dscpmk/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = dscpmk
OBJECTS = $(DSCPMK_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DSCPMK_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_IPP_DIR)/$(MODULE)
#
@@ -55,23 +54,16 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndrv/ip
+LDFLAGS += -Ndrv/ip
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
@@ -87,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/dtrace/Makefile b/usr/src/uts/sparc/dtrace/Makefile
index 941f5873ca..6f3c2f3b39 100644
--- a/usr/src/uts/sparc/dtrace/Makefile
+++ b/usr/src/uts/sparc/dtrace/Makefile
@@ -28,7 +28,6 @@ UTSBASE = ../..
PLATFORM = sun4u
MODULE = dtrace
OBJECTS = $(DTRACE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DTRACE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/dtrace
@@ -44,13 +43,12 @@ CERRWARN += -_gcc=-Wno-type-limits
CERRWARN += $(CNOWARN_UNINIT)
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
DTRACE_INC_32 = -I$(UTSBASE)/sparc/v7
DTRACE_INC_64 = -I$(UTSBASE)/sparc/v9
-CFLAGS += $(CCVERBOSE)
+CFLAGS += $(CCVERBOSE)
CPPFLAGS += $(DTRACE_INC_$(CLASS))
CPPFLAGS += -I$(SRC)/common/util
@@ -64,16 +62,10 @@ AS_INC_PATH += -I$(DSF_DIR)/$(OBJS_DIR)
ASSYM_H = $(DSF_DIR)/$(OBJS_DIR)/assym.h
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
.KEEP_STATE:
@@ -85,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(BINARY): $(ASSYM_H)
diff --git a/usr/src/uts/sparc/dtrace/dtrace_asm.s b/usr/src/uts/sparc/dtrace/dtrace_asm.s
index 19e76d6d0e..3884debbf8 100644
--- a/usr/src/uts/sparc/dtrace/dtrace_asm.s
+++ b/usr/src/uts/sparc/dtrace/dtrace_asm.s
@@ -23,72 +23,27 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#if defined(lint) || defined(__lint)
-#include <sys/dtrace_impl.h>
-#else
#include <sys/asm_linkage.h>
#include <sys/privregs.h>
#include <sys/fsr.h>
#include <sys/asi.h>
#include "assym.h"
-#endif
-
-#if defined(lint) || defined(__lint)
-
-int
-dtrace_getipl(void)
-{ return (0); }
-
-#else /* lint */
ENTRY_NP(dtrace_getipl)
retl
rdpr %pil, %o0
SET_SIZE(dtrace_getipl)
-#endif /* lint */
-
-#if defined(lint) || defined(__lint)
-
-uint_t
-dtrace_getotherwin(void)
-{ return (0); }
-
-#else /* lint */
-
ENTRY_NP(dtrace_getotherwin)
retl
rdpr %otherwin, %o0
SET_SIZE(dtrace_getotherwin)
-#endif /* lint */
-
-#if defined(lint) || defined(__lint)
-
-uint_t
-dtrace_getfprs(void)
-{ return (0); }
-
-#else /* lint */
-
ENTRY_NP(dtrace_getfprs)
retl
rd %fprs, %o0
SET_SIZE(dtrace_getfprs)
-#endif /* lint */
-
-#if defined(lint) || defined(__lint)
-
-/*ARGSUSED*/
-void
-dtrace_getfsr(uint64_t *val)
-{}
-
-#else /* lint */
-
ENTRY_NP(dtrace_getfsr)
rdpr %pstate, %o1
andcc %o1, PSTATE_PEF, %g0
@@ -105,31 +60,11 @@ dtrace_getfsr(uint64_t *val)
stx %g0, [%o0]
SET_SIZE(dtrace_getfsr)
-#endif /* lint */
-
-#if defined(lint) || defined(__lint)
-
-greg_t
-dtrace_getfp(void)
-{ return (0); }
-
-#else /* lint */
-
ENTRY_NP(dtrace_getfp)
retl
mov %fp, %o0
SET_SIZE(dtrace_getfp)
-#endif /* lint */
-
-#if defined(lint) || defined(__lint)
-
-void
-dtrace_flush_user_windows(void)
-{}
-
-#else
-
ENTRY_NP(dtrace_flush_user_windows)
rdpr %otherwin, %g1
brz %g1, 3f
@@ -148,32 +83,6 @@ dtrace_flush_user_windows(void)
nop
SET_SIZE(dtrace_flush_user_windows)
-#endif /* lint */
-
-#if defined(lint) || defined(__lint)
-
-uint32_t
-dtrace_cas32(uint32_t *target, uint32_t cmp, uint32_t new)
-{
- uint32_t old;
-
- if ((old = *target) == cmp)
- *target = new;
- return (old);
-}
-
-void *
-dtrace_casptr(void *target, void *cmp, void *new)
-{
- void *old;
-
- if ((old = *(void **)target) == cmp)
- *(void **)target = new;
- return (old);
-}
-
-#else /* lint */
-
ENTRY(dtrace_cas32)
cas [%o0], %o1, %o2
retl
@@ -186,19 +95,6 @@ dtrace_casptr(void *target, void *cmp, void *new)
mov %o2, %o0
SET_SIZE(dtrace_casptr)
-#endif /* lint */
-
-#if defined(lint)
-
-/*ARGSUSED*/
-uintptr_t
-dtrace_caller(int aframes)
-{
- return (0);
-}
-
-#else /* lint */
-
ENTRY(dtrace_caller)
sethi %hi(nwin_minus_one), %g4
ld [%g4 + %lo(nwin_minus_one)], %g4
@@ -233,19 +129,6 @@ dtrace_caller(int aframes)
mov -1, %o0
SET_SIZE(dtrace_caller)
-#endif
-
-#if defined(lint)
-
-/*ARGSUSED*/
-int
-dtrace_fish(int aframes, int reg, uintptr_t *regval)
-{
- return (0);
-}
-
-#else /* lint */
-
ENTRY(dtrace_fish)
rd %pc, %g5
@@ -311,18 +194,6 @@ dtrace_fish(int aframes, int reg, uintptr_t *regval)
add %g2, 1, %o0 ! Failure; return deepest frame + 1
SET_SIZE(dtrace_fish)
-#endif
-
-#if defined(lint)
-
-/*ARGSUSED*/
-void
-dtrace_copyin(uintptr_t uaddr, uintptr_t kaddr, size_t size,
- volatile uint16_t *flags)
-{}
-
-#else
-
ENTRY(dtrace_copyin)
tst %o2
bz 2f
@@ -348,18 +219,6 @@ dtrace_copyin(uintptr_t uaddr, uintptr_t kaddr, size_t size,
SET_SIZE(dtrace_copyin)
-#endif
-
-#if defined(lint)
-
-/*ARGSUSED*/
-void
-dtrace_copyinstr(uintptr_t uaddr, uintptr_t kaddr, size_t size,
- volatile uint16_t *flags)
-{}
-
-#else
-
ENTRY(dtrace_copyinstr)
tst %o2
bz 2f
@@ -388,18 +247,6 @@ dtrace_copyinstr(uintptr_t uaddr, uintptr_t kaddr, size_t size,
SET_SIZE(dtrace_copyinstr)
-#endif
-
-#if defined(lint)
-
-/*ARGSUSED*/
-void
-dtrace_copyout(uintptr_t kaddr, uintptr_t uaddr, size_t size,
- volatile uint16_t *flags)
-{}
-
-#else
-
ENTRY(dtrace_copyout)
tst %o2
bz 2f
@@ -424,18 +271,6 @@ dtrace_copyout(uintptr_t kaddr, uintptr_t uaddr, size_t size,
nop
SET_SIZE(dtrace_copyout)
-#endif
-
-#if defined(lint)
-
-/*ARGSUSED*/
-void
-dtrace_copyoutstr(uintptr_t kaddr, uintptr_t uaddr, size_t size,
- volatile uint16_t *flags)
-{}
-
-#else
-
ENTRY(dtrace_copyoutstr)
tst %o2
bz 2f
@@ -463,17 +298,6 @@ dtrace_copyoutstr(uintptr_t kaddr, uintptr_t uaddr, size_t size,
nop
SET_SIZE(dtrace_copyoutstr)
-#endif
-
-#if defined(lint)
-
-/*ARGSUSED*/
-uintptr_t
-dtrace_fulword(void *addr)
-{ return (0); }
-
-#else
-
ENTRY(dtrace_fulword)
clr %o1
ldna [%o0]ASI_USER, %o1
@@ -481,17 +305,6 @@ dtrace_fulword(void *addr)
mov %o1, %o0
SET_SIZE(dtrace_fulword)
-#endif
-
-#if defined(lint)
-
-/*ARGSUSED*/
-uint8_t
-dtrace_fuword8(void *addr)
-{ return (0); }
-
-#else
-
ENTRY(dtrace_fuword8)
clr %o1
lduba [%o0]ASI_USER, %o1
@@ -499,17 +312,6 @@ dtrace_fuword8(void *addr)
mov %o1, %o0
SET_SIZE(dtrace_fuword8)
-#endif
-
-#if defined(lint)
-
-/*ARGSUSED*/
-uint16_t
-dtrace_fuword16(void *addr)
-{ return (0); }
-
-#else
-
ENTRY(dtrace_fuword16)
clr %o1
lduha [%o0]ASI_USER, %o1
@@ -517,17 +319,6 @@ dtrace_fuword16(void *addr)
mov %o1, %o0
SET_SIZE(dtrace_fuword16)
-#endif
-
-#if defined(lint)
-
-/*ARGSUSED*/
-uint32_t
-dtrace_fuword32(void *addr)
-{ return (0); }
-
-#else
-
ENTRY(dtrace_fuword32)
clr %o1
lda [%o0]ASI_USER, %o1
@@ -535,17 +326,6 @@ dtrace_fuword32(void *addr)
mov %o1, %o0
SET_SIZE(dtrace_fuword32)
-#endif
-
-#if defined(lint)
-
-/*ARGSUSED*/
-uint64_t
-dtrace_fuword64(void *addr)
-{ return (0); }
-
-#else
-
ENTRY(dtrace_fuword64)
clr %o1
ldxa [%o0]ASI_USER, %o1
@@ -553,17 +333,6 @@ dtrace_fuword64(void *addr)
mov %o1, %o0
SET_SIZE(dtrace_fuword64)
-#endif
-
-#if defined(lint)
-
-/*ARGSUSED*/
-int
-dtrace_getupcstack_top(uint64_t *pcstack, int pcstack_limit, uintptr_t *sp)
-{ return (0); }
-
-#else
-
/*
* %g1 pcstack
* %g2 current window
@@ -628,17 +397,6 @@ dtrace_getupcstack_top(uint64_t *pcstack, int pcstack_limit, uintptr_t *sp)
nop
SET_SIZE(dtrace_getupcstack_top)
-#endif
-
-#if defined(lint)
-
-/*ARGSUSED*/
-int
-dtrace_getustackdepth_top(uintptr_t *sp)
-{ return (0); }
-
-#else
-
ENTRY(dtrace_getustackdepth_top)
mov %o0, %o2
rdpr %otherwin, %o0
@@ -669,17 +427,6 @@ dtrace_getustackdepth_top(uintptr_t *sp)
nop
SET_SIZE(dtrace_getustackdepth_top)
-#endif
-
-#if defined(lint) || defined(__lint)
-
-/* ARGSUSED */
-ulong_t
-dtrace_getreg_win(uint_t reg, uint_t depth)
-{ return (0); }
-
-#else /* lint */
-
ENTRY(dtrace_getreg_win)
sub %o0, 16, %o0
cmp %o0, 16 ! %o0 must begin in the range [16..32)
@@ -735,17 +482,6 @@ dtrace_getreg_win_table:
mov %i7, %g1
SET_SIZE(dtrace_getreg_win)
-#endif /* lint */
-
-#if defined(lint) || defined(__lint)
-
-/* ARGSUSED */
-void
-dtrace_putreg_win(uint_t reg, ulong_t value)
-{}
-
-#else /* lint */
-
ENTRY(dtrace_putreg_win)
sub %o0, 16, %o0
cmp %o0, 16 ! %o0 must be in the range [16..32)
@@ -802,18 +538,6 @@ dtrace_putreg_table:
mov %g1, %i7
SET_SIZE(dtrace_putreg_win)
-#endif /* lint */
-
-#if defined(lint) || defined(__lint)
-
-/*ARGSUSED*/
-void
-dtrace_probe_error(dtrace_state_t *state, dtrace_epid_t epid, int which,
- int fault, int fltoffs, uintptr_t illval)
-{}
-
-#else /* lint */
-
ENTRY(dtrace_probe_error)
save %sp, -SA(MINFRAME), %sp
sethi %hi(dtrace_probeid_error), %l0
@@ -828,4 +552,3 @@ dtrace_probe_error(dtrace_state_t *state, dtrace_epid_t epid, int which,
restore
SET_SIZE(dtrace_probe_error)
-#endif
diff --git a/usr/src/uts/sparc/dtrace/dtrace_isa.c b/usr/src/uts/sparc/dtrace/dtrace_isa.c
index a90b28efbb..302224260e 100644
--- a/usr/src/uts/sparc/dtrace/dtrace_isa.c
+++ b/usr/src/uts/sparc/dtrace/dtrace_isa.c
@@ -300,7 +300,7 @@ leaf:
ASSERT(depth == 0);
while (depth < pcstack_limit)
- pcstack[depth++] = NULL;
+ pcstack[depth++] = 0;
return;
}
@@ -343,7 +343,7 @@ leaf:
}
while (depth < pcstack_limit)
- pcstack[depth++] = NULL;
+ pcstack[depth++] = 0;
return;
}
@@ -505,7 +505,7 @@ dtrace_getupcstack(uint64_t *pcstack, int pcstack_limit)
zero:
while (pcstack_limit-- > 0)
- *pcstack++ = NULL;
+ *pcstack++ = 0;
}
int
@@ -534,7 +534,7 @@ dtrace_getustackdepth(void)
* beyond that NULL return address.
*/
if (DTRACE_CPUFLAG_ISSET(CPU_DTRACE_ENTRY) &&
- (rp->r_o7 != NULL || n != 1))
+ (rp->r_o7 != 0 || n != 1))
n++;
return (n);
@@ -637,7 +637,7 @@ dtrace_getufpstack(uint64_t *pcstack, uint64_t *fpstack, int pcstack_limit)
zero:
while (pcstack_limit-- > 0)
- *pcstack++ = NULL;
+ *pcstack++ = 0;
}
uint64_t
diff --git a/usr/src/uts/sparc/dtrace/fbt.c b/usr/src/uts/sparc/dtrace/fbt.c
index 58169bac81..aed1c05b3e 100644
--- a/usr/src/uts/sparc/dtrace/fbt.c
+++ b/usr/src/uts/sparc/dtrace/fbt.c
@@ -379,7 +379,7 @@ fbt_trampoline_unmap()
vmem_free(heap_arena, fbt_trampoline_window, fbt_trampoline_size);
fbt_trampoline_window = NULL;
- fbt_trampoline = NULL;
+ fbt_trampoline = 0;
fbt_trampoline_size = 0;
}
@@ -532,7 +532,7 @@ fbt_patch_entry(uint32_t *instr, uint32_t id, fbt_trampoline_t *tramp,
* Likewise, rs1 and rs2 in the jmpl of case (b) may be outputs and/or globals.
* If the jmpl uses outputs or globals, we restructure it to be:
*
- * jmpl ls2 + (ls3 | offset), (%g0 | %o7)
+ * jmpl ls2 + (ls3 | offset), (%g0 | %o7)
*
*/
/*ARGSUSED*/
@@ -1040,7 +1040,7 @@ fbt_provide_module(void *arg, struct modctl *ctl)
if (strcmp(modname, "kmdbmod") == 0)
return;
- if (str == NULL || symhdr == NULL || symhdr->sh_addr == NULL) {
+ if (str == NULL || symhdr == NULL || symhdr->sh_addr == 0) {
/*
* If this module doesn't (yet) have its string or symbol
* table allocated, clear out.
@@ -1730,7 +1730,7 @@ fbt_attach(dev_info_t *devi, ddi_attach_cmd_t cmd)
}
if (ddi_create_minor_node(devi, "fbt", S_IFCHR, 0,
- DDI_PSEUDO, NULL) == DDI_FAILURE ||
+ DDI_PSEUDO, 0) == DDI_FAILURE ||
dtrace_register("fbt", &fbt_attr, DTRACE_PRIV_KERNEL, NULL,
&fbt_pops, NULL, &fbt_id) != 0) {
ddi_remove_minor_node(devi, NULL);
diff --git a/usr/src/uts/sparc/dtrace/sdt.c b/usr/src/uts/sparc/dtrace/sdt.c
index 8fbdf24fee..0bfe2ce216 100644
--- a/usr/src/uts/sparc/dtrace/sdt.c
+++ b/usr/src/uts/sparc/dtrace/sdt.c
@@ -367,7 +367,7 @@ sdt_attach(dev_info_t *devi, ddi_attach_cmd_t cmd)
}
if (ddi_create_minor_node(devi, "sdt", S_IFCHR, 0,
- DDI_PSEUDO, NULL) == DDI_FAILURE) {
+ DDI_PSEUDO, 0) == DDI_FAILURE) {
ddi_remove_minor_node(devi, NULL);
return (DDI_FAILURE);
}
diff --git a/usr/src/uts/sparc/dump/Makefile b/usr/src/uts/sparc/dump/Makefile
index 7c38303ed7..2e4dcabba5 100644
--- a/usr/src/uts/sparc/dump/Makefile
+++ b/usr/src/uts/sparc/dump/Makefile
@@ -22,7 +22,6 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
UTSBASE = ../..
@@ -31,7 +30,6 @@ UTSBASE = ../..
#
MODULE = dump
OBJECTS = $(DUMP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DUMP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -44,7 +42,6 @@ include $(UTSBASE)/$(MACH)/Makefile.$(MACH)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -53,13 +50,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -72,12 +62,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/e1000g/Makefile b/usr/src/uts/sparc/e1000g/Makefile
index f22795fdce..1f0625a509 100644
--- a/usr/src/uts/sparc/e1000g/Makefile
+++ b/usr/src/uts/sparc/e1000g/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
MODULE = e1000g
OBJECTS = $(E1000G_OBJS:%=$(OBJS_DIR)/%)
OBJECTS += $(E1000API_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(E1000G_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/e1000g
@@ -54,14 +53,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-LINTFLAGS += \
- -I$(UTSBASE)/common/io/e1000g \
- -I$(UTSBASE)/common/io/e1000api
-
-
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
@@ -69,19 +68,12 @@ CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED
-LINTTAGS += -erroff=E_CONSTANT_CONDITION
#
# Override defaults
#
INC_PATH += -I$(CONF_SRCDIR) -I$(UTSBASE)/common/io/e1000api
-
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
# Turn on doubleword alignment for 64 bit registers
#
@@ -90,7 +82,7 @@ CFLAGS += -dalign
#
# Driver depends on MAC
#
-LDFLAGS += -dy -N misc/mac
+LDFLAGS += -N misc/mac
#
# Default build targets.
@@ -107,11 +99,6 @@ clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
diff --git a/usr/src/uts/sparc/ecc/Makefile b/usr/src/uts/sparc/ecc/Makefile
index 7930035fed..aec526fecb 100644
--- a/usr/src/uts/sparc/ecc/Makefile
+++ b/usr/src/uts/sparc/ecc/Makefile
@@ -41,7 +41,6 @@ COM2_DIR = $(COMMONBASE)/crypto
#
MODULE = ecc
OBJECTS = $(ECCPROV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(LINTS_DIR)/ecc.ln
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
#
@@ -53,21 +52,22 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Linkage dependencies
#
-LDFLAGS += -dy -Nmisc/kcf
+LDFLAGS += -Nmisc/kcf
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE) -I$(COM1_DIR) -I$(COM2_DIR)
+CFLAGS += -I$(COM1_DIR) -I$(COM2_DIR)
CFLAGS += -DMP_API_COMPATIBLE -DNSS_ECC_MORE_THAN_SUITE_B
-LINTFLAGS += -I$(COM1_DIR) -I$(COM2_DIR)
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
@@ -89,12 +89,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ecpp/Makefile b/usr/src/uts/sparc/ecpp/Makefile
index bbf1a3a00c..0f26a6c506 100644
--- a/usr/src/uts/sparc/ecpp/Makefile
+++ b/usr/src/uts/sparc/ecpp/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = ecpp
OBJECTS = $(ECPP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ECPP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,29 +52,23 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
-
-# Turn this on once compiler understands v9 in it's backend
-#INLINES += $(UTSBASE)/sun/io/ecpp.il
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-variable
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
# Default build targets.
#
@@ -89,10 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/edonr/Makefile b/usr/src/uts/sparc/edonr/Makefile
index b0c6eb0f8c..f5de78d964 100644
--- a/usr/src/uts/sparc/edonr/Makefile
+++ b/usr/src/uts/sparc/edonr/Makefile
@@ -38,7 +38,6 @@ COMDIR = $(COMMONBASE)/crypto
#
MODULE = edonr
OBJECTS = $(EDONR_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(EDONR_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
ROOTLINK = $(ROOT_MISC_DIR)/$(MODULE)
@@ -51,16 +50,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
#
# Linkage dependencies
#
-LDFLAGS += -dy -Nmisc/kcf
+LDFLAGS += -Nmisc/kcf
CFLAGS += -I$(COMDIR)
-LINTFLAGS += -I$(COMDIR)
#
# Default build targets.
@@ -75,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_MISC_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/efe/Makefile b/usr/src/uts/sparc/efe/Makefile
index 119d855117..2a5dd9a1c5 100644
--- a/usr/src/uts/sparc/efe/Makefile
+++ b/usr/src/uts/sparc/efe/Makefile
@@ -19,7 +19,6 @@ UTSBASE = ../..
#
MODULE = efe
OBJECTS = $(EFE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(EFE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -31,14 +30,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets.
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Driver flags.
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -N misc/mac -N misc/mii
+LDFLAGS += -N misc/mac -N misc/mii
CERRWARN += $(CNOWARN_UNINIT)
@@ -55,12 +53,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ehci/Makefile b/usr/src/uts/sparc/ehci/Makefile
index 42f0e0d7bb..f4d1f6bbd1 100644
--- a/usr/src/uts/sparc/ehci/Makefile
+++ b/usr/src/uts/sparc/ehci/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = ehci
OBJECTS = $(EHCI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(EHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/ehci
@@ -50,7 +49,9 @@ CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/ehci
include $(UTSBASE)/sparc/Makefile.sparc
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
@@ -59,13 +60,12 @@ CERRWARN += -_gcc=-Wno-switch
#
# depends on misc/usba
#
-LDFLAGS += -dy -Nmisc/usba
+LDFLAGS += -Nmisc/usba
#
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
.KEEP_STATE:
@@ -78,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/eibnx/Makefile b/usr/src/uts/sparc/eibnx/Makefile
index 3dd9c47375..cab6373013 100644
--- a/usr/src/uts/sparc/eibnx/Makefile
+++ b/usr/src/uts/sparc/eibnx/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = eibnx
OBJECTS = $(EIBNX_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(EIBNX_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/eoib
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -66,20 +64,16 @@ DEF_BUILDS = $(DEF_BUILDSONLY64)
CPPFLAGS += -DENX_DEBUG
#
-# Lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Depends on misc/ibtl
#
-LDFLAGS += -dy -Nmisc/ibcm -Nmisc/ibtl
+LDFLAGS += -Nmisc/ibcm -Nmisc/ibtl
#
-# The only lint flag we should need
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -96,12 +90,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/elfexec/Makefile b/usr/src/uts/sparc/elfexec/Makefile
index ba49e2b0d5..04f3f57a03 100644
--- a/usr/src/uts/sparc/elfexec/Makefile
+++ b/usr/src/uts/sparc/elfexec/Makefile
@@ -44,7 +44,6 @@ ELFEXEC_OBJS_32 =
ELFEXEC_OBJS_64 = elf32.o elf32_notes.o old32_notes.o
ELFEXEC_OBJS += $(ELFEXEC_OBJS_$(CLASS))
OBJECTS = $(ELFEXEC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ELFEXEC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_EXEC_DIR)/$(MODULE)
#
@@ -56,8 +55,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
+INC_PATH += -I$(SRC)/common/core
#
# Overrides.
@@ -65,13 +64,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -89,12 +85,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
@@ -102,8 +92,6 @@ install: $(INSTALL_DEPS)
#
include $(UTSBASE)/sparc/Makefile.targ
-.NO_PARALLEL: $(LINTS)
-
$(OBJS_DIR)/elf32.o: $(UTSBASE)/common/exec/elf/elf.c
$(COMPILE.c) -o $@ -D_ELF32_COMPAT $(UTSBASE)/common/exec/elf/elf.c
$(CTFCONVERT_O)
@@ -115,15 +103,3 @@ $(OBJS_DIR)/elf32_notes.o: $(UTSBASE)/common/exec/elf/elf_notes.c
$(OBJS_DIR)/old32_notes.o: $(UTSBASE)/common/exec/elf/old_notes.c
$(COMPILE.c) -o $@ -D_ELF32_COMPAT $(UTSBASE)/common/exec/elf/old_notes.c
$(CTFCONVERT_O)
-
-$(LINTS_DIR)/elf32.ln: $(UTSBASE)/common/exec/elf/elf.c
- @($(LHEAD) $(LINT.c) -Celf32 -D_ELF32_COMPAT $(UTSBASE)/common/exec/elf/elf.c $(LTAIL))
- @$(MV) $(@F) $@
-
-$(LINTS_DIR)/elf32_notes.ln: $(UTSBASE)/common/exec/elf/elf_notes.c
- @($(LHEAD) $(LINT.c) -Celf32_notes -D_ELF32_COMPAT $(UTSBASE)/common/exec/elf/elf_notes.c $(LTAIL))
- @$(MV) $(@F) $@
-
-$(LINTS_DIR)/old32_notes.ln: $(UTSBASE)/common/exec/elf/old_notes.c
- @($(LHEAD) $(LINT.c) -Cold32_notes -D_ELF32_COMPAT $(UTSBASE)/common/exec/elf/old_notes.c $(LTAIL))
- @$(MV) $(@F) $@
diff --git a/usr/src/uts/sparc/emlxs/Makefile b/usr/src/uts/sparc/emlxs/Makefile
index 16ac3b05df..e8c0b2b72a 100644
--- a/usr/src/uts/sparc/emlxs/Makefile
+++ b/usr/src/uts/sparc/emlxs/Makefile
@@ -35,7 +35,6 @@ COMMON_BASE = ../../../common
#
MODULE = emlxs
OBJECTS = $(EMLXS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(EMLXS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/emlxs
@@ -49,7 +48,6 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
EMLXS_FLAGS = -DEMLXS_SPARC
@@ -59,7 +57,6 @@ EMLXS_FLAGS += -DMACH=\"$(MACH)\"
EMLXS_CFLAGS = $(EMLXS_FLAGS)
EMLXS_LFLAGS = $(EMLXS_FLAGS)
CFLAGS += $(EMLXS_CFLAGS) -DEMLXS_ARCH=\"64\"
-LINTTAGS += $(EMLXS_LFLAGS) -DEMLXS_ARCH=\"64\"
#
@@ -74,18 +71,13 @@ INC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/fca/emlxs
INC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/impl
INC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/ulp
-LDFLAGS += -dy -Nmisc/md5 -Nmisc/sha1
+LDFLAGS += -Nmisc/md5 -Nmisc/sha1
LDFLAGS += -Nmisc/bignum -Nmisc/fctl
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_INCONS_VAL_TYPE_DECL2
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
@@ -104,12 +96,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/emlxs_fw/Makefile b/usr/src/uts/sparc/emlxs_fw/Makefile
index 724fc9531f..d6d0b19cf4 100644
--- a/usr/src/uts/sparc/emlxs_fw/Makefile
+++ b/usr/src/uts/sparc/emlxs_fw/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = emlxs_fw
OBJECTS = $(EMLXS_FW_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(EMLXS_FW_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_EMLXS_FW_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/emlxs
@@ -47,7 +46,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
EMLXS_FLAGS = -DEMLXS_SPARC
@@ -57,17 +55,10 @@ EMLXS_FLAGS += -DMACH=\"$(MACH)\"
EMLXS_CFLAGS = $(EMLXS_FLAGS)
EMLXS_LFLAGS = $(EMLXS_FLAGS)
CFLAGS += $(EMLXS_CFLAGS) -DEMLXS_ARCH=\"$(CLASS)\"
-LINTTAGS += $(EMLXS_LFLAGS) -DEMLXS_ARCH=\"$(CLASS)\"
INC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/fca/emlxs
-LDFLAGS += -dy -Nmisc/fctl
-
-#
-# Lint tags
-#
-LINTTAGS += -DUNIQUE_FW_NAME
-LINTTAGS += -DFW_VERSION_STRING=\"2.01.145\"
+LDFLAGS += -Nmisc/fctl
#
# Default build targets.
@@ -82,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/emul64/Makefile b/usr/src/uts/sparc/emul64/Makefile
index 86cfecacd1..426aa891d4 100644
--- a/usr/src/uts/sparc/emul64/Makefile
+++ b/usr/src/uts/sparc/emul64/Makefile
@@ -36,7 +36,6 @@ UTSBASE = ../..
#
MODULE = emul64
OBJECTS = $(EMUL64_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(EMUL64_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -52,29 +51,27 @@ CFLAGS += $(CCVERBOSE)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
+# Define dependency on scsi
#
-CFLAGS += $(CCVERBOSE)
+LDFLAGS += -N misc/scsi
#
-# Define dependency on scsi
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-LDFLAGS += -dy -N misc/scsi
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
#
# Default build targets.
@@ -89,12 +86,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/eoib/Makefile b/usr/src/uts/sparc/eoib/Makefile
index ffa1ac053d..9d9a429dac 100644
--- a/usr/src/uts/sparc/eoib/Makefile
+++ b/usr/src/uts/sparc/eoib/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = eoib
OBJECTS = $(EOIB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(EOIB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -65,17 +63,18 @@ DEF_BUILDS = $(DEF_BUILDSONLY64)
CPPFLAGS += -DEIB_DEBUG
#
-# Lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
#
# Depends on misc/ibtl
#
-LDFLAGS += -dy -Nmisc/mac -Nmisc/ibtl -Nmisc/ibcm -Nmisc/ibmf
+LDFLAGS += -Nmisc/mac -Nmisc/ibtl -Nmisc/ibcm -Nmisc/ibmf
#
# Default build targets
@@ -90,12 +89,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/eri/Makefile b/usr/src/uts/sparc/eri/Makefile
index d0976890d7..3c9047645b 100644
--- a/usr/src/uts/sparc/eri/Makefile
+++ b/usr/src/uts/sparc/eri/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = eri
OBJECTS = $(ERI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ERI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -59,15 +57,16 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-CLEANLINTFILES += $(LINT32_FILES)
+LDFLAGS += -N misc/mac -N drv/ip
#
-# Overrides.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
-LDFLAGS += -dy -N misc/mac -N drv/ip
#
# Default build targets.
@@ -82,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/eventfd/Makefile b/usr/src/uts/sparc/eventfd/Makefile
index 063aa29b78..f0733e83e9 100644
--- a/usr/src/uts/sparc/eventfd/Makefile
+++ b/usr/src/uts/sparc/eventfd/Makefile
@@ -23,7 +23,6 @@ UTSBASE = ../..
#
MODULE = eventfd
OBJECTS = $(EVENTFD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(EVENTFD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -38,7 +37,6 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -54,12 +52,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/exacctsys/Makefile b/usr/src/uts/sparc/exacctsys/Makefile
index 3c89b44cfb..ade76a4a9c 100644
--- a/usr/src/uts/sparc/exacctsys/Makefile
+++ b/usr/src/uts/sparc/exacctsys/Makefile
@@ -23,9 +23,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# uts/sparc/exacctsys/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the exacctsys system call module.
# sparc architecture dependent
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = exacctsys
OBJECTS = $(EXACCTSYS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(EXACCTSYS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_SYS_DIR)/$(MODULE)
#
@@ -53,12 +50,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -74,12 +67,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fas/Makefile b/usr/src/uts/sparc/fas/Makefile
index 03eec24a86..3080bc75de 100644
--- a/usr/src/uts/sparc/fas/Makefile
+++ b/usr/src/uts/sparc/fas/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = fas
OBJECTS = $(FAS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FAS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -51,28 +50,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Defines dependency on scsi
#
-LDFLAGS += -dy -N misc/scsi
+LDFLAGS += -N misc/scsi
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
@@ -89,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fasttrap/Makefile b/usr/src/uts/sparc/fasttrap/Makefile
index e69edd4f6f..20c93314b5 100644
--- a/usr/src/uts/sparc/fasttrap/Makefile
+++ b/usr/src/uts/sparc/fasttrap/Makefile
@@ -28,7 +28,6 @@ UTSBASE = ../..
MODULE = fasttrap
OBJECTS = $(FASTTRAP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FASTTRAP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sparc/dtrace
@@ -36,12 +35,11 @@ CONF_SRCDIR = $(UTSBASE)/sparc/dtrace
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRC)/common
-LDFLAGS += -dy -Ndrv/dtrace
+LDFLAGS += -Ndrv/dtrace
CERRWARN += $(CNOWARN_UNINIT)
@@ -55,12 +53,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/fbt/Makefile b/usr/src/uts/sparc/fbt/Makefile
index 79286b526e..e065a601d4 100644
--- a/usr/src/uts/sparc/fbt/Makefile
+++ b/usr/src/uts/sparc/fbt/Makefile
@@ -27,7 +27,6 @@ UTSBASE = ../..
MODULE = fbt
OBJECTS = $(FBT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FBT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sparc/dtrace
@@ -35,19 +34,16 @@ CONF_SRCDIR = $(UTSBASE)/sparc/dtrace
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndrv/dtrace -Nmisc/ctf
+LDFLAGS += -Ndrv/dtrace -Nmisc/ctf
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
@@ -63,12 +59,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/fcip/Makefile b/usr/src/uts/sparc/fcip/Makefile
index 6e70560f9b..336f3e9fd2 100644
--- a/usr/src/uts/sparc/fcip/Makefile
+++ b/usr/src/uts/sparc/fcip/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = fcip
OBJECTS = $(FCIP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FCIP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/ulp/
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -60,17 +58,13 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
INC_PATH += -I$(SRC)/uts/common
-LDFLAGS += -dy -Nmisc/fctl -Ndrv/ip
+LDFLAGS += -Nmisc/fctl -Ndrv/ip
#
-# Lint tags
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_INCONS_ARG_USED2
-LINTTAGS += -erroff=E_INCONS_VAL_TYPE_USED2
-
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-type-limits
@@ -87,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fcode/Makefile b/usr/src/uts/sparc/fcode/Makefile
index 6077d2646a..376d735edc 100644
--- a/usr/src/uts/sparc/fcode/Makefile
+++ b/usr/src/uts/sparc/fcode/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = fcode
OBJECTS = $(FCODE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FCODE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sun4/io/efcode
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -61,12 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
INC_PATH += -I$(UTSBASE)/sun4
-# Turn this on once compiler understands v9 in it's backend
-#INLINES += $(UTSBASE)/sun4/io/fcode.il
-
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -77,7 +69,7 @@ CFLAGS += -dalign
#
# Define dependency on fcodem
#
-LDFLAGS += -dy -N misc/fcodem
+LDFLAGS += -N misc/fcodem
#
# Default build targets.
@@ -92,12 +84,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fcodem/Makefile b/usr/src/uts/sparc/fcodem/Makefile
index 57bee792a0..6f00465d92 100644
--- a/usr/src/uts/sparc/fcodem/Makefile
+++ b/usr/src/uts/sparc/fcodem/Makefile
@@ -19,12 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/fcodem/Makefile
-#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the fcodem misc kernel module
#
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = fcodem
OBJECTS = $(FCODEM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FCODEM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -53,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,12 +57,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
INC_PATH += -I$(UTSBASE)/sun4
-# Turn this on once compiler understands v9 in it's backend
-#INLINES += $(UTSBASE)/sun4/io/fcode.il
-
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -87,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fcoe/Makefile b/usr/src/uts/sparc/fcoe/Makefile
index 58215fc027..c83ce6ee2b 100644
--- a/usr/src/uts/sparc/fcoe/Makefile
+++ b/usr/src/uts/sparc/fcoe/Makefile
@@ -35,7 +35,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = fcoe
OBJECTS = $(FCOE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FCOE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fcoe
@@ -48,14 +47,13 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Overrides and depends_on
#
MODSTUBS_DIR = $(OBJS_DIR)
-LDFLAGS += -dy -Nmisc/mac
+LDFLAGS += -Nmisc/mac
INC_PATH += -I$(UTSBASE)/common/io/fcoe
CERRWARN += -_gcc=-Wno-parentheses
@@ -73,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fcoei/Makefile b/usr/src/uts/sparc/fcoei/Makefile
index 4f4c80292f..b264ee0a00 100644
--- a/usr/src/uts/sparc/fcoei/Makefile
+++ b/usr/src/uts/sparc/fcoei/Makefile
@@ -22,7 +22,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# This makefile drives the production of the fcoei driver for
+# This makefile drives the production of the fcoei driver for
# LEADVILLE.
#
@@ -36,7 +36,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = fcoei
OBJECTS = $(FCOEI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FCOEI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/fcoei
@@ -49,13 +48,12 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Overrides and depends_on
#
-LDFLAGS += -dy -Nmisc/fctl -Ndrv/fcoe
+LDFLAGS += -Nmisc/fctl -Ndrv/fcoe
INC_PATH += -I$(UTSBASE)/common/io/fibre-channel/fca/fcoei
#
@@ -71,12 +69,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fcoet/Makefile b/usr/src/uts/sparc/fcoet/Makefile
index ee28b5510f..b1894d1131 100644
--- a/usr/src/uts/sparc/fcoet/Makefile
+++ b/usr/src/uts/sparc/fcoet/Makefile
@@ -36,7 +36,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = fcoet
OBJECTS = $(FCOET_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FCOET_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -48,14 +47,13 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides and depends_on
#
MODSTUBS_DIR = $(OBJS_DIR)
-LDFLAGS += -dy -Ndrv/stmf -Ndrv/fct -Ndrv/fcoe
+LDFLAGS += -Ndrv/stmf -Ndrv/fct -Ndrv/fcoe
# Default build targets.
#
@@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fcp/Makefile b/usr/src/uts/sparc/fcp/Makefile
index 8ba05be670..4bcdbef37b 100644
--- a/usr/src/uts/sparc/fcp/Makefile
+++ b/usr/src/uts/sparc/fcp/Makefile
@@ -37,7 +37,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = fcp
OBJECTS = $(FCP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FCP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/ulp
@@ -50,21 +49,18 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Overrides
#
-LDFLAGS += -dy -Nmisc/fctl -Nmisc/scsi
+LDFLAGS += -Nmisc/fctl -Nmisc/scsi
#
-# Lint tags
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -82,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fcpci/Makefile b/usr/src/uts/sparc/fcpci/Makefile
index eacdd19548..252576d4bf 100644
--- a/usr/src/uts/sparc/fcpci/Makefile
+++ b/usr/src/uts/sparc/fcpci/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = fcpci
OBJECTS = $(FCPCI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FCPCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -59,14 +57,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
INC_PATH += -I$(UTSBASE)/sun4
-# Turn this on once compiler understands v9 in it's backend
-#INLINES += $(UTSBASE)/sun4/io/fcode.il
-
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
# Turn on doubleword alignment for 64 bit registers
#
@@ -75,17 +65,14 @@ CFLAGS += -dalign
#
# Define dependency on fcodem and busra
#
-LDFLAGS += -dy -N misc/fcodem -N misc/busra
+LDFLAGS += -N misc/fcodem -N misc/busra
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -102,12 +89,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fcsm/Makefile b/usr/src/uts/sparc/fcsm/Makefile
index fc93e07a59..4436725cd1 100644
--- a/usr/src/uts/sparc/fcsm/Makefile
+++ b/usr/src/uts/sparc/fcsm/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = fcsm
OBJECTS = $(FCSM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FCSM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/ulp/
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -60,13 +58,13 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
INC_PATH += -I$(ROOT)/usr/include
-LDFLAGS += -dy -Nmisc/fctl
+LDFLAGS += -Nmisc/fctl
#
-# Lint tags
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -83,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fct/Makefile b/usr/src/uts/sparc/fct/Makefile
index c4c89b3a46..76b4bb2ac7 100644
--- a/usr/src/uts/sparc/fct/Makefile
+++ b/usr/src/uts/sparc/fct/Makefile
@@ -21,7 +21,7 @@
#
# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# This makefile drives the production of the fct driver for
+# This makefile drives the production of the fct driver for
# COMSTAR.
#
@@ -38,7 +38,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = fct
OBJECTS = $(FCT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FCT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/comstar/port/fct
@@ -51,24 +50,18 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Overrides and depends_on
#
MODSTUBS_DIR = $(OBJS_DIR)
-LDFLAGS += -dy -Ndrv/stmf
-
-C99LMODE= -Xc99=%all
+LDFLAGS += -Ndrv/stmf
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_IF_ELSE_ANNOTATION
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-switch
@@ -87,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fctl/Makefile b/usr/src/uts/sparc/fctl/Makefile
index b0c525ed3e..acfebaa812 100644
--- a/usr/src/uts/sparc/fctl/Makefile
+++ b/usr/src/uts/sparc/fctl/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = fctl
OBJECTS = $(FCTL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FCTL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,14 +59,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
INCS += -I$(SRC)/uts/common/
-
#
-# Lint tags
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
CERRWARN += $(CNOWARN_UNINIT)
#
@@ -84,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fdfs/Makefile b/usr/src/uts/sparc/fdfs/Makefile
index 9122961e83..83731e7bdf 100644
--- a/usr/src/uts/sparc/fdfs/Makefile
+++ b/usr/src/uts/sparc/fdfs/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/fdfs/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the fdfs file system
# kernel module.
@@ -42,7 +41,6 @@ UTSBASE = ../..
#
MODULE = fdfs
OBJECTS = $(FDFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FDFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_FS_DIR)/$(MODULE)
#
@@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -75,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fifofs/Makefile b/usr/src/uts/sparc/fifofs/Makefile
index a12c89e2b0..d36be1a990 100644
--- a/usr/src/uts/sparc/fifofs/Makefile
+++ b/usr/src/uts/sparc/fifofs/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = fifofs
OBJECTS = $(FIFO_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FIFO_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -65,12 +63,10 @@ CLEANFILES += $(MODSTUBS_O)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
@@ -87,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/flowacct/Makefile b/usr/src/uts/sparc/flowacct/Makefile
index 56a16ddc8b..9eded2518d 100644
--- a/usr/src/uts/sparc/flowacct/Makefile
+++ b/usr/src/uts/sparc/flowacct/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = flowacct
OBJECTS = $(FLOWACCT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FLOWACCT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_IPP_DIR)/$(MODULE)
#
@@ -55,22 +54,16 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndrv/ip -Ndrv/tcp
+LDFLAGS += -Ndrv/ip -Ndrv/tcp
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
@@ -86,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fm/Makefile b/usr/src/uts/sparc/fm/Makefile
index d16d54a828..de5d38da49 100644
--- a/usr/src/uts/sparc/fm/Makefile
+++ b/usr/src/uts/sparc/fm/Makefile
@@ -35,7 +35,6 @@ UTSBASE = ../..
MODULE = fm
#
OBJECTS = $(FM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -48,7 +47,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(LINT_MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -64,12 +62,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fp/Makefile b/usr/src/uts/sparc/fp/Makefile
index 5d446e7ca9..9a06fa7e18 100644
--- a/usr/src/uts/sparc/fp/Makefile
+++ b/usr/src/uts/sparc/fp/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = fp
OBJECTS = $(FP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sparc/io/fibre-channel/impl/
@@ -54,24 +53,20 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# header file directories
#
-INCS += -I$(SRC)/uts/common/
+INCS += -I$(SRC)/uts/common/
-LDFLAGS += -dy -Nmisc/fctl -Ndrv/fcp -Nmisc/scsi
+LDFLAGS += -Nmisc/fctl -Ndrv/fcp -Nmisc/scsi
#
-# Lint tags
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-unused-function
@@ -88,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fs/proc/prmachdep.c b/usr/src/uts/sparc/fs/proc/prmachdep.c
index 734f36610f..3f2b287fb4 100644
--- a/usr/src/uts/sparc/fs/proc/prmachdep.c
+++ b/usr/src/uts/sparc/fs/proc/prmachdep.c
@@ -25,7 +25,7 @@
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
-/* All Rights Reserved */
+/* All Rights Reserved */
#include <sys/types.h>
#include <sys/t_lock.h>
@@ -97,7 +97,7 @@ prgetprregs(klwp_t *lwp, prgregset_t prp)
ASSERT(MUTEX_NOT_HELD(&lwptoproc(lwp)->p_lock));
getgregs(lwp, gr);
- bzero(prp, sizeof (prp));
+ bzero(prp, NPRGREG * sizeof (*prp));
/*
* Can't copy since prgregset_t and gregset_t
@@ -318,7 +318,7 @@ prgetprregs32(klwp_t *lwp, prgregset32_t prp)
ASSERT(MUTEX_NOT_HELD(&lwptoproc(lwp)->p_lock));
getgregs32(lwp, gr);
- bzero(prp, sizeof (prp));
+ bzero(prp, NPRGREG * sizeof (*prp));
/*
* Can't copy since prgregset_t and gregset_t
@@ -422,7 +422,7 @@ prgetprfpregs(klwp_t *lwp, prfpregset_t *pfp)
* This is supposed to be a pointer to the floating point queue.
* We can't provide such a thing through the /proc interface.
*/
- pfp->pr_filler = NULL;
+ pfp->pr_filler = 0;
/*
* XXX: to be done: fetch the FP queue if it is non-empty.
*/
@@ -443,7 +443,7 @@ prgetprfpregs32(klwp_t *lwp, prfpregset32_t *pfp)
* This is supposed to be a pointer to the floating point queue.
* We can't provide such a thing through the /proc interface.
*/
- pfp->pr_filler = NULL;
+ pfp->pr_filler = 0;
/*
* XXX: to be done: fetch the FP queue if it is non-empty.
*/
diff --git a/usr/src/uts/sparc/fssnap/Makefile b/usr/src/uts/sparc/fssnap/Makefile
index 5d0eb504ae..ad28cfd71f 100644
--- a/usr/src/uts/sparc/fssnap/Makefile
+++ b/usr/src/uts/sparc/fssnap/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = fssnap
OBJECTS = $(FSSNAP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FSSNAP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -50,21 +49,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Overrides and depends_on
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nmisc/fssnap_if -Nfs/ufs
+LDFLAGS += -Nmisc/fssnap_if -Nfs/ufs
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
CERRWARN += -_gcc=-Wno-parentheses
@@ -81,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/fssnap_if/Makefile b/usr/src/uts/sparc/fssnap_if/Makefile
index 3177067dfc..e326b49470 100644
--- a/usr/src/uts/sparc/fssnap_if/Makefile
+++ b/usr/src/uts/sparc/fssnap_if/Makefile
@@ -20,11 +20,9 @@
# CDDL HEADER END
#
#
-# uts/sparc/fssnap_if/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
#
# This makefile drives the production of the file system
@@ -43,7 +41,6 @@ UTSBASE = ../..
#
MODULE = fssnap_if
OBJECTS = $(FSSNAPIF_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(FSSNAPIF_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -55,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -76,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/gen_drv/Makefile b/usr/src/uts/sparc/gen_drv/Makefile
index a4a8448844..5a34989cd4 100644
--- a/usr/src/uts/sparc/gen_drv/Makefile
+++ b/usr/src/uts/sparc/gen_drv/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = gen_drv
OBJECTS = $(GEN_DRV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(GEN_DRV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
#
@@ -53,21 +52,14 @@ CFLAGS += $(CCVERBOSE)
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-variable
#
@@ -83,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/gld/Makefile b/usr/src/uts/sparc/gld/Makefile
index d56548e81b..4eaf9e8e19 100644
--- a/usr/src/uts/sparc/gld/Makefile
+++ b/usr/src/uts/sparc/gld/Makefile
@@ -25,7 +25,7 @@
# Use is subject to license terms.
#
#
-# This makefile drives the production of the gld driver
+# This makefile drives the production of the gld driver
# kernel module.
#
# sparc architecture dependent
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = gld
OBJECTS = $(GLD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(GLD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -53,22 +52,20 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
+LDFLAGS += -Nmisc/mac
+
#
# Overrides.
#
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
@@ -86,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/hci1394/Makefile b/usr/src/uts/sparc/hci1394/Makefile
index 07b8f1c907..10f40d2a42 100644
--- a/usr/src/uts/sparc/hci1394/Makefile
+++ b/usr/src/uts/sparc/hci1394/Makefile
@@ -41,10 +41,9 @@ UTSBASE = ../..
#
MODULE = hci1394
OBJECTS = $(HCI1394_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(HCI1394_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/1394/adapters
-LDFLAGS += -dy -Nmisc/s1394
+LDFLAGS += -Nmisc/s1394
#
# Include common rules.
@@ -55,7 +54,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -63,28 +61,16 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-CLEANLINTFILES += $(LINT32_FILES)
DEBUG_DEFS_DBG32 += -DTNF_DEBUG
DEBUG_DEFS_DBG64 += -DTNF_DEBUG
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
@@ -101,12 +87,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/hermon/Makefile b/usr/src/uts/sparc/hermon/Makefile
index b91d41e52c..d3c9803f39 100644
--- a/usr/src/uts/sparc/hermon/Makefile
+++ b/usr/src/uts/sparc/hermon/Makefile
@@ -40,10 +40,9 @@ UTSBASE = ../..
#
MODULE = hermon
OBJECTS = $(HERMON_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(HERMON_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ib/adapters/hermon
-LDFLAGS += -dy -Ndrv/ib -Nmisc/ibtl -Nmisc/ibmf
+LDFLAGS += -Ndrv/ib -Nmisc/ibtl -Nmisc/ibmf
#
# Include common rules.
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -67,11 +65,12 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#DEBUG_DEFS_DBG32 += -DTNF_DEBUG
#DEBUG_DEFS_DBG64 += -DTNF_DEBUG
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-unused-value
CERRWARN += -_gcc=-Wno-unused-label
@@ -91,12 +90,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/hid/Makefile b/usr/src/uts/sparc/hid/Makefile
index 85f360fd7d..056bbe4c8e 100644
--- a/usr/src/uts/sparc/hid/Makefile
+++ b/usr/src/uts/sparc/hid/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = hid
OBJECTS = $(HID_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(HID_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -50,30 +49,23 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
include $(UTSBASE)/sparc/Makefile.sparc
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# depends on misc/usba
#
-LDFLAGS += -dy -Nmisc/usba -Nmisc/hidparser -Ndacf/consconfig_dacf
+LDFLAGS += -Nmisc/usba -Nmisc/hidparser -Ndacf/consconfig_dacf
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-CERRWARN += -_gcc=-Wno-parentheses
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-parentheses
.KEEP_STATE:
@@ -85,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/hidparser/Makefile b/usr/src/uts/sparc/hidparser/Makefile
index 31eb5a23b6..c771f711e0 100644
--- a/usr/src/uts/sparc/hidparser/Makefile
+++ b/usr/src/uts/sparc/hidparser/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = hidparser
OBJECTS = $(HIDPARSER_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(HIDPARSER_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
@@ -49,22 +48,23 @@ ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
# depends on misc/usba
#
-LDFLAGS += -dy -Nmisc/usba
+LDFLAGS += -Nmisc/usba
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -77,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
diff --git a/usr/src/uts/sparc/hme/Makefile b/usr/src/uts/sparc/hme/Makefile
index 492dfe2a25..ab28cefd67 100644
--- a/usr/src/uts/sparc/hme/Makefile
+++ b/usr/src/uts/sparc/hme/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = hme
OBJECTS = $(HME_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(HME_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -50,14 +49,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nmisc/mii -Nmisc/mac
+LDFLAGS += -Nmisc/mii -Nmisc/mac
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-unused-label
@@ -76,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/hook/Makefile b/usr/src/uts/sparc/hook/Makefile
index 5e68af14d3..8b45c9fa43 100644
--- a/usr/src/uts/sparc/hook/Makefile
+++ b/usr/src/uts/sparc/hook/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = hook
OBJECTS = $(HOOK_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(HOOK_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -55,11 +54,12 @@ CERRWARN += $(CNOWARN_UNINIT)
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
CFLAGS += $(CCVERBOSE)
@@ -76,12 +76,6 @@ clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS) $(SISCHECK_DEPS)
#
diff --git a/usr/src/uts/sparc/hpcsvc/Makefile b/usr/src/uts/sparc/hpcsvc/Makefile
index 3472ca053a..d77cb933a9 100644
--- a/usr/src/uts/sparc/hpcsvc/Makefile
+++ b/usr/src/uts/sparc/hpcsvc/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = hpcsvc
OBJECTS = $(HPCSVC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(HPCSVC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,12 +61,13 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
DEBUG_FLGS =
DEBUG_DEFS += $(DEBUG_FLGS)
-CERRWARN += $(CNOWARN_UNINIT)
-
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CFLAGS += $(CCVERBOSE)
+CERRWARN += $(CNOWARN_UNINIT)
#
# Default build targets.
@@ -83,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/hsfs/Makefile b/usr/src/uts/sparc/hsfs/Makefile
index 1303c74a7e..a9d7856697 100644
--- a/usr/src/uts/sparc/hsfs/Makefile
+++ b/usr/src/uts/sparc/hsfs/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = hsfs
OBJECTS = $(HSFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(HSFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,19 +61,13 @@ CFLAGS += $(CCVERBOSE)
#
# Define dependency on specfs
#
-LDFLAGS += -dy -N fs/specfs
+LDFLAGS += -N fs/specfs
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -96,12 +88,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/hubd/Makefile b/usr/src/uts/sparc/hubd/Makefile
index c53d68add8..7a20eb06bc 100644
--- a/usr/src/uts/sparc/hubd/Makefile
+++ b/usr/src/uts/sparc/hubd/Makefile
@@ -20,15 +20,12 @@
# CDDL HEADER END
#
#
-# uts/sparc/hubd/Makefile
-#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# This makefile drives the production of the hubd driver kernel module.
# sparc architecture dependent
#
-#ident "%Z%%M% %I% %E% SMI"
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
@@ -53,7 +50,6 @@ $(ROOTCONFIGFILES):= FILEMODE = $(CFILEMODE)
#
MODULE = hubd
OBJECTS = $(HUBD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(HUBD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -61,21 +57,17 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
# depends on misc/usba
#
-LDFLAGS += -dy -Nmisc/usba
+LDFLAGS += -Nmisc/usba
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -88,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS) $(ROOTCONFIGFILES)
$(ROOTETCUSB)/%: $(ROOTETCUSB) $(SRCDIR)/%
diff --git a/usr/src/uts/sparc/hxge/Makefile b/usr/src/uts/sparc/hxge/Makefile
index 46343ada36..6158fcd784 100644
--- a/usr/src/uts/sparc/hxge/Makefile
+++ b/usr/src/uts/sparc/hxge/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
MODULE = hxge
HXGE_OBJECTS = $(HXGE_OBJS) $(HXGE_HPI_OBJS)
OBJECTS = $(HXGE_OBJECTS:%=$(OBJS_DIR)/%)
-LINTS = $(HXGE_OBJECTS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/hxge
@@ -57,7 +56,6 @@ CLEANFILES += $(MODSTUBS_O)
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -69,25 +67,20 @@ CFLAGS += -dalign
# Include hxge specific header files
#
INC_PATH += -I$(UTSBASE)/common/io/hxge
-#
-#
-# lint pass one enforcement
-#
+
CFLAGS += -DSOLARIS
#
# Debug flags
#
# CFLAGS += -DHXGE_DEBUG -DHPI_DEBUG
#
-LINTFLAGS += -DSOLARIS
-#
-# STREAMS, DDI API limitations and other ON header file definitions such as ethernet.h
-# force us to turn off these lint checks.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_FALSE_LOGICAL_EXPR
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -96,7 +89,7 @@ CERRWARN += -_gcc=-Wno-parentheses
#
# Driver depends on mac & IP
#
-LDFLAGS += -dy -N misc/mac -N drv/ip
+LDFLAGS += -N misc/mac -N drv/ip
#
# Default build targets.
@@ -111,12 +104,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/i8042/Makefile b/usr/src/uts/sparc/i8042/Makefile
index a08c71cac1..cd25201939 100644
--- a/usr/src/uts/sparc/i8042/Makefile
+++ b/usr/src/uts/sparc/i8042/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = i8042
OBJECTS = $(I8042_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(I8042_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -52,15 +51,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) # $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
CERRWARN += -_gcc=-Wno-unused-function
@@ -77,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ib/Makefile b/usr/src/uts/sparc/ib/Makefile
index 83e44c69f2..ca97faeee8 100644
--- a/usr/src/uts/sparc/ib/Makefile
+++ b/usr/src/uts/sparc/ib/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = ib
OBJECTS = $(IB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ib/ibnex
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -63,29 +61,18 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-CERRWARN += $(CNOWARN_UNINIT)
-
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
+CFLAGS += $(CCVERBOSE)
+CERRWARN += $(CNOWARN_UNINIT)
#
# depends on misc/ibtl
#
-LDFLAGS += -dy -Nmisc/ibdm -Nmisc/ibtl
+LDFLAGS += -Nmisc/ibdm -Nmisc/ibtl
#
# Default build targets.
@@ -100,12 +87,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ibcm/Makefile b/usr/src/uts/sparc/ibcm/Makefile
index 71f1f79fcc..cf67fd8dcc 100644
--- a/usr/src/uts/sparc/ibcm/Makefile
+++ b/usr/src/uts/sparc/ibcm/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = ibcm
OBJECTS = $(IBCM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IBCM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -59,11 +57,12 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-type-limits
@@ -75,17 +74,8 @@ CERRWARN += -_gcc=-Wno-unused-value
#
# depends on misc/ibtl and misc/ibmf
#
-LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibmf -Ndrv/ip
+LDFLAGS += -Nmisc/ibtl -Nmisc/ibmf -Ndrv/ip
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
#
# Default build targets.
@@ -100,12 +90,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ibdm/Makefile b/usr/src/uts/sparc/ibdm/Makefile
index 1308ed72b3..cded090c7d 100644
--- a/usr/src/uts/sparc/ibdm/Makefile
+++ b/usr/src/uts/sparc/ibdm/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = ibdm
OBJECTS = $(IBDM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IBDM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,22 +60,16 @@ ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# depends on misc/ibtl, and misc/ibmf
#
-LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibmf
+LDFLAGS += -Nmisc/ibtl -Nmisc/ibmf
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
@@ -93,12 +85,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ibdma/Makefile b/usr/src/uts/sparc/ibdma/Makefile
index cb60c81a3c..9633e48290 100644
--- a/usr/src/uts/sparc/ibdma/Makefile
+++ b/usr/src/uts/sparc/ibdma/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = ibdma
OBJECTS = $(IBDMA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IBDMA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -59,22 +57,12 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
# depends on misc/ibtl, and misc/ibmf
#
-LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibmf
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+LDFLAGS += -Nmisc/ibtl -Nmisc/ibmf
#
# Default build targets.
@@ -89,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ibmf/Makefile b/usr/src/uts/sparc/ibmf/Makefile
index 6de209c25c..e8c713b3ea 100644
--- a/usr/src/uts/sparc/ibmf/Makefile
+++ b/usr/src/uts/sparc/ibmf/Makefile
@@ -39,9 +39,8 @@ UTSBASE = ../..
#
MODULE = ibmf
OBJECTS = $(IBMF_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IBMF_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
-LDFLAGS += -dy -Nmisc/ibtl
+LDFLAGS += -Nmisc/ibtl
#
# Include common rules.
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -64,18 +62,11 @@ ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
@@ -91,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ibp/Makefile b/usr/src/uts/sparc/ibp/Makefile
index 8e837ad67d..3a9cf57131 100644
--- a/usr/src/uts/sparc/ibp/Makefile
+++ b/usr/src/uts/sparc/ibp/Makefile
@@ -33,10 +33,9 @@ UTSBASE = ../..
#
MODULE = ibp
OBJECTS = $(IBD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IBD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/ibd
-LDFLAGS += -dy -Nmisc/mac -Nmisc/ibtl -Nmisc/ibcm -Nmisc/ibmf -Ndrv/ip \
+LDFLAGS += -Nmisc/mac -Nmisc/ibtl -Nmisc/ibcm -Nmisc/ibmf -Ndrv/ip \
-Nmisc/dls -Ndrv/dld
#
@@ -48,7 +47,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -56,21 +54,13 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-CLEANLINTFILES += $(LINT32_FILES)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-switch
@@ -87,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ibtl/Makefile b/usr/src/uts/sparc/ibtl/Makefile
index 31da41ff10..cef3dc1e16 100644
--- a/usr/src/uts/sparc/ibtl/Makefile
+++ b/usr/src/uts/sparc/ibtl/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = ibtl
OBJECTS = $(IBTL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IBTL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -60,21 +58,12 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-type-limits
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -94,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/icmp/Makefile b/usr/src/uts/sparc/icmp/Makefile
index a35e66abd6..b36d51cda7 100644
--- a/usr/src/uts/sparc/icmp/Makefile
+++ b/usr/src/uts/sparc/icmp/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = icmp
OBJECTS = $(ICMP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ICMP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE) $(ROOT_SOCK_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/ip
@@ -60,29 +59,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
-INC_PATH += -I$(UTSBASE)/common/io/bpf
-
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
# depends on ip and sockfs
#
-LDFLAGS += -dy -Ndrv/ip -Nfs/sockfs
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
+LDFLAGS += -Ndrv/ip -Nfs/sockfs
#
# Default build targets.
@@ -97,12 +81,6 @@ clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS) $(SISCHECK_DEPS)
$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOT_SOCK_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/icmp6/Makefile b/usr/src/uts/sparc/icmp6/Makefile
index 2c3983a677..87b00fbf67 100644
--- a/usr/src/uts/sparc/icmp6/Makefile
+++ b/usr/src/uts/sparc/icmp6/Makefile
@@ -23,7 +23,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the icmp6 IP driver
#
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = icmp6
OBJECTS = $(ICMP6_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ICMP6_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/ip
@@ -53,18 +52,12 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# depends on ip ip6 and icmp
#
-LDFLAGS += -dy -Ndrv/ip -Ndrv/ip6 -Ndrv/icmp
+LDFLAGS += -Ndrv/ip -Ndrv/ip6 -Ndrv/icmp
#
# Default build targets.
@@ -79,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/idm/Makefile b/usr/src/uts/sparc/idm/Makefile
index 6ae749af13..79b361163c 100644
--- a/usr/src/uts/sparc/idm/Makefile
+++ b/usr/src/uts/sparc/idm/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = idm
OBJECTS = $(IDM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IDM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -58,7 +56,7 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
DEBUG_FLGS =
DEBUG_DEFS += $(DEBUG_FLGS)
-LDFLAGS += -dy -Nfs/sockfs -Nmisc/ksocket
+LDFLAGS += -Nfs/sockfs -Nmisc/ksocket
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-parentheses
@@ -80,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/idmap/Makefile b/usr/src/uts/sparc/idmap/Makefile
index a832800e41..e08893dfff 100644
--- a/usr/src/uts/sparc/idmap/Makefile
+++ b/usr/src/uts/sparc/idmap/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = idmap
OBJECTS = $(IDMAP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IDMAP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -50,23 +49,20 @@ include $(UTSBASE)/sparc/Makefile.sparc
#
# Module dependencies
#
-LDFLAGS += -dy -N"sys/doorfs" -N"strmod/rpcmod"
+LDFLAGS += -Nsys/doorfs -Nstrmod/rpcmod
#
-# Lint warnings turned off
+# warnings turned off
#
# Function variables unused for rpcgen-generated code
# Constant conditions for do { } while (0) macros
#
-LINTTAGS += -erroff=E_FUNC_VAR_UNUSED -erroff=E_CONSTANT_CONDITION
-
CERRWARN += -_gcc=-Wno-unused-variable
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CLEANFILES += $(MODSTUBS_O)
@@ -83,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/igb/Makefile b/usr/src/uts/sparc/igb/Makefile
index 3e8c78c94d..b3576cff82 100644
--- a/usr/src/uts/sparc/igb/Makefile
+++ b/usr/src/uts/sparc/igb/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
MODULE = igb
OBJECTS = $(IGB_OBJS:%=$(OBJS_DIR)/%)
OBJECTS += $(E1000API_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IGB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/igb
@@ -50,10 +49,13 @@ CONF_SRCDIR = $(UTSBASE)/common/io/igb
#
include $(UTSBASE)/sparc/Makefile.sparc
-LINTFLAGS += \
- -I$(UTSBASE)/common/io/igb \
- -I$(UTSBASE)/common/io/e1000api
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED
@@ -62,7 +64,6 @@ CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -71,11 +72,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
INC_PATH += -I$(CONF_SRCDIR) -I$(UTSBASE)/common/io/e1000api
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Turn on doubleword alignment for 64 bit registers
#
CFLAGS += -dalign
@@ -83,7 +79,7 @@ CFLAGS += -dalign
#
# Driver depends on MAC
#
-LDFLAGS += -dy -N misc/mac
+LDFLAGS += -N misc/mac
#
# Default build targets.
@@ -98,12 +94,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/inotify/Makefile b/usr/src/uts/sparc/inotify/Makefile
index ce2b956955..89617b71dc 100644
--- a/usr/src/uts/sparc/inotify/Makefile
+++ b/usr/src/uts/sparc/inotify/Makefile
@@ -23,7 +23,6 @@ UTSBASE = ../..
#
MODULE = inotify
OBJECTS = $(INOTIFY_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(INOTIFY_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -32,15 +31,13 @@ CONF_SRCDIR = $(UTSBASE)/common/io
#
include $(UTSBASE)/sparc/Makefile.sparc
-LINTTAGS += -erroff=E_STRUCT_DERIVED_FROM_FLEX_MBR
CERRWARN += -_gcc=-Wno-parentheses
-LDFLAGS += -dy -Nfs/specfs
+LDFLAGS += -Nfs/specfs
#
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -56,12 +53,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/inst_sync/Makefile b/usr/src/uts/sparc/inst_sync/Makefile
index a400fc61a2..a7192958e6 100644
--- a/usr/src/uts/sparc/inst_sync/Makefile
+++ b/usr/src/uts/sparc/inst_sync/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = inst_sync
OBJECTS = $(INSTANCE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(INSTANCE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CERRWARN += -_gcc=-Wno-parentheses
@@ -76,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/intpexec/Makefile b/usr/src/uts/sparc/intpexec/Makefile
index 6de8290733..ac4dde7fcc 100644
--- a/usr/src/uts/sparc/intpexec/Makefile
+++ b/usr/src/uts/sparc/intpexec/Makefile
@@ -41,14 +41,12 @@ UTSBASE = ../..
#
MODULE = intpexec
OBJECTS = $(INTPEXEC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(INTPEXEC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_EXEC_DIR)/$(MODULE)
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -75,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/io/fibre-channel/impl/fp.conf b/usr/src/uts/sparc/io/fibre-channel/impl/fp.conf
index 21e7f6f805..5aaa43c883 100644
--- a/usr/src/uts/sparc/io/fibre-channel/impl/fp.conf
+++ b/usr/src/uts/sparc/io/fibre-channel/impl/fp.conf
@@ -42,7 +42,7 @@ name="fp" class="fibre-channel" port=1;
# fabric devices accessed at boot time need to get manually configured
# before the next reboot. Otherwise, fabric devices that are needed at
# boot time may not get configured and may cause boot problems.
-# To manually configure fabric devices, refer to cfgadm_fp(1M).
+# To manually configure fabric devices, refer to cfgadm_fp(8).
# manual_configuration_only=1;
#
@@ -78,7 +78,7 @@ load-ulp-list="1","fcp";
# name="fp" parent="/pci@8,600000/SUNW,qlc@4" port=0 mpxio-disable="yes";
#
# NOTE: If you just want to enable or disable MPxIO on all fp ports, it is
-# better to use stmsboot(1M) as it also updates /etc/vfstab.
+# better to use stmsboot(8) as it also updates /etc/vfstab.
#
mpxio-disable="yes";
#
diff --git a/usr/src/uts/sparc/io/pciex/pcie_sparc.c b/usr/src/uts/sparc/io/pciex/pcie_sparc.c
index de5def9f4a..1634078cbc 100644
--- a/usr/src/uts/sparc/io/pciex/pcie_sparc.c
+++ b/usr/src/uts/sparc/io/pciex/pcie_sparc.c
@@ -67,7 +67,7 @@ int
pcie_plat_pwr_setup(dev_info_t *dip)
{
if (ddi_prop_create(DDI_DEV_T_NONE, dip, DDI_PROP_CANSLEEP,
- "pm-want-child-notification?", NULL, NULL) != DDI_PROP_SUCCESS) {
+ "pm-want-child-notification?", NULL, 0) != DDI_PROP_SUCCESS) {
PCIE_DBG("%s(%d): can't create pm-want-child-notification \n",
ddi_driver_name(dip), ddi_get_instance(dip));
return (DDI_FAILURE);
diff --git a/usr/src/uts/sparc/io/pciex/pcieb_sparc.c b/usr/src/uts/sparc/io/pciex/pcieb_sparc.c
index bfa544d0c4..9bec9ba294 100644
--- a/usr/src/uts/sparc/io/pciex/pcieb_sparc.c
+++ b/usr/src/uts/sparc/io/pciex/pcieb_sparc.c
@@ -167,7 +167,7 @@ pcieb_plat_ctlops(dev_info_t *rdip, ddi_ctl_enum_t ctlop, void *arg)
void
pcieb_plat_initchild(dev_info_t *child)
{
- intptr_t ppd = NULL;
+ intptr_t ppd = (intptr_t)NULL;
/*
* XXX set ppd to 1 to disable iommu BDF protection on SPARC.
* It relies on unused parent private data for PCI devices.
@@ -204,7 +204,7 @@ pcieb_attach_plx_workarounds(pcieb_devstate_t *pcieb)
uint8_t dev_type = bus_p->bus_dev_type;
uint16_t vendor_id = bus_p->bus_dev_ven_id & 0xFFFF;
uint16_t device_id = bus_p->bus_dev_ven_id >> 16;
- int ce_mask = 0;
+ int ce_mask = 0;
if (!IS_PLX_VENDORID(vendor_id))
return;
diff --git a/usr/src/uts/sparc/ip/Makefile b/usr/src/uts/sparc/ip/Makefile
index 4b6ac89108..c1b607d121 100644
--- a/usr/src/uts/sparc/ip/Makefile
+++ b/usr/src/uts/sparc/ip/Makefile
@@ -24,7 +24,7 @@
#
# Copyright 2019 Joyent, Inc.
#
-# This makefile drives the production of the ip driver
+# This makefile drives the production of the ip driver
# kernel module.
#
# sparc architecture dependent
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = ip
OBJECTS = $(IP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/ip
@@ -53,14 +52,10 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-CFLAGS += -xinline=tcp_set_ws_value
+CFLAGS += -xinline=tcp_set_ws_value
+
#
# To get the BPF header files included by ipnet.h
#
@@ -71,7 +66,7 @@ INC_PATH += -I$(UTSBASE)/common/io/bpf
# swrand as it needs random numbers early on during boot before
# kCF subsystem can load swrand.
#
-LDFLAGS += -dy -Nmisc/md5 -Ncrypto/swrand -Nmisc/hook -Nmisc/neti
+LDFLAGS += -Nmisc/md5 -Ncrypto/swrand -Nmisc/hook -Nmisc/neti
#
# Depends on the congestion control framework for TCP connections.
@@ -80,17 +75,11 @@ LDFLAGS += -dy -Nmisc/md5 -Ncrypto/swrand -Nmisc/hook -Nmisc/neti
LDFLAGS += -N misc/cc -N cc/cc_sunreno -N cc/cc_newreno -N cc/cc_cubic
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-function
@@ -112,12 +101,6 @@ clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS) $(SISCHECK_DEPS)
$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/ip6/Makefile b/usr/src/uts/sparc/ip6/Makefile
index 4108089199..99abcace11 100644
--- a/usr/src/uts/sparc/ip6/Makefile
+++ b/usr/src/uts/sparc/ip6/Makefile
@@ -23,9 +23,9 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
+
#
-# This makefile drives the production of the ip6 driver
+# This makefile drives the production of the ip6 driver
# kernel module.
#
# sparc architecture dependent
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = ip6
OBJECTS = $(IP6_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IP6_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/ip
@@ -54,18 +53,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
# depends on ip
#
-LDFLAGS += -dy -Ndrv/ip
+LDFLAGS += -Ndrv/ip
#
# Default build targets.
@@ -80,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ipc/Makefile b/usr/src/uts/sparc/ipc/Makefile
index 1ed5f1f9fe..1928960a7e 100644
--- a/usr/src/uts/sparc/ipc/Makefile
+++ b/usr/src/uts/sparc/ipc/Makefile
@@ -40,14 +40,12 @@ UTSBASE = ../..
#
MODULE = ipc
OBJECTS = $(IPC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IPC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,11 +59,10 @@ include $(UTSBASE)/sparc/Makefile.sparc
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -83,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ipd/Makefile b/usr/src/uts/sparc/ipd/Makefile
index 9239c97203..b8246129ee 100644
--- a/usr/src/uts/sparc/ipd/Makefile
+++ b/usr/src/uts/sparc/ipd/Makefile
@@ -13,23 +13,22 @@
# Copyright 2012 Joyent, Inc. All rights reserved.
# Copyright (c) 2014 Igor Kozhukhov <ikozhukhov@gmail.com>
# Use is subject to license terms.
+# Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
#
UTSBASE = ../..
MODULE = ipd
OBJECTS = $(IPD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IPD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/ipd
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-LDFLAGS += -dy -Nmisc/neti -Nmisch/hook
+LDFLAGS += -Nmisc/neti -Nmisc/hook
.KEEP_STATE:
@@ -41,12 +40,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
include $(UTSBASE)/sparc/Makefile.targ
diff --git a/usr/src/uts/sparc/ipf/Makefile b/usr/src/uts/sparc/ipf/Makefile
index 3250d51003..3d04344952 100644
--- a/usr/src/uts/sparc/ipf/Makefile
+++ b/usr/src/uts/sparc/ipf/Makefile
@@ -26,7 +26,7 @@
# uts/sparc/ipf/Makefile
#
#
-# This makefile drives the production of the ipf driver
+# This makefile drives the production of the ipf driver
# kernel module.
#
# sparc architecture dependent
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = ipf
OBJECTS = $(IPF_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IPF_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/ipf
@@ -55,30 +54,21 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement and OS version
-#
-CFLAGS += $(CCVERBOSE)
-CPPFLAGS += -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP
+CPPFLAGS += -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP
CPPFLAGS += -DSUNDDI -DSOLARIS2=$(RELEASE_MINOR) -DIRE_ILL_CN -DUSE_INET6
-LDFLAGS += -dy -Ndrv/ip -Nmisc/md5 -Nmisc/neti -Nmisc/hook -Nmisc/kcf
+LDFLAGS += -Ndrv/ip -Nmisc/md5 -Nmisc/neti -Nmisc/hook -Nmisc/kcf
LDFLAGS += -Nmisc/mac
INC_PATH += -I$(UTSBASE)/common/inet/ipf
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-parentheses
@@ -98,12 +88,6 @@ clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS) $(SISCHECK_DEPS)
#
diff --git a/usr/src/uts/sparc/ipgpc/Makefile b/usr/src/uts/sparc/ipgpc/Makefile
index a5d60bf915..aa1f7b2586 100644
--- a/usr/src/uts/sparc/ipgpc/Makefile
+++ b/usr/src/uts/sparc/ipgpc/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = ipgpc
OBJECTS = $(IPGPC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IPGPC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_IPP_DIR)/$(MODULE)
#
@@ -57,25 +56,23 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
+LDFLAGS += -Ndrv/ip
+
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
-
-LDFLAGS += -dy -Ndrv/ip
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
#
# Default build targets.
@@ -90,12 +87,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ipnet/Makefile b/usr/src/uts/sparc/ipnet/Makefile
index 3693a3df57..2c2fab8187 100644
--- a/usr/src/uts/sparc/ipnet/Makefile
+++ b/usr/src/uts/sparc/ipnet/Makefile
@@ -1,4 +1,4 @@
-#
+#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
@@ -23,7 +23,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# This makefile drives the production of the ipnet driver
+# This makefile drives the production of the ipnet driver
# kernel module.
#
# sparc architecture dependent
@@ -41,7 +41,6 @@ UTSBASE = ../..
MODULE = ipnet
OBJECTS = $(IPNET_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IPNET_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/ipnet
@@ -56,31 +55,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
-
CFLAGS += $(CCVERBOSE)
#
-# lint pass one enforcement
-#
-
-CFLAGS += $(CCVERBOSE)
-
-#
-# STREAMS API limitations force us to turn off these lint checks.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Depends on ip, neti, and hook.
#
-LDFLAGS += -dy -Ndrv/ip -Nmisc/neti -Nmisc/hook
+LDFLAGS += -Ndrv/ip -Nmisc/neti -Nmisc/hook
#
# To get the BPF header files
@@ -101,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ippctl/Makefile b/usr/src/uts/sparc/ippctl/Makefile
index 0f4ce838ef..140b60b8fd 100644
--- a/usr/src/uts/sparc/ippctl/Makefile
+++ b/usr/src/uts/sparc/ippctl/Makefile
@@ -23,9 +23,6 @@
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# uts/sparc/ippctl/Makefile
#
# This makefile drives the production of the ipp driver
# kernel module.
@@ -41,7 +38,6 @@ UTSBASE = ../..
#
MODULE = ippctl
OBJECTS = $(IPP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IPP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/ipp
@@ -54,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -63,13 +58,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -82,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ipsecah/Makefile b/usr/src/uts/sparc/ipsecah/Makefile
index ad14fa4e5b..cb682c02c3 100644
--- a/usr/src/uts/sparc/ipsecah/Makefile
+++ b/usr/src/uts/sparc/ipsecah/Makefile
@@ -58,7 +58,7 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
#
# Linkage dependencies
#
-LDFLAGS += -dy -Ndrv/ip -Ndrv/tcp -Nmisc/kcf
+LDFLAGS += -Ndrv/ip -Ndrv/tcp -Nmisc/kcf
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
diff --git a/usr/src/uts/sparc/ipsecesp/Makefile b/usr/src/uts/sparc/ipsecesp/Makefile
index 931dc913a2..058887b6d6 100644
--- a/usr/src/uts/sparc/ipsecesp/Makefile
+++ b/usr/src/uts/sparc/ipsecesp/Makefile
@@ -58,7 +58,7 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
#
# Linkage dependencies
#
-LDFLAGS += -dy -Ndrv/ip -Ndrv/ipsecah -Nmisc/kcf
+LDFLAGS += -Ndrv/ip -Ndrv/ipsecah -Nmisc/kcf
CERRWARN += $(CNOWARN_UNINIT)
diff --git a/usr/src/uts/sparc/iptun/Makefile b/usr/src/uts/sparc/iptun/Makefile
index b01cdfd7b4..90ffe0cbe8 100644
--- a/usr/src/uts/sparc/iptun/Makefile
+++ b/usr/src/uts/sparc/iptun/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = iptun
OBJECTS = $(IPTUN_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IPTUN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/iptun
@@ -46,17 +45,15 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Overrides
#
-CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndrv/dld -Nmisc/dls -Nmisc/mac -Ndrv/ip
+CFLAGS += $(CCVERBOSE)
+LDFLAGS += -Ndrv/dld -Nmisc/dls -Nmisc/mac -Ndrv/ip
+INC_PATH += -I$(UTSBASE)/common/io/bpf
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-switch
@@ -75,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/iscsi/Makefile b/usr/src/uts/sparc/iscsi/Makefile
index 7b0c73fd6b..5703ff3a1a 100644
--- a/usr/src/uts/sparc/iscsi/Makefile
+++ b/usr/src/uts/sparc/iscsi/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = iscsi
OBJECTS = $(ISCSI_INITIATOR_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ISCSI_INITIATOR_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/iscsi
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets.
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
# includes
@@ -62,11 +60,9 @@ INC_PATH += -I$(SRC)/common/hdcrc
#
# Note dependancy on misc/scsi.
#
-LDFLAGS += -dy -N"misc/scsi" -N"fs/sockfs" -N"sys/doorfs" -N"misc/md5" -Nmisc/ksocket
-LDFLAGS += -N"misc/idm"
+LDFLAGS += -Nmisc/scsi -Nfs/sockfs -Nsys/doorfs -Nmisc/md5 -Nmisc/ksocket
+LDFLAGS += -Nmisc/idm
-LINTFLAGS += -a -erroff=E_BAD_PTR_CAST_ALIGN -erroff=E_PTRDIFF_OVERFLOW
-LINTFLAGS64 += -a -erroff=E_BAD_PTR_CAST_ALIGN -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-unused-function
@@ -87,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/iscsit/Makefile b/usr/src/uts/sparc/iscsit/Makefile
index 45954abf12..ba277ea358 100644
--- a/usr/src/uts/sparc/iscsit/Makefile
+++ b/usr/src/uts/sparc/iscsit/Makefile
@@ -21,7 +21,7 @@
#
# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# This makefile drives the production of the iscsit pseudo-driver for
+# This makefile drives the production of the iscsit pseudo-driver for
# COMSTAR.
#
@@ -38,7 +38,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = iscsit
OBJECTS = $(ISCSIT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ISCSIT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/comstar/port/iscsit
@@ -51,16 +50,13 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Overrides and depends_on
#
MODSTUBS_DIR = $(OBJS_DIR)
-LDFLAGS += -dy -Ndrv/stmf -Nmisc/idm -Nfs/sockfs -Nmisc/md5 -Nmisc/ksocket
-
-C99LMODE= -Xc99=%all
+LDFLAGS += -Ndrv/stmf -Nmisc/idm -Nfs/sockfs -Nmisc/md5 -Nmisc/ksocket
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -79,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/iser/Makefile b/usr/src/uts/sparc/iser/Makefile
index f4fd1b5c41..c5f0a003a9 100644
--- a/usr/src/uts/sparc/iser/Makefile
+++ b/usr/src/uts/sparc/iser/Makefile
@@ -33,9 +33,8 @@ UTSBASE = ../..
#
MODULE = iser
OBJECTS = $(ISER_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ISER_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
-LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibcm -Nmisc/idm
+LDFLAGS += -Nmisc/ibtl -Nmisc/ibcm -Nmisc/idm
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/iser
#
@@ -49,7 +48,6 @@ CERRWARN += $(CNOWARN_UNINIT)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -65,12 +63,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/iwscn/Makefile b/usr/src/uts/sparc/iwscn/Makefile
index 0a74c9ca33..965e74592f 100644
--- a/usr/src/uts/sparc/iwscn/Makefile
+++ b/usr/src/uts/sparc/iwscn/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/iwscn/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the iwscn driver
#
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = iwscn
OBJECTS = $(IWSCN_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IWSCN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -78,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
diff --git a/usr/src/uts/sparc/ixgbe/Makefile b/usr/src/uts/sparc/ixgbe/Makefile
index 493f91652d..b4df075724 100644
--- a/usr/src/uts/sparc/ixgbe/Makefile
+++ b/usr/src/uts/sparc/ixgbe/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
MODULE = ixgbe
OBJECTS = $(IXGBE_OBJS:%=$(OBJS_DIR)/%)
OBJECTS += $(IXGBE_INTC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IXGBE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ixgbe
@@ -54,17 +53,10 @@ include $(UTSBASE)/sparc/Makefile.sparc
INC_PATH += -I$(UTSBASE)/common/io/ixgbe
INC_PATH += -I$(UTSBASE)/common/io/ixgbe/core
-CERRWARN += -_gcc=-Wno-parentheses
-CERRWARN += -_gcc=-Wno-switch
-CERRWARN += $(CNOWARN_UNINIT)
-CERRWARN += -_gcc=-Wno-unused-value
-CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED
-
#
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -73,9 +65,16 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
INC_PATH += -I$(CONF_SRCDIR)
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += -_gcc=-Wno-switch
+CERRWARN += $(CNOWARN_UNINIT)
+CERRWARN += -_gcc=-Wno-unused-value
+CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED
#
# Turn on doubleword alignment for 64 bit registers
@@ -85,7 +84,7 @@ CFLAGS += -dalign
#
# Driver depends on MAC
#
-LDFLAGS += -dy -N misc/mac
+LDFLAGS += -N misc/mac
#
# Default build targets.
@@ -100,12 +99,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/javaexec/Makefile b/usr/src/uts/sparc/javaexec/Makefile
index 7b25a52726..6923b4d181 100644
--- a/usr/src/uts/sparc/javaexec/Makefile
+++ b/usr/src/uts/sparc/javaexec/Makefile
@@ -43,7 +43,6 @@ UTSBASE = ../..
#
MODULE = javaexec
OBJECTS = $(JAVAEXEC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(JAVAEXEC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_EXEC_DIR)/$(MODULE)
#
@@ -57,7 +56,6 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -78,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/kaio/Makefile b/usr/src/uts/sparc/kaio/Makefile
index 41f948fc03..8961401729 100644
--- a/usr/src/uts/sparc/kaio/Makefile
+++ b/usr/src/uts/sparc/kaio/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = kaio
OBJECTS = $(KAIO_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KAIO_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
#
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,18 +61,11 @@ $(MODSTUBS_O) := AS_CPPFLAGS += -DKAIO_MODULE
CLEANFILES += $(MODSTUBS_O)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
@@ -92,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/kb8042/Makefile b/usr/src/uts/sparc/kb8042/Makefile
index 258a09323a..af160a394b 100644
--- a/usr/src/uts/sparc/kb8042/Makefile
+++ b/usr/src/uts/sparc/kb8042/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = kb8042
OBJECTS = $(KB8042_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KB8042_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -48,21 +47,19 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-LDFLAGS += -dy -Nmisc/kbtrans
+LDFLAGS += -Nmisc/kbtrans
#
# Define targets
#
ALL_TARGET = $(BINARY) # $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
CERRWARN += $(CNOWARN_UNINIT)
@@ -79,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/kbtrans/Makefile b/usr/src/uts/sparc/kbtrans/Makefile
index 0669817680..fb9512b47a 100644
--- a/usr/src/uts/sparc/kbtrans/Makefile
+++ b/usr/src/uts/sparc/kbtrans/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = kbtrans
OBJECTS = $(KBTRANS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KBTRANS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -50,26 +49,18 @@ ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-empty-body
CERRWARN += -_gcc=-Wno-unused-braces
@@ -83,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
diff --git a/usr/src/uts/sparc/kcf/Makefile b/usr/src/uts/sparc/kcf/Makefile
index 7d7eee4c01..cdd8cfdae5 100644
--- a/usr/src/uts/sparc/kcf/Makefile
+++ b/usr/src/uts/sparc/kcf/Makefile
@@ -39,7 +39,6 @@ COM_DIR = $(COMMONBASE)/crypto
#
MODULE = kcf
OBJECTS = $(KCF_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KCF_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -51,20 +50,16 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# Linkage dependencies
-#
+CFLAGS += -I$(COM_DIR)
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
-
-LINTTAGS += -I$(COM_DIR)
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
@@ -83,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/keysock/Makefile b/usr/src/uts/sparc/keysock/Makefile
index f73ad4e981..e1ac276e84 100644
--- a/usr/src/uts/sparc/keysock/Makefile
+++ b/usr/src/uts/sparc/keysock/Makefile
@@ -25,7 +25,7 @@
#
#
-# This makefile drives the production of the keysock driver
+# This makefile drives the production of the keysock driver
# kernel module.
#
# sparc architecture dependent
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = keysock
OBJECTS = $(KEYSOCK_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KEYSOCK_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/ip
@@ -55,29 +54,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
#
# Linkage dependencies
#
-LDFLAGS += -dy -Ndrv/ip
+LDFLAGS += -Ndrv/ip
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-variable
#
@@ -93,12 +82,6 @@ clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS) $(SISCHECK_DEPS)
$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/kgssapi/Makefile b/usr/src/uts/sparc/kgssapi/Makefile
index 3e25d28a02..6155deed31 100644
--- a/usr/src/uts/sparc/kgssapi/Makefile
+++ b/usr/src/uts/sparc/kgssapi/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
MODULE = kgssapi
OBJECTS = $(KGSSD_OBJS:%=$(OBJS_DIR)/%)
OBJECTS += $(KGSSD_DERIVED_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KGSSD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
# Include common rules.
@@ -49,27 +48,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_KGSS_DIR)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Define dependencies on rpc, rpcsec, and tlimod
#
-LDFLAGS += -dy -N strmod/rpcmod -N misc/rpcsec -N misc/tlimod
+LDFLAGS += -N strmod/rpcmod -N misc/rpcsec -N misc/tlimod
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += $(CNOWARN_UNINIT)
@@ -86,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/kiconv_emea/Makefile b/usr/src/uts/sparc/kiconv_emea/Makefile
index 4afc3065c1..e974575042 100644
--- a/usr/src/uts/sparc/kiconv_emea/Makefile
+++ b/usr/src/uts/sparc/kiconv_emea/Makefile
@@ -19,12 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/kiconv_emea/Makefile
-#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the kiconv_emea kernel module.
#
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = kiconv_emea
OBJECTS = $(KICONV_EMEA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KICONV_EMEA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_KICONV_DIR)/$(MODULE)
#
@@ -53,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,13 +58,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -81,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/kiconv_ja/Makefile b/usr/src/uts/sparc/kiconv_ja/Makefile
index de9f8e0559..a7c5252688 100644
--- a/usr/src/uts/sparc/kiconv_ja/Makefile
+++ b/usr/src/uts/sparc/kiconv_ja/Makefile
@@ -19,12 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/kiconv_ja/Makefile
-#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the kiconv_ja kernel module.
#
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = kiconv_ja
OBJECTS = $(KICONV_JA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KICONV_JA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_KICONV_DIR)/$(MODULE)
#
@@ -53,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,13 +58,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -81,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/kiconv_ko/Makefile b/usr/src/uts/sparc/kiconv_ko/Makefile
index 066b2398ba..7af6f50f72 100644
--- a/usr/src/uts/sparc/kiconv_ko/Makefile
+++ b/usr/src/uts/sparc/kiconv_ko/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = kiconv_ko
OBJECTS = $(KICONV_KO_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KICONV_KO_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_KICONV_DIR)/$(MODULE)
#
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,11 +61,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += -_gcc=-Wno-parentheses
@@ -84,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/kiconv_sc/Makefile b/usr/src/uts/sparc/kiconv_sc/Makefile
index b658e00830..c74c128975 100755
--- a/usr/src/uts/sparc/kiconv_sc/Makefile
+++ b/usr/src/uts/sparc/kiconv_sc/Makefile
@@ -19,12 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/kiconv_sc/Makefile
-#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the kiconv_sc
# kernel module.
@@ -42,7 +40,6 @@ UTSBASE = ../..
#
MODULE = kiconv_sc
OBJECTS = $(KICONV_SC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KICONV_SC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_KICONV_DIR)/$(MODULE)
#
@@ -54,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,13 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -82,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/kiconv_tc/Makefile b/usr/src/uts/sparc/kiconv_tc/Makefile
index a04c0f0e50..afaae26122 100755
--- a/usr/src/uts/sparc/kiconv_tc/Makefile
+++ b/usr/src/uts/sparc/kiconv_tc/Makefile
@@ -19,12 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/kiconv_tc/Makefile
-#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the kiconv_tc
# kernel module.
@@ -42,7 +40,6 @@ UTSBASE = ../..
#
MODULE = kiconv_tc
OBJECTS = $(KICONV_TC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KICONV_TC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_KICONV_DIR)/$(MODULE)
#
@@ -54,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,13 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -82,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/klmmod/Makefile b/usr/src/uts/sparc/klmmod/Makefile
index a3523ab775..5d422d0c0a 100644
--- a/usr/src/uts/sparc/klmmod/Makefile
+++ b/usr/src/uts/sparc/klmmod/Makefile
@@ -36,7 +36,6 @@ UTSBASE = ../..
#
MODULE = klmmod
OBJECTS = $(KLMMOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KLMMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -48,14 +47,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nstrmod/rpcmod -Nfs/nfs
+LDFLAGS += -Nstrmod/rpcmod -Nfs/nfs
LDFLAGS += -M $(UTSBASE)/common/klm/mapfile-mod
#
@@ -76,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/klmops/Makefile b/usr/src/uts/sparc/klmops/Makefile
index be0b805e5e..5db49f47c0 100644
--- a/usr/src/uts/sparc/klmops/Makefile
+++ b/usr/src/uts/sparc/klmops/Makefile
@@ -35,7 +35,6 @@ UTSBASE = ../..
#
MODULE = klmops
OBJECTS = $(KLMOPS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KLMOPS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -47,14 +46,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nstrmod/rpcmod -Nfs/nfs
+LDFLAGS += -Nstrmod/rpcmod -Nfs/nfs
LDFLAGS += -M $(UTSBASE)/common/klm/mapfile-ops
#
@@ -70,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/kmdb/Makefile b/usr/src/uts/sparc/kmdb/Makefile
index 927e043bf6..f797e49b6d 100644
--- a/usr/src/uts/sparc/kmdb/Makefile
+++ b/usr/src/uts/sparc/kmdb/Makefile
@@ -23,25 +23,21 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
UTSBASE = ../..
MODULE = kmdb
OBJECTS = $(KMDB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KMDB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/kmdb
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nmisc/kmdbmod
+LDFLAGS += -Nmisc/kmdbmod
.KEEP_STATE:
@@ -53,12 +49,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
include $(UTSBASE)/sparc/Makefile.targ
diff --git a/usr/src/uts/sparc/kmech_dummy/Makefile b/usr/src/uts/sparc/kmech_dummy/Makefile
index f8ea726961..52c822bf89 100644
--- a/usr/src/uts/sparc/kmech_dummy/Makefile
+++ b/usr/src/uts/sparc/kmech_dummy/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = kmech_dummy
OBJECTS = $(KGSS_DUMMY_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KGSS_DUMMY_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_KGSS_DIR)/$(MODULE)
#
@@ -52,18 +51,14 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
+CFLAGS += $(CCVERBOSE)
#
# Define dependency on kgssapi
#
-LDFLAGS += -dy -N misc/kgssapi
+LDFLAGS += -N misc/kgssapi
#
# Default build targets.
@@ -78,11 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
#
# Do not install the dummy GSS-API mechanism in the proto area
diff --git a/usr/src/uts/sparc/kmech_krb5/Makefile b/usr/src/uts/sparc/kmech_krb5/Makefile
index dc76bb0d91..0ca1895529 100644
--- a/usr/src/uts/sparc/kmech_krb5/Makefile
+++ b/usr/src/uts/sparc/kmech_krb5/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = kmech_krb5
OBJECTS = $(KGSS_KRB5_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KGSS_KRB5_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_KGSS_DIR)/$(MODULE)
#
@@ -51,34 +50,26 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement
+# Define dependencies on kgssapi and md5
#
-CFLAGS += $(CCVERBOSE)
+LDFLAGS += -N misc/kgssapi -N crypto/md5
+
#
-# Define dependencies on kgssapi and md5
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-LDFLAGS += -dy -N misc/kgssapi -N crypto/md5
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -91,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
KMECHKRB5_BASE=$(UTSBASE)/common/gssapi/mechs/krb5
@@ -107,9 +92,6 @@ $(OBJS_DIR)/%.o: $(KMECHKRB5_BASE)/crypto/crc32/%.c
$(COMPILE.c) $(KGSSDFLAGS) -o $@ $<
$(CTFCONVERT_O)
-$(LINTS_DIR)/%.ln: $(KMECHKRB5_BASE)/crypto/crc32/%.c
- @($(LHEAD) $(LINT.c) $(KGSSDFLAGS) $< $(LTAIL))
-
#
# Include common targets.
#
diff --git a/usr/src/uts/sparc/krtld/kobj_reloc.c b/usr/src/uts/sparc/krtld/kobj_reloc.c
index cc7df40d7c..2fea631bd1 100644
--- a/usr/src/uts/sparc/krtld/kobj_reloc.c
+++ b/usr/src/uts/sparc/krtld/kobj_reloc.c
@@ -207,7 +207,7 @@ do_relocate(struct module *mp, char *reltbl, int nreloc, int relocsize,
if ((rtype > R_SPARC_NUM) || IS_TLS_INS(rtype)) {
_kobj_printf(ops, "krtld: invalid relocation type %d",
rtype);
- _kobj_printf(ops, " at 0x%llx:", off);
+ _kobj_printf(ops, " at 0x%llx:", (u_longlong_t)off);
_kobj_printf(ops, " file=%s\n", mp->filename);
err = 1;
continue;
@@ -223,8 +223,8 @@ do_relocate(struct module *mp, char *reltbl, int nreloc, int relocsize,
(mp->symtbl+(stndx * mp->symhdr->sh_entsize));
_kobj_printf(ops, "krtld:\t%s",
conv_reloc_SPARC_type(rtype));
- _kobj_printf(ops, "\t0x%8llx", off);
- _kobj_printf(ops, " 0x%8llx", addend);
+ _kobj_printf(ops, "\t0x%8llx", (u_longlong_t)off);
+ _kobj_printf(ops, " 0x%8llx", (u_longlong_t)addend);
_kobj_printf(ops, " %s\n",
(const char *)mp->strings + symp->st_name);
}
@@ -309,8 +309,9 @@ do_relocate(struct module *mp, char *reltbl, int nreloc, int relocsize,
#ifdef KOBJ_DEBUG
if (kobj_debug & D_RELOCATIONS) {
- _kobj_printf(ops, "krtld:\t\t\t\t0x%8llx", off);
- _kobj_printf(ops, " 0x%8llx\n", value);
+ _kobj_printf(ops, "krtld:\t\t\t\t0x%8llx",
+ (u_longlong_t)off);
+ _kobj_printf(ops, " 0x%8llx\n", (u_longlong_t)value);
}
#endif
if (do_reloc_krtld(rtype, (unsigned char *)off, (Xword *)&value,
@@ -353,7 +354,7 @@ do_relocations(struct module *mp)
}
if (rshp->sh_info >= mp->hdr.e_shnum) {
_kobj_printf(ops, "do_relocations: %s ", mp->filename);
- _kobj_printf(ops, " sh_info out of range %lld\n", shn);
+ _kobj_printf(ops, " sh_info out of range %d\n", shn);
goto bad;
}
nreloc = rshp->sh_size / rshp->sh_entsize;
diff --git a/usr/src/uts/sparc/ksensor/Makefile b/usr/src/uts/sparc/ksensor/Makefile
new file mode 100644
index 0000000000..f12805b385
--- /dev/null
+++ b/usr/src/uts/sparc/ksensor/Makefile
@@ -0,0 +1,40 @@
+#
+# This file and its contents are supplied under the terms of the
+# Common Development and Distribution License ("CDDL"), version 1.0.
+# You may only use this file in accordance with the terms of version
+# 1.0 of the CDDL.
+#
+# A full copy of the text of the CDDL should have accompanied this
+# source. A copy of the CDDL is also available via the Internet at
+# http://www.illumos.org/license/CDDL.
+#
+
+#
+# Copyright 2020 Oxide Computer Company
+#
+
+UTSBASE = ../..
+
+MODULE = ksensor
+OBJECTS = $(KSENSOR_OBJS:%=$(OBJS_DIR)/%)
+ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
+CONF_SRCDIR = $(UTSBASE)/common/io/ksensor
+
+include $(UTSBASE)/sparc/Makefile.sparc
+
+ALL_TARGET = $(BINARY) $(CONFMOD)
+INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
+
+.KEEP_STATE:
+
+def: $(DEF_DEPS)
+
+all: $(ALL_DEPS)
+
+clean: $(CLEAN_DEPS)
+
+clobber: $(CLOBBER_DEPS)
+
+install: $(INSTALL_DEPS)
+
+include $(UTSBASE)/sparc/Makefile.targ
diff --git a/usr/src/uts/sparc/ksensor_test/Makefile b/usr/src/uts/sparc/ksensor_test/Makefile
new file mode 100644
index 0000000000..f22e8205ad
--- /dev/null
+++ b/usr/src/uts/sparc/ksensor_test/Makefile
@@ -0,0 +1,40 @@
+#
+# This file and its contents are supplied under the terms of the
+# Common Development and Distribution License ("CDDL"), version 1.0.
+# You may only use this file in accordance with the terms of version
+# 1.0 of the CDDL.
+#
+# A full copy of the text of the CDDL should have accompanied this
+# source. A copy of the CDDL is also available via the Internet at
+# http://www.illumos.org/license/CDDL.
+#
+
+#
+# Copyright 2020 Oxide Computer Company
+#
+
+UTSBASE = ../..
+
+MODULE = ksensor_test
+OBJECTS = $(KSENSOR_TEST_OBJS:%=$(OBJS_DIR)/%)
+ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
+CONF_SRCDIR = $(UTSBASE)/common/io/ksensor
+
+include $(UTSBASE)/sparc/Makefile.sparc
+
+ALL_TARGET = $(BINARY) $(CONFMOD)
+INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
+
+.KEEP_STATE:
+
+def: $(DEF_DEPS)
+
+all: $(ALL_DEPS)
+
+clean: $(CLEAN_DEPS)
+
+clobber: $(CLOBBER_DEPS)
+
+install: $(INSTALL_DEPS)
+
+include $(UTSBASE)/sparc/Makefile.targ
diff --git a/usr/src/uts/sparc/ksocket/Makefile b/usr/src/uts/sparc/ksocket/Makefile
index 287a7cfda6..7f47a3ba45 100644
--- a/usr/src/uts/sparc/ksocket/Makefile
+++ b/usr/src/uts/sparc/ksocket/Makefile
@@ -36,7 +36,6 @@ UTSBASE = ../..
#
MODULE = ksocket
OBJECTS = $(KSOCKET_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KSOCKET_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -48,14 +47,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nfs/sockfs
+LDFLAGS += -Nfs/sockfs
#
# Default build targets.
@@ -70,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/kssl/Makefile b/usr/src/uts/sparc/kssl/Makefile
index 566bbeb13a..93f85f46ee 100644
--- a/usr/src/uts/sparc/kssl/Makefile
+++ b/usr/src/uts/sparc/kssl/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = kssl
OBJECTS = $(KSSL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KSSL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/kssl
@@ -53,26 +52,16 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-LDFLAGS += -dy -Nmisc/md5 -Nmisc/kcf
+LDFLAGS += -Nmisc/md5 -Nmisc/kcf
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
@@ -88,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ksslf/Makefile b/usr/src/uts/sparc/ksslf/Makefile
index a65199e8ec..def63e8420 100644
--- a/usr/src/uts/sparc/ksslf/Makefile
+++ b/usr/src/uts/sparc/ksslf/Makefile
@@ -21,7 +21,7 @@
#
# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
#
-# This makefile drives the production of the kssl socket filter
+# This makefile drives the production of the kssl socket filter
# kernel module.
#
# sparc architecture dependent
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = ksslf
OBJECTS = $(KSSL_SOCKFIL_MOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KSSL_SOCKFIL_MOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SOCK_DIR)/$(MODULE)
#
@@ -49,24 +48,16 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement and OS version
-#
-CFLAGS += $(CCVERBOSE)
-
-LDFLAGS += -dy -Nmisc/md5 -Nmisc/kcf -Ndrv/kssl -Nfs/sockfs
+LDFLAGS += -Nmisc/md5 -Nmisc/kcf -Ndrv/kssl -Nfs/sockfs
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -83,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/kstat/Makefile b/usr/src/uts/sparc/kstat/Makefile
index efe30fdacd..8426fa58aa 100644
--- a/usr/src/uts/sparc/kstat/Makefile
+++ b/usr/src/uts/sparc/kstat/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = kstat
OBJECTS = $(KSTAT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KSTAT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -62,11 +60,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += $(CNOWARN_UNINIT)
@@ -83,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ksyms/Makefile b/usr/src/uts/sparc/ksyms/Makefile
index 34ba77de3f..7eda6dfc1b 100644
--- a/usr/src/uts/sparc/ksyms/Makefile
+++ b/usr/src/uts/sparc/ksyms/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = ksyms
OBJECTS = $(KSYMS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(KSYMS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -56,7 +55,6 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ldterm/Makefile b/usr/src/uts/sparc/ldterm/Makefile
index 82f018cb9c..cdcafc0073 100644
--- a/usr/src/uts/sparc/ldterm/Makefile
+++ b/usr/src/uts/sparc/ldterm/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = ldterm
OBJECTS = $(LDTERM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(LDTERM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,13 +60,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -86,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/llc1/Makefile b/usr/src/uts/sparc/llc1/Makefile
index 5cc83a519b..278d1a5c41 100644
--- a/usr/src/uts/sparc/llc1/Makefile
+++ b/usr/src/uts/sparc/llc1/Makefile
@@ -34,7 +34,6 @@ UTSBASE = ../..
#
MODULE = llc1
OBJECTS = $(LLC1_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(LLC1_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -47,7 +46,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -56,12 +54,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += $(CNOWARN_UNINIT)
@@ -78,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/lockstat/Makefile b/usr/src/uts/sparc/lockstat/Makefile
index bc2c04ff53..1c60ad3f41 100644
--- a/usr/src/uts/sparc/lockstat/Makefile
+++ b/usr/src/uts/sparc/lockstat/Makefile
@@ -23,25 +23,22 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
UTSBASE = ../..
MODULE = lockstat
OBJECTS = $(LOCKSTAT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(LOCKSTAT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/dtrace
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
include $(UTSBASE)/sparc/Makefile.sparc
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndrv/dtrace
+LDFLAGS += -Ndrv/dtrace
.KEEP_STATE:
@@ -53,12 +50,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/lofi/Makefile b/usr/src/uts/sparc/lofi/Makefile
index 6fa0f0b8e0..9b2c5a8f50 100644
--- a/usr/src/uts/sparc/lofi/Makefile
+++ b/usr/src/uts/sparc/lofi/Makefile
@@ -35,7 +35,6 @@ UTSBASE = ../..
#
MODULE = lofi
OBJECTS = $(LOFI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(LOFI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -48,10 +47,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-LDFLAGS += -dy -Nmisc/cmlb
+LDFLAGS += -Nmisc/cmlb
#
# Overrides.
@@ -60,7 +58,7 @@ CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
-INC_PATH += -I$(SRC)/common/lzma
+INC_PATH += -I$(SRC)/common/lzma
#
# Default build targets.
@@ -75,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/lofs/Makefile b/usr/src/uts/sparc/lofs/Makefile
index ec0a876cb1..7be801ec0a 100644
--- a/usr/src/uts/sparc/lofs/Makefile
+++ b/usr/src/uts/sparc/lofs/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = lofs
OBJECTS = $(LOFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(LOFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -56,7 +55,6 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/log/Makefile b/usr/src/uts/sparc/log/Makefile
index f76f3563fd..f821364c09 100644
--- a/usr/src/uts/sparc/log/Makefile
+++ b/usr/src/uts/sparc/log/Makefile
@@ -19,13 +19,12 @@
# CDDL HEADER END
#
#
-# uts/sparc/log/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
-# This makefile drives the production of the log driver
+# This makefile drives the production of the log driver
# kernel module.
#
# sparc implementation architecture dependent
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = log
OBJECTS = $(LOG_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(LOG_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -64,20 +61,9 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DLOG_MODULE
CLEANFILES += $(MODSTUBS_O)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -90,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/logindmux/Makefile b/usr/src/uts/sparc/logindmux/Makefile
index 179e66f20b..fede6266b4 100644
--- a/usr/src/uts/sparc/logindmux/Makefile
+++ b/usr/src/uts/sparc/logindmux/Makefile
@@ -21,7 +21,7 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the logindmux streams kernel
# driver.
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = logindmux
OBJECTS = $(LOGINDMUX_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(LOGINDMUX_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -52,20 +51,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -78,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mac/Makefile b/usr/src/uts/sparc/mac/Makefile
index 227702c1c3..2888578caf 100644
--- a/usr/src/uts/sparc/mac/Makefile
+++ b/usr/src/uts/sparc/mac/Makefile
@@ -23,7 +23,7 @@
# Use is subject to license terms.
#
#
-# This makefile drives the production of the mac driver
+# This makefile drives the production of the mac driver
# kernel module.
#
# sparc architecture dependent
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = mac
OBJECTS = $(MAC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MAC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -59,16 +57,14 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
$(RELEASE_BUILD)CFLAGS += -xinline=auto -xcrossfile
$(RELEASE_BUILD)COPTIMIZE = -xO5
-LDFLAGS += -dy
+INC_PATH += -I$(UTSBASE)/common/io/bpf
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-CERRWARN += -_gcc=-Wno-unused-label
-CERRWARN += $(CNOWARN_UNINIT)
-CERRWARN += -_gcc=-Wno-type-limits
-CERRWARN += -_gcc=-Wno-switch
-CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-unused-label
+CERRWARN += $(CNOWARN_UNINIT)
+CERRWARN += -_gcc=-Wno-type-limits
+CERRWARN += -_gcc=-Wno-switch
+CERRWARN += -_gcc=-Wno-unused-variable
#
# Default build targets.
@@ -83,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mac_6to4/Makefile b/usr/src/uts/sparc/mac_6to4/Makefile
index b9f87dc2f7..95f6858c42 100644
--- a/usr/src/uts/sparc/mac_6to4/Makefile
+++ b/usr/src/uts/sparc/mac_6to4/Makefile
@@ -23,7 +23,7 @@
# Use is subject to license terms.
#
#
-# This makefile drives the production of the mac_6to4 plugin
+# This makefile drives the production of the mac_6to4 plugin
# kernel module.
#
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = mac_6to4
OBJECTS = $(MAC_6TO4_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MAC_6TO4_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE)
#
@@ -49,17 +48,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nmisc/mac -Nmac/mac_ipv4
+LDFLAGS += -Nmisc/mac -Nmac/mac_ipv4
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
#
# Default build targets.
@@ -74,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mac_ether/Makefile b/usr/src/uts/sparc/mac_ether/Makefile
index b0acd20b30..889da099ea 100644
--- a/usr/src/uts/sparc/mac_ether/Makefile
+++ b/usr/src/uts/sparc/mac_ether/Makefile
@@ -22,7 +22,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# This makefile drives the production of the mac_ether MAC-Type plugin
+# This makefile drives the production of the mac_ether MAC-Type plugin
# kernel module.
#
@@ -36,7 +36,6 @@ UTSBASE = ../..
#
MODULE = mac_ether
OBJECTS = $(MAC_ETHER_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MAC_ETHER_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE)
#
@@ -48,14 +47,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -N misc/mac
+LDFLAGS += -N misc/mac
#
# Default build targets.
@@ -70,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mac_ib/Makefile b/usr/src/uts/sparc/mac_ib/Makefile
index 7d4250d54f..84855bf749 100644
--- a/usr/src/uts/sparc/mac_ib/Makefile
+++ b/usr/src/uts/sparc/mac_ib/Makefile
@@ -22,7 +22,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# This makefile drives the production of the mac_ib MAC-Type plugin
+# This makefile drives the production of the mac_ib MAC-Type plugin
# kernel module.
#
@@ -36,7 +36,6 @@ UTSBASE = ../..
#
MODULE = mac_ib
OBJECTS = $(MAC_IB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MAC_IB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE)
#
@@ -48,14 +47,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -N misc/mac
+LDFLAGS += -N misc/mac
#
# Default build targets.
@@ -70,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mac_ipv4/Makefile b/usr/src/uts/sparc/mac_ipv4/Makefile
index f9d0b1f58b..515b66e0a6 100644
--- a/usr/src/uts/sparc/mac_ipv4/Makefile
+++ b/usr/src/uts/sparc/mac_ipv4/Makefile
@@ -23,7 +23,7 @@
# Use is subject to license terms.
#
#
-# This makefile drives the production of the mac_ipv4 plugin
+# This makefile drives the production of the mac_ipv4 plugin
# kernel module.
#
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = mac_ipv4
OBJECTS = $(MAC_IPV4_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MAC_IPV4_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE)
#
@@ -49,17 +48,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nmisc/mac
+LDFLAGS += -Nmisc/mac
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
#
# Default build targets.
@@ -74,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mac_ipv6/Makefile b/usr/src/uts/sparc/mac_ipv6/Makefile
index b726e67c63..2d60b982e9 100644
--- a/usr/src/uts/sparc/mac_ipv6/Makefile
+++ b/usr/src/uts/sparc/mac_ipv6/Makefile
@@ -23,7 +23,7 @@
# Use is subject to license terms.
#
#
-# This makefile drives the production of the mac_ipv6 plugin
+# This makefile drives the production of the mac_ipv6 plugin
# kernel module.
#
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = mac_ipv6
OBJECTS = $(MAC_IPV6_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MAC_IPV6_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE)
#
@@ -49,17 +48,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nmisc/mac -Nmac/mac_ipv4
+LDFLAGS += -Nmisc/mac -Nmac/mac_ipv4
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
#
# Default build targets.
@@ -74,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mac_wifi/Makefile b/usr/src/uts/sparc/mac_wifi/Makefile
index 0120e8404b..02d03549ac 100644
--- a/usr/src/uts/sparc/mac_wifi/Makefile
+++ b/usr/src/uts/sparc/mac_wifi/Makefile
@@ -22,7 +22,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# This makefile drives the production of the mac_wifi plugin
+# This makefile drives the production of the mac_wifi plugin
# kernel module.
#
@@ -36,7 +36,6 @@ UTSBASE = ../..
#
MODULE = mac_wifi
OBJECTS = $(MAC_WIFI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MAC_WIFI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE)
#
@@ -50,14 +49,13 @@ CERRWARN += -_gcc=-Wno-switch
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nmisc/mac
+LDFLAGS += -Nmisc/mac
#
# Default build targets.
@@ -72,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/md4/Makefile b/usr/src/uts/sparc/md4/Makefile
index ab13ec964f..e63be39d88 100644
--- a/usr/src/uts/sparc/md4/Makefile
+++ b/usr/src/uts/sparc/md4/Makefile
@@ -19,12 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/md4/Makefile
-#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the md4 crypto kernel module.
#
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = md4
OBJECTS = $(MD4_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MD4_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
#
@@ -58,23 +55,10 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
#
# Default build targets.
#
@@ -88,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/md5/Makefile b/usr/src/uts/sparc/md5/Makefile
index 64d71ba216..4068ab82ff 100644
--- a/usr/src/uts/sparc/md5/Makefile
+++ b/usr/src/uts/sparc/md5/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = md5
OBJECTS = $(MD5_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MD5_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
ROOTLINK = $(ROOT_MISC_DIR)/$(MODULE)
@@ -57,18 +56,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
# md5 depends on the kcf framework
#
-LDFLAGS += -dy -Nmisc/kcf
+LDFLAGS += -Nmisc/kcf
#
# Default build targets.
@@ -83,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_MISC_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/mii/Makefile b/usr/src/uts/sparc/mii/Makefile
index 3dce507659..b84719320d 100644
--- a/usr/src/uts/sparc/mii/Makefile
+++ b/usr/src/uts/sparc/mii/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = mii
OBJECTS = $(MII_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MII_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -49,10 +48,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-LDFLAGS += -dy -N misc/mac
+LDFLAGS += -N misc/mac
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -70,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ml/fd_asm.s b/usr/src/uts/sparc/ml/fd_asm.s
index 400c97bf74..dd579ddf3b 100644
--- a/usr/src/uts/sparc/ml/fd_asm.s
+++ b/usr/src/uts/sparc/ml/fd_asm.s
@@ -32,18 +32,6 @@
* dreaded "Empty translation unit" warning.
*/
-#if defined(lint)
-#include <sys/types.h>
-
-/*ARGSUSED*/
-u_int
-fd_intr(caddr_t arg)
-{
- return (0);
-}
-
-#else /* lint */
-
#include <sys/asm_linkage.h>
#include <sys/fdreg.h>
#include <sys/fdvar.h>
@@ -356,4 +344,3 @@ fd_intr(caddr_t arg)
nop
-#endif /* lint */
diff --git a/usr/src/uts/sparc/ml/ip_ocsum.s b/usr/src/uts/sparc/ml/ip_ocsum.s
index acccf3e195..f3f31b70fb 100644
--- a/usr/src/uts/sparc/ml/ip_ocsum.s
+++ b/usr/src/uts/sparc/ml/ip_ocsum.s
@@ -28,10 +28,6 @@
#include <sys/asm_linkage.h>
-#if defined(lint)
-#include <sys/types.h>
-#endif /* lint */
-
/*
* ip_ocsum(address, halfword_count, sum)
* Do a 16 bit one's complement sum of a given number of (16-bit)
@@ -43,15 +39,6 @@
*
*/
-#if defined(lint)
-
-/* ARGSUSED */
-unsigned int
-ip_ocsum(u_short *address, int halfword_count, unsigned int sum)
-{ return (0); }
-
-#else /* lint */
-
ENTRY(ip_ocsum)
cmp %o1, 31 ! less than 62 bytes?
bl,a .dohw ! just do halfwords
@@ -124,4 +111,3 @@ ip_ocsum(u_short *address, int halfword_count, unsigned int sum)
addxcc %o2, 0, %o0 ! add in carry if any. result in %o0
SET_SIZE(ip_ocsum)
-#endif /* lint */
diff --git a/usr/src/uts/sparc/ml/modstubs.s b/usr/src/uts/sparc/ml/modstubs.s
index 1cf28e45e7..07de0dffff 100644
--- a/usr/src/uts/sparc/ml/modstubs.s
+++ b/usr/src/uts/sparc/ml/modstubs.s
@@ -25,18 +25,10 @@
* Copyright (c) 2017, Joyent, Inc. All rights reserved.
*/
-#if !defined(lint)
#include "assym.h"
-#endif /* !lint */
#include <sys/asm_linkage.h>
-#if defined(lint)
-
-char stubs_base[1], stubs_end[1];
-
-#else /* lint */
-
/*
* WARNING: there is no check for forgetting to write END_MODULE,
* and if you do, the kernel will most likely crash. Be careful
@@ -1284,4 +1276,3 @@ stubs_base:
stubs_end:
nop
-#endif /* lint */
diff --git a/usr/src/uts/sparc/ml/sparc_ddi.s b/usr/src/uts/sparc/ml/sparc_ddi.s
index 7497459b4a..5f4d1499ff 100644
--- a/usr/src/uts/sparc/ml/sparc_ddi.s
+++ b/usr/src/uts/sparc/ml/sparc_ddi.s
@@ -32,23 +32,12 @@
* These routines should ONLY be ISA-dependent.
*/
-#if defined(lint)
-
-#include <sys/types.h>
-#include <sys/systm.h>
-#include <sys/file.h>
-#include <sys/sunddi.h>
-
-#else /* lint */
-
#include <sys/asm_linkage.h>
#include <sys/clock.h>
#include <sys/intreg.h>
#include "assym.h" /* for FKIOCTL etc. */
-#endif /* lint */
-
/*
* Layered driver routines.
@@ -72,18 +61,6 @@
call routine; \
mov %g1, %o7
-#ifdef lint
-
-int
-ddi_copyin(const void *buf, void *kernbuf, size_t size, int flags)
-{
- if (flags & FKIOCTL)
- return (kcopy(buf, kernbuf, size) ? -1 : 0);
- return (copyin(buf, kernbuf, size));
-}
-
-#else /* lint */
-
ENTRY(ddi_copyin)
set FKIOCTL, %o4
andcc %o3, %o4, %g0
@@ -104,20 +81,6 @@ ddi_copyin(const void *buf, void *kernbuf, size_t size, int flags)
restore
SET_SIZE(ddi_copyin)
-#endif /* lint */
-
-#ifdef lint
-
-int
-ddi_copyout(const void *buf, void *kernbuf, size_t size, int flags)
-{
- if (flags & FKIOCTL)
- return (kcopy(buf, kernbuf, size) ? -1 : 0);
- return (copyout(buf, kernbuf, size));
-}
-
-#else /* lint */
-
ENTRY(ddi_copyout)
set FKIOCTL, %o4
andcc %o3, %o4, %g0
@@ -126,24 +89,11 @@ ddi_copyout(const void *buf, void *kernbuf, size_t size, int flags)
/*NOTREACHED*/
SET_SIZE(ddi_copyout)
-#endif /* lint */
-
/*
* DDI spine wrapper routines - here so as to not have to
* buy register windows when climbing the device tree (which cost!)
*/
-#if defined(lint)
-
-/*ARGSUSED*/
-int
-ddi_ctlops(dev_info_t *d, dev_info_t *r, ddi_ctl_enum_t op, void *a, void *v)
-{
- return (DDI_SUCCESS);
-}
-
-#else /* lint */
-
ENTRY(ddi_ctlops)
tst %o0 ! dip != 0?
be,pn %ncc, 2f ! nope
@@ -162,20 +112,6 @@ ddi_ctlops(dev_info_t *d, dev_info_t *r, ddi_ctl_enum_t op, void *a, void *v)
sub %g0, 1, %o0 ! return (DDI_FAILURE);
SET_SIZE(ddi_ctlops)
-#endif /* lint */
-
-#if defined(lint)
-
-/* ARGSUSED */
-int
-ddi_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr,
- int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep)
-{
- return (DDI_SUCCESS);
-}
-
-#else /* lint */
-
ENTRY(ddi_dma_allochdl)
ldn [%o0 + DEVI_BUS_DMA_ALLOCHDL], %o0
! dip = (dev_info_t *)DEVI(dip)->devi_bus_dma_allochdl;
@@ -187,19 +123,6 @@ ddi_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr,
nop ! as if we had never been here
SET_SIZE(ddi_dma_allochdl)
-#endif /* lint */
-
-#if defined(lint)
-
-/* ARGSUSED */
-int
-ddi_dma_freehdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handlep)
-{
- return (DDI_SUCCESS);
-}
-
-#else /* lint */
-
ENTRY(ddi_dma_freehdl)
ldn [%o0 + DEVI_BUS_DMA_FREEHDL], %o0
! dip = (dev_info_t *)DEVI(dip)->devi_bus_dma_freehdl;
@@ -211,21 +134,6 @@ ddi_dma_freehdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handlep)
nop ! as if we had never been here
SET_SIZE(ddi_dma_freehdl)
-#endif /* lint */
-
-#if defined(lint)
-
-/* ARGSUSED */
-int
-ddi_dma_bindhdl(dev_info_t *dip, dev_info_t *rdip,
- ddi_dma_handle_t handle, struct ddi_dma_req *dmareq,
- ddi_dma_cookie_t *cp, u_int *ccountp)
-{
- return (DDI_SUCCESS);
-}
-
-#else /* lint */
-
ENTRY(ddi_dma_bindhdl)
ldn [%o0 + DEVI_BUS_DMA_BINDHDL], %o0
! dip = (dev_info_t *)DEVI(dip)->devi_bus_dma_bindhdl;
@@ -237,20 +145,6 @@ ddi_dma_bindhdl(dev_info_t *dip, dev_info_t *rdip,
nop ! as if we had never been here
SET_SIZE(ddi_dma_bindhdl)
-#endif /* lint */
-
-#if defined(lint)
-
-/* ARGSUSED */
-int
-ddi_dma_unbindhdl(dev_info_t *dip, dev_info_t *rdip,
- ddi_dma_handle_t handle)
-{
- return (DDI_SUCCESS);
-}
-
-#else /* lint */
-
ENTRY(ddi_dma_unbindhdl)
ldn [%o0 + DEVI_BUS_DMA_UNBINDHDL], %o0
! dip = (dev_info_t *)DEVI(dip)->devi_bus_dma_unbindhdl;
@@ -262,21 +156,6 @@ ddi_dma_unbindhdl(dev_info_t *dip, dev_info_t *rdip,
nop ! as if we had never been here
SET_SIZE(ddi_dma_unbindhdl)
-#endif /* lint */
-
-#if defined(lint)
-
-/* ARGSUSED */
-int
-ddi_dma_flush(dev_info_t *dip, dev_info_t *rdip,
- ddi_dma_handle_t handle, off_t off, size_t len,
- u_int cache_flags)
-{
- return (DDI_SUCCESS);
-}
-
-#else /* lint */
-
ENTRY(ddi_dma_flush)
ldn [%o0 + DEVI_BUS_DMA_FLUSH], %o0
! dip = (dev_info_t *)DEVI(dip)->devi_bus_dma_flush;
@@ -288,21 +167,6 @@ ddi_dma_flush(dev_info_t *dip, dev_info_t *rdip,
nop ! as if we had never been here
SET_SIZE(ddi_dma_flush)
-#endif /* lint */
-
-#if defined(lint)
-
-/* ARGSUSED */
-int
-ddi_dma_win(dev_info_t *dip, dev_info_t *rdip,
- ddi_dma_handle_t handle, uint_t win, off_t *offp,
- size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp)
-{
- return (DDI_SUCCESS);
-}
-
-#else /* lint */
-
ENTRY(ddi_dma_win)
ldn [%o0 + DEVI_BUS_DMA_WIN], %o0
! dip = (dev_info_t *)DEVI(dip)->devi_bus_dma_win;
@@ -314,19 +178,6 @@ ddi_dma_win(dev_info_t *dip, dev_info_t *rdip,
nop ! as if we had never been here
SET_SIZE(ddi_dma_win)
-#endif /* lint */
-
-#if defined(lint)
-
-/* ARGSUSED */
-int
-ddi_dma_sync(ddi_dma_handle_t h, off_t o, size_t l, u_int whom)
-{
- return (DDI_SUCCESS);
-}
-
-#else /* lint */
-
ENTRY(ddi_dma_sync)
ld [%o0 + DMA_HANDLE_RFLAGS], %o4 ! hp->dmai_rflags;
sethi %hi(DMP_NOSYNC), %o5
@@ -351,19 +202,6 @@ ddi_dma_sync(ddi_dma_handle_t h, off_t o, size_t l, u_int whom)
nop ! as if we had never been here
SET_SIZE(ddi_dma_sync)
-#endif /* lint */
-
-#if defined(lint)
-
-/* ARGSUSED */
-int
-ddi_dma_unbind_handle(ddi_dma_handle_t h)
-{
- return (DDI_SUCCESS);
-}
-
-#else /* lint */
-
ENTRY(ddi_dma_unbind_handle)
ldn [%o0 + DMA_HANDLE_RDIP], %o1 ! dip = hp->dmai_rdip;
mov %o0, %o2
@@ -374,21 +212,6 @@ ddi_dma_unbind_handle(ddi_dma_handle_t h)
! hdip = (dev_info_t *)DEVI(dip)->devi_bus_dma_unbindhdl;
SET_SIZE(ddi_dma_unbind_handle)
-#endif /* lint */
-
-
-#if defined(lint)
-
-/*ARGSUSED*/
-int
-ddi_dma_mctl(register dev_info_t *dip, dev_info_t *rdip,
- ddi_dma_handle_t handle, enum ddi_dma_ctlops request,
- off_t *offp, size_t *lenp, caddr_t *objp, u_int flags)
-{
- return (DDI_SUCCESS);
-}
-
-#else /* lint */
ENTRY(ddi_dma_mctl)
ldn [%o0 + DEVI_BUS_DMA_CTL], %o0
@@ -400,4 +223,3 @@ ddi_dma_mctl(register dev_info_t *dip, dev_info_t *rdip,
nop ! as if we had never been here
SET_SIZE(ddi_dma_mctl)
-#endif /* lint */
diff --git a/usr/src/uts/sparc/mm/Makefile b/usr/src/uts/sparc/mm/Makefile
index 9382e2d30e..0ab1e988f4 100644
--- a/usr/src/uts/sparc/mm/Makefile
+++ b/usr/src/uts/sparc/mm/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = mm
OBJECTS = $(MM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,21 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-clobbered
@@ -84,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mntfs/Makefile b/usr/src/uts/sparc/mntfs/Makefile
index 5dec303245..e661fe8f56 100644
--- a/usr/src/uts/sparc/mntfs/Makefile
+++ b/usr/src/uts/sparc/mntfs/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = mntfs
OBJECTS = $(MNTFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MNTFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -65,11 +63,10 @@ CLEANFILES += $(MODSTUBS_O)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += -_gcc=-Wno-parentheses
@@ -86,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mouse8042/Makefile b/usr/src/uts/sparc/mouse8042/Makefile
index be8ec6689c..6d5c2e7477 100644
--- a/usr/src/uts/sparc/mouse8042/Makefile
+++ b/usr/src/uts/sparc/mouse8042/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = mouse8042
OBJECTS = $(MOUSE8042_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MOUSE8042_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -50,17 +49,15 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) # $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-LDFLAGS += -dy -Ndacf/consconfig_dacf
+LDFLAGS += -Ndacf/consconfig_dacf
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
@@ -78,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mpt_sas/Makefile b/usr/src/uts/sparc/mpt_sas/Makefile
index b63d1b04f4..9aabf8bebd 100644
--- a/usr/src/uts/sparc/mpt_sas/Makefile
+++ b/usr/src/uts/sparc/mpt_sas/Makefile
@@ -36,20 +36,18 @@ UTSBASE = ../../../../src/uts
#
MODULE = mpt_sas
OBJECTS = $(MPTSAS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MPTSAS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/mpt_sas
#
# Kernel Module Dependencies
#
-LDFLAGS += -dy -Nmisc/scsi -Ndrv/scsi_vhci -Nmisc/sata
+LDFLAGS += -Nmisc/scsi -Ndrv/scsi_vhci -Nmisc/sata
#
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -58,10 +56,11 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
include $(UTSBASE)/sparc/Makefile.sparc
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-switch
@@ -79,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mr_sas/Makefile b/usr/src/uts/sparc/mr_sas/Makefile
index 3429251238..f126a7204c 100644
--- a/usr/src/uts/sparc/mr_sas/Makefile
+++ b/usr/src/uts/sparc/mr_sas/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = mr_sas
OBJECTS = $(MR_SAS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MR_SAS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/mr_sas
@@ -51,14 +50,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
CFLAGS += $(CCVERBOSE)
-
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -69,12 +68,12 @@ CERRWARN += $(CNOWARN_UNINIT)
CFLAGS += -dalign
#
-# Kernel Module Dependencies
+# Kernel Module Dependencies
#
-LDFLAGS += -dy -Nmisc/scsi
+LDFLAGS += -Nmisc/scsi
#
-# Overrides
+# Overrides
#
#
@@ -90,12 +89,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ms/Makefile b/usr/src/uts/sparc/ms/Makefile
index d06232df74..5c28ee5516 100644
--- a/usr/src/uts/sparc/ms/Makefile
+++ b/usr/src/uts/sparc/ms/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/ms/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the ms streams kernel
# module.
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = ms
OBJECTS = $(MS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -53,21 +51,12 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
+CFLAGS += $(CCVERBOSE)
#
# Default build targets.
@@ -82,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/msgsys/Makefile b/usr/src/uts/sparc/msgsys/Makefile
index a16e294bea..2c8f3bbf26 100644
--- a/usr/src/uts/sparc/msgsys/Makefile
+++ b/usr/src/uts/sparc/msgsys/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = msgsys
OBJECTS = $(IPCMSG_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IPCMSG_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
#
@@ -51,21 +50,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nmisc/ipc
+LDFLAGS += -Nmisc/ipc
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -83,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/mxfe/Makefile b/usr/src/uts/sparc/mxfe/Makefile
index 17c7174a5c..b85d56d629 100644
--- a/usr/src/uts/sparc/mxfe/Makefile
+++ b/usr/src/uts/sparc/mxfe/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = mxfe
OBJECTS = $(MXFE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MXFE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,7 +60,7 @@ CERRWARN += -_gcc=-Wno-switch
#
# Driver depends on GLDv3
#
-LDFLAGS += -dy -N misc/mac
+LDFLAGS += -N misc/mac
#
# Default build targets.
@@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/myri10ge/Makefile b/usr/src/uts/sparc/myri10ge/Makefile
index 333e5c4bab..cad195272b 100644
--- a/usr/src/uts/sparc/myri10ge/Makefile
+++ b/usr/src/uts/sparc/myri10ge/Makefile
@@ -35,7 +35,6 @@ MODULE = myri10ge
OBJECTS += $(MYRI10GE_OBJS:%=$(OBJS_DIR)/%)
-LINTS += $(MYRI10GE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
@@ -48,13 +47,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides
#
-LINTTAGS += -DSOLARIS_S11 -erroff=E_STATIC_UNUSED
#COPTIMIZE = -xO4
@@ -65,7 +62,7 @@ CFLAGS += -dalign -DSOLARIS_S11
#
# Driver depends on MAC
#
-LDFLAGS += -dy -N misc/mac -N drv/ip
+LDFLAGS += -N misc/mac -N drv/ip
#
# Default build targets.
@@ -80,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/namefs/Makefile b/usr/src/uts/sparc/namefs/Makefile
index 5a00eac980..b21a1c42c1 100644
--- a/usr/src/uts/sparc/namefs/Makefile
+++ b/usr/src/uts/sparc/namefs/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = namefs
OBJECTS = $(NAMEFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(NAMEFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -56,7 +55,6 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -80,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/nca/Makefile b/usr/src/uts/sparc/nca/Makefile
index fd7a3102b3..e44ddf4c8d 100644
--- a/usr/src/uts/sparc/nca/Makefile
+++ b/usr/src/uts/sparc/nca/Makefile
@@ -19,14 +19,12 @@
# CDDL HEADER END
#
#
-# uts/sparc/nca/Makefile
-#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
+
#
-# This makefile drives the production of the nca driver
+# This makefile drives the production of the nca driver
# kernel module.
#
# sparc architecture dependent
@@ -42,7 +40,6 @@ UTSBASE = ../..
#
MODULE = nca
OBJECTS = $(NCA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(NCA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/nca
@@ -56,22 +53,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement and OS version
-#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nfs/sockfs -Ndrv/ip
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+LDFLAGS += -Nfs/sockfs -Ndrv/ip
#
# Default build targets.
@@ -86,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/net_dacf/Makefile b/usr/src/uts/sparc/net_dacf/Makefile
index 5dfe832d72..bfe7c64868 100644
--- a/usr/src/uts/sparc/net_dacf/Makefile
+++ b/usr/src/uts/sparc/net_dacf/Makefile
@@ -19,12 +19,9 @@
# CDDL HEADER END
#
#
-# uts/sparc/net_dacf/Makefile
-#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
@@ -36,7 +33,6 @@ UTSBASE = ../..
#
MODULE = net_dacf
OBJECTS = $(NET_DACF_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(NET_DACF_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DACF_DIR)/$(MODULE)
#
@@ -44,17 +40,13 @@ ROOTMODULE = $(ROOT_DACF_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndrv/softmac
+LDFLAGS += -Ndrv/softmac
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -67,12 +59,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/neti/Makefile b/usr/src/uts/sparc/neti/Makefile
index 2520b77173..3b9a9c6e45 100644
--- a/usr/src/uts/sparc/neti/Makefile
+++ b/usr/src/uts/sparc/neti/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = neti
OBJECTS = $(NETI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(NETI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -51,15 +50,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nmisc/hook
+LDFLAGS += -Nmisc/hook
#
# Default build targets.
@@ -74,12 +69,6 @@ clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS) $(SISCHECK_DEPS)
#
diff --git a/usr/src/uts/sparc/nfs/Makefile b/usr/src/uts/sparc/nfs/Makefile
index 4e85d846a5..ca15c11c1b 100644
--- a/usr/src/uts/sparc/nfs/Makefile
+++ b/usr/src/uts/sparc/nfs/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = nfs
OBJECTS = $(NFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(NFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
ROOTLINK = $(ROOT_SYS_DIR)/$(MODULE)
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
#
@@ -68,19 +66,13 @@ CFLAGS += $(CCVERBOSE)
#
# Define dependencies on specfs, rpcmod, and rpcsec
#
-LDFLAGS += -dy -N fs/specfs -N strmod/rpcmod -N misc/rpcsec
+LDFLAGS += -N fs/specfs -N strmod/rpcmod -N misc/rpcsec
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
@@ -104,12 +96,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_SYS_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/nfs_dlboot/Makefile b/usr/src/uts/sparc/nfs_dlboot/Makefile
index 27e68a8180..a9e99e14ca 100644
--- a/usr/src/uts/sparc/nfs_dlboot/Makefile
+++ b/usr/src/uts/sparc/nfs_dlboot/Makefile
@@ -43,7 +43,6 @@ COM_DIR = $(SRC)/common/net/dhcp
#
MODULE = nfs_dlboot
OBJECTS = $(DLBOOT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DLBOOT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -55,23 +54,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
-LINTFLAGS += -I$(COM_DIR)
-LDFLAGS += -dy -Nmisc/strplumb -Nstrmod/rpcmod
+LDFLAGS += -Nmisc/strplumb -Nstrmod/rpcmod
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += -_gcc=-Wno-parentheses
@@ -88,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/nfssrv/Makefile b/usr/src/uts/sparc/nfssrv/Makefile
index b0dfc398d2..a3682a2e4e 100644
--- a/usr/src/uts/sparc/nfssrv/Makefile
+++ b/usr/src/uts/sparc/nfssrv/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = nfssrv
OBJECTS = $(NFSSRV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(NFSSRV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -53,26 +52,20 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nstrmod/rpcmod -Nfs/nfs -Nmisc/rpcsec
+LDFLAGS += -Nstrmod/rpcmod -Nfs/nfs -Nmisc/rpcsec
LDFLAGS += -Nmisc/klmmod
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-type-limits
@@ -95,12 +88,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/nsmb/Makefile b/usr/src/uts/sparc/nsmb/Makefile
index 7100a34dd9..952f65cb9f 100644
--- a/usr/src/uts/sparc/nsmb/Makefile
+++ b/usr/src/uts/sparc/nsmb/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = nsmb
OBJECTS = $(NSMB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(NSMB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/fs/smbclnt/netsmb
OFFSETS_SRC = $(CONF_SRCDIR)/offsets.in
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(ALL_TARGET_$(OBJS_DIR))
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(INSTALL_TARGET_$(OBJS_DIR))
#
@@ -87,17 +85,15 @@ INSTALL_TARGET_obj64 = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DNSMB_MODULE
CLEANFILES += $(MODSTUBS_O) $(IOC_CHECK_H)
-CERRWARN += -erroff=E_STATEMENT_NOT_REACHED
INC_PATH += -I$(UTSBASE)/common/fs/smbclnt
-LDFLAGS += -dy -Ncrypto/md4 -Ncrypto/md5 -Nmisc/tlimod
-
-# Until CR 4994570 is fixed...
-LINTTAGS += -erroff=E_BAD_FORMAT_ARG_TYPE2
+LDFLAGS += -Ncrypto/md4 -Ncrypto/md5 -Nmisc/tlimod
-# The mb_put/md_get functions are intentionally used with and without
-# return value checks, so filter those out like LGREP.2 does.
-LGREP.nsmb = egrep -v ' ignored: (mb_init|mb_put|md_get)'
-LTAIL += 2>&1 | $(LGREP.2) | $(LGREP.nsmb) || true
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CERRWARN += -erroff=E_STATEMENT_NOT_REACHED
#
# Default build targets.
@@ -112,12 +108,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/nulldriver/Makefile b/usr/src/uts/sparc/nulldriver/Makefile
index e49222c0a7..2331a1be3d 100644
--- a/usr/src/uts/sparc/nulldriver/Makefile
+++ b/usr/src/uts/sparc/nulldriver/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = nulldriver
OBJECTS = $(NULLDRIVER_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(NULLDRIVER_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -60,11 +58,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
INC_PATH += -I$(ROOT)/usr/include
#
-# Overrides
-#
-LDFLAGS += -dy
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -77,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/objfs/Makefile b/usr/src/uts/sparc/objfs/Makefile
index 9a0845e331..ef6dd87226 100644
--- a/usr/src/uts/sparc/objfs/Makefile
+++ b/usr/src/uts/sparc/objfs/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = objfs
OBJECTS = $(OBJFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(OBJFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,12 +59,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_STATIC_UNUSED
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-function
@@ -85,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/oce/Makefile b/usr/src/uts/sparc/oce/Makefile
index 375aba9280..15c53f1a3a 100644
--- a/usr/src/uts/sparc/oce/Makefile
+++ b/usr/src/uts/sparc/oce/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../../
#
MODULE = oce
OBJECTS = $(OCE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(OCE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -46,7 +45,6 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -54,7 +52,7 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
INC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/fca/oce
-LDFLAGS += -dy -Nmisc/mac
+LDFLAGS += -Nmisc/mac
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-unused-label
@@ -74,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ohci/Makefile b/usr/src/uts/sparc/ohci/Makefile
index 3c0ee37ec4..a29ad0c59d 100644
--- a/usr/src/uts/sparc/ohci/Makefile
+++ b/usr/src/uts/sparc/ohci/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = ohci
OBJECTS = $(OHCI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(OHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/openhci
@@ -50,30 +49,23 @@ CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/openhci
include $(UTSBASE)/sparc/Makefile.sparc
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# depends on misc/usba
#
-LDFLAGS += -dy -Nmisc/usba
+LDFLAGS += -Nmisc/usba
#
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-CERRWARN += $(CNOWARN_UNINIT)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+CFLAGS += $(CCVERBOSE)
+CERRWARN += $(CNOWARN_UNINIT)
.KEEP_STATE:
@@ -85,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/openeepr/Makefile b/usr/src/uts/sparc/openeepr/Makefile
index b536c6c58c..3637a8906d 100644
--- a/usr/src/uts/sparc/openeepr/Makefile
+++ b/usr/src/uts/sparc/openeepr/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = openeepr
OBJECTS = $(OPENEEPR_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(OPENEEPR_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,23 +52,20 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndacf/consconfig_dacf
+LDFLAGS += -Ndacf/consconfig_dacf
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
#
# Default build targets.
@@ -84,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/options/Makefile b/usr/src/uts/sparc/options/Makefile
index 2df03f78bf..b688548af7 100644
--- a/usr/src/uts/sparc/options/Makefile
+++ b/usr/src/uts/sparc/options/Makefile
@@ -24,7 +24,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the options driver kernel module.
#
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = options
OBJECTS = $(OPTIONS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(OPTIONS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -75,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/os/cpr_sparc.c b/usr/src/uts/sparc/os/cpr_sparc.c
index 3dd44bb9e6..2b409b952a 100644
--- a/usr/src/uts/sparc/os/cpr_sparc.c
+++ b/usr/src/uts/sparc/os/cpr_sparc.c
@@ -23,8 +23,6 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* cpr functions for supported sparc platforms
*/
@@ -363,8 +361,8 @@ cpr_abbreviate_devpath(char *in_path, char *out_path)
*out_path = '\0';
while ((cmpt = cpr_next_component(&position)) != NULL) {
- pnode_t long_match = NULL;
- pnode_t short_match = NULL;
+ pnode_t long_match = 0;
+ pnode_t short_match = 0;
int short_hits = 0;
char *name;
char *prefix = cpr_get_prefix(cmpt);
diff --git a/usr/src/uts/sparc/os/name_to_sysnum b/usr/src/uts/sparc/os/name_to_sysnum
index 2db2e10d3a..9455163907 100644
--- a/usr/src/uts/sparc/os/name_to_sysnum
+++ b/usr/src/uts/sparc/os/name_to_sysnum
@@ -116,6 +116,7 @@ readv 121
writev 122
preadv 123
pwritev 124
+upanic 125
getrandom 126
mmapobj 127
setrlimit 128
diff --git a/usr/src/uts/sparc/os/syscall.c b/usr/src/uts/sparc/os/syscall.c
index 33abac27c4..07928e668c 100644
--- a/usr/src/uts/sparc/os/syscall.c
+++ b/usr/src/uts/sparc/os/syscall.c
@@ -417,7 +417,7 @@ pre_syscall(int arg0)
}
/*
- * From the proc(4) manual page:
+ * From the proc(5) manual page:
* When entry to a system call is being traced, the traced process
* stops after having begun the call to the system but before the
* system call arguments have been fetched from the process.
@@ -653,7 +653,7 @@ post_syscall(long rval1, long rval2)
}
/*
- * From the proc(4) manual page:
+ * From the proc(5) manual page:
* When exit from a system call is being traced, the traced process
* stops on completion of the system call just prior to checking for
* signals and returning to user level. At this point all return
diff --git a/usr/src/uts/sparc/pcfs/Makefile b/usr/src/uts/sparc/pcfs/Makefile
index 59c53e2458..007789bcae 100644
--- a/usr/src/uts/sparc/pcfs/Makefile
+++ b/usr/src/uts/sparc/pcfs/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = pcfs
OBJECTS = $(PCFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PCFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_FS_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -68,16 +66,10 @@ CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-unused-function
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
#
# Default build targets.
@@ -92,12 +84,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pci_pci/Makefile b/usr/src/uts/sparc/pci_pci/Makefile
index b9fd029289..416be5be6c 100644
--- a/usr/src/uts/sparc/pci_pci/Makefile
+++ b/usr/src/uts/sparc/pci_pci/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = pci_pci
OBJECTS = $(PCI_PCI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PCI_PCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,12 +48,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-# Turn this on once compiler understands v9 in it's backend
-#INLINES += $(UTSBASE)/sun4u/io/pci.il
-
#
# Include sun4u and sun4 specific headers files
#
@@ -62,22 +57,16 @@ INC_PATH += -I$(UTSBASE)/sun4u
INC_PATH += -I$(UTSBASE)/sun4
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Turn on doubleword alignment for 64 bit registers
#
CFLAGS += -dalign
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-value
@@ -85,7 +74,7 @@ CERRWARN += -_gcc=-Wno-unused-value
#
# Dependency
#
-LDFLAGS += -dy -Nmisc/pcie -Nmisc/pcihp
+LDFLAGS += -Nmisc/pcie -Nmisc/pcihp
#
# Default build targets.
@@ -100,12 +89,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pcic/Makefile b/usr/src/uts/sparc/pcic/Makefile
index 93e2eb1198..cb95134fd9 100644
--- a/usr/src/uts/sparc/pcic/Makefile
+++ b/usr/src/uts/sparc/pcic/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = pcic
OBJECTS = $(PCIC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PCIC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -66,31 +64,23 @@ INC_PATH += -I$(UTSBASE)/sun4u
#
DEF_BUILDS = $(DEF_BUILDS64)
ALL_BUILDS = $(ALL_BUILDS64)
-CLEANLINTFILES += $(LINT64_FILES)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
CPPFLAGS += -DCARDBUS -DHOTPLUG
# dependency
-LDFLAGS += -dy -Nmisc/busra -Nmisc/pcmcia -Nmisc/cardbus
+LDFLAGS += -Nmisc/busra -Nmisc/pcmcia -Nmisc/cardbus
-CERRWARN += -_gcc=-Wno-parentheses
-CERRWARN += -_gcc=-Wno-unused-variable
-CERRWARN += -_gcc=-Wno-unused-function
-CERRWARN += $(CNOWARN_UNINIT)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
+CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-unused-function
+CERRWARN += $(CNOWARN_UNINIT)
#
# Default build targets.
@@ -105,12 +95,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
# Include common targets.
diff --git a/usr/src/uts/sparc/pcicfg/Makefile b/usr/src/uts/sparc/pcicfg/Makefile
index b403c87670..c68242cf36 100644
--- a/usr/src/uts/sparc/pcicfg/Makefile
+++ b/usr/src/uts/sparc/pcicfg/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = pcicfg
OBJECTS = $(PCICFG_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PCICFG_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -59,15 +57,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
INC_PATH += -I$(UTSBASE)/sun4
-
-# Turn this on once compiler understands v9 in it's backend
-#INLINES += $(UTSBASE)/sun4u/io/pcicfg.il
-
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
# Turn on doubleword alignment for 64 bit registers
#
@@ -75,17 +64,14 @@ CFLAGS += -dalign -DPCICFG_INTERPRET_FCODE
#
# Dependency
-LDFLAGS += -dy -Nmisc/busra -Nmisc/fcpci -Nmisc/fcodem -Nmisc/pcie
+LDFLAGS += -Nmisc/busra -Nmisc/fcpci -Nmisc/fcodem -Nmisc/pcie
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-unused-value
CERRWARN += -_gcc=-Wno-unused-variable
@@ -104,12 +90,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pcieb/Makefile b/usr/src/uts/sparc/pcieb/Makefile
index 9e2785998d..f302ae10b9 100644
--- a/usr/src/uts/sparc/pcieb/Makefile
+++ b/usr/src/uts/sparc/pcieb/Makefile
@@ -37,9 +37,8 @@ UTSBASE = ../..
#
# Define the module and object file sets.
#
-MODULE = pcieb
+MODULE = pcieb
OBJECTS = $(PCIEB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PCIEB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/pciex/
@@ -52,38 +51,29 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Turn on doubleword alignment for 64 bit registers
#
CFLAGS += -dalign
#
-# Enable PLX workaround code and lint duplicate symbol
-# avoidance hack
+# Enable PLX workaround code
#
CPPFLAGS += -DPX_PLX
#
# Dependency
#
-LDFLAGS += -dy -Nmisc/pcie
+LDFLAGS += -Nmisc/pcie
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-value
CERRWARN += -_gcc=-Wno-unused-variable
@@ -100,12 +90,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pcieb_bcm/Makefile b/usr/src/uts/sparc/pcieb_bcm/Makefile
index f1e7efe3a6..41985529fe 100644
--- a/usr/src/uts/sparc/pcieb_bcm/Makefile
+++ b/usr/src/uts/sparc/pcieb_bcm/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = pcieb_bcm
OBJECTS = $(PCIEB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PCIEB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -52,39 +51,29 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Turn on doubleword alignment for 64 bit registers
#
CFLAGS += -dalign
#
-# Enable Broadcom 5714/5715 workaround code and lint duplicate symbol
-# avoidance hack
+# Enable Broadcom 5714/5715 workaround code
#
CPPFLAGS += -DPCIEB_BCM -DPX_MOD_NAME=pcieb_bcm
#
# Dependency
#
-LDFLAGS += -dy -Nmisc/pcie
+LDFLAGS += -Nmisc/pcie
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-value
CERRWARN += -_gcc=-Wno-type-limits
@@ -102,12 +91,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pcihp/Makefile b/usr/src/uts/sparc/pcihp/Makefile
index 2ab823fe58..131ce705ed 100644
--- a/usr/src/uts/sparc/pcihp/Makefile
+++ b/usr/src/uts/sparc/pcihp/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = pcihp
OBJECTS = $(PCIHPNEXUS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PCIHPNEXUS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -51,12 +50,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -68,15 +63,7 @@ CLEANFILES += $(MODSTUBS_O)
#
# Dependency
-LDFLAGS += -dy -Nmisc/busra -Nmisc/hpcsvc -Nmisc/pcicfg
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
+LDFLAGS += -Nmisc/busra -Nmisc/hpcsvc -Nmisc/pcicfg
#
# Default build targets.
@@ -91,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pckt/Makefile b/usr/src/uts/sparc/pckt/Makefile
index 707f3571bb..6a8108a3c0 100644
--- a/usr/src/uts/sparc/pckt/Makefile
+++ b/usr/src/uts/sparc/pckt/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = pckt
OBJECTS = $(PCKT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PCKT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,12 +60,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += -_gcc=-Wno-parentheses
@@ -84,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pcmcia/Makefile b/usr/src/uts/sparc/pcmcia/Makefile
index e8d67d5fdb..a3a7ea3a6f 100644
--- a/usr/src/uts/sparc/pcmcia/Makefile
+++ b/usr/src/uts/sparc/pcmcia/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = pcmcia
OBJECTS = $(PCMCIA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PCMCIA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -60,29 +58,21 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DPCMCIA_MODULE
CLEANFILES += $(MODSTUBS_O)
-CLEANLINTFILES += $(LINT64_FILES)
#
# Include sun4 specific header files
#
INC_PATH += -I$(UTSBASE)/sun4
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
# dependency
-LDFLAGS += -dy -Nmisc/busra
+LDFLAGS += -Nmisc/busra
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
@@ -99,12 +89,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pcs/Makefile b/usr/src/uts/sparc/pcs/Makefile
index dd59e130c9..b46bc8de9f 100644
--- a/usr/src/uts/sparc/pcs/Makefile
+++ b/usr/src/uts/sparc/pcs/Makefile
@@ -20,11 +20,9 @@
# CDDL HEADER END
#
#
-# uts/sparc/pcs/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
#
# This makefile drives the production of the DoRight driver kernel module.
#
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = pcs
OBJECTS = $(PCS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PCS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -53,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,11 +57,7 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
DEF_BUILDS = $(DEF_BUILDS64)
ALL_BUILDS = $(ALL_BUILDS64)
-CLEANLINTFILES += $(LINT64_FILES)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -81,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
# Include common targets.
diff --git a/usr/src/uts/sparc/pfmod/Makefile b/usr/src/uts/sparc/pfmod/Makefile
index 519aae73ee..02dea98af2 100644
--- a/usr/src/uts/sparc/pfmod/Makefile
+++ b/usr/src/uts/sparc/pfmod/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/pfmod/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of streams packet filter module.
#
@@ -40,7 +39,6 @@ UTSBASE = ../..
#
MODULE = pfmod
OBJECTS = $(PFMOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PFMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -52,23 +50,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -81,12 +67,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/physmem/Makefile b/usr/src/uts/sparc/physmem/Makefile
index adeb15139b..5b5e889dc2 100644
--- a/usr/src/uts/sparc/physmem/Makefile
+++ b/usr/src/uts/sparc/physmem/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/physmem/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the mm driver
#
@@ -40,7 +39,6 @@ UTSBASE = ../..
#
MODULE = physmem
OBJECTS = $(PHYSMEM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PHYSMEM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,12 +51,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -74,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pipe/Makefile b/usr/src/uts/sparc/pipe/Makefile
index ab513f2ba4..81f3fd6238 100644
--- a/usr/src/uts/sparc/pipe/Makefile
+++ b/usr/src/uts/sparc/pipe/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = pipe
OBJECTS = $(PIPE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PIPE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
#
@@ -54,7 +53,6 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -64,15 +62,12 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DPIPE_MODULE
CLEANFILES += $(MODSTUBS_O)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
+CFLAGS += $(CCVERBOSE)
#
# Define dependency on fifofs
#
-LDFLAGS += -dy -N fs/fifofs
+LDFLAGS += -N fs/fifofs
#
# Default build targets.
@@ -87,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pipemod/Makefile b/usr/src/uts/sparc/pipemod/Makefile
index e236cd9563..41ceff403e 100644
--- a/usr/src/uts/sparc/pipemod/Makefile
+++ b/usr/src/uts/sparc/pipemod/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/pipemod/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the pipemod streams kernel
# module.
@@ -42,7 +41,6 @@ UTSBASE = ../..
#
MODULE = pipemod
OBJECTS = $(PIPEMOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PIPEMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -75,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pm/Makefile b/usr/src/uts/sparc/pm/Makefile
index ce992428df..5e26fe0645 100644
--- a/usr/src/uts/sparc/pm/Makefile
+++ b/usr/src/uts/sparc/pm/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = pm
OBJECTS = $(PM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -63,12 +61,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -86,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pmcs/Makefile b/usr/src/uts/sparc/pmcs/Makefile
index 6689465afd..9138c3c5dc 100644
--- a/usr/src/uts/sparc/pmcs/Makefile
+++ b/usr/src/uts/sparc/pmcs/Makefile
@@ -36,20 +36,18 @@ UTSBASE = ../../../../src/uts
#
MODULE = pmcs
OBJECTS = $(PMCS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PMCS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/pmcs
#
# Kernel Module Dependencies
#
-LDFLAGS += -dy -Nmisc/scsi
+LDFLAGS += -Nmisc/scsi
#
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -86,12 +84,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pmcs8001fw/Makefile b/usr/src/uts/sparc/pmcs8001fw/Makefile
index 58eb229918..f53a3efd4f 100644
--- a/usr/src/uts/sparc/pmcs8001fw/Makefile
+++ b/usr/src/uts/sparc/pmcs8001fw/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../../../../src/uts
#
MODULE = pmcs8001fw
OBJECTS = $(PMCS8001FW_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PMCS8001FW_C_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_PMCS_FW_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/pmcs
@@ -53,13 +52,6 @@ include $(CONF_SRCDIR)/pmcs8001fw.version
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-LINT_TARGET = $(MODULE).lint
-
-LDFLAGS += -dy
-
-#
-# Lint tags
-#
#
# Extra flags
@@ -81,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/poll/Makefile b/usr/src/uts/sparc/poll/Makefile
index af97f9371f..7cd01a7d1f 100644
--- a/usr/src/uts/sparc/poll/Makefile
+++ b/usr/src/uts/sparc/poll/Makefile
@@ -34,7 +34,6 @@ UTSBASE = ../..
#
MODULE = poll
OBJECTS = $(DEVPOLL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DEVPOLL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -47,21 +46,17 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
-# See uts/intel/poll/Makefile for why this is necessary.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -74,12 +69,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pool/Makefile b/usr/src/uts/sparc/pool/Makefile
index 67fa67d965..fdb44c2588 100644
--- a/usr/src/uts/sparc/pool/Makefile
+++ b/usr/src/uts/sparc/pool/Makefile
@@ -19,12 +19,9 @@
# CDDL HEADER END
#
#
-# uts/sparc/pool/Makefile
-#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
@@ -36,7 +33,6 @@ UTSBASE = ../..
#
MODULE = pool
OBJECTS = $(DEVPOOL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(DEVPOOL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -49,22 +45,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -77,12 +62,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/portfs/Makefile b/usr/src/uts/sparc/portfs/Makefile
index faad9243ee..683785c905 100644
--- a/usr/src/uts/sparc/portfs/Makefile
+++ b/usr/src/uts/sparc/portfs/Makefile
@@ -42,7 +42,6 @@ PORTFS_OBJS += port.o port_vnops.o port_fd.o port_fop.o
#
MODULE = portfs
OBJECTS = $(PORTFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PORTFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
#
@@ -55,24 +54,21 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
MODSTUBS_DIR = $(OBJS_DIR)
-$(MODSTUBS_O) := AS_CPPFLAGS +=
CLEANFILES += $(MODSTUBS_O)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
@@ -90,12 +86,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pppt/Makefile b/usr/src/uts/sparc/pppt/Makefile
index d4d4dcbdbf..5271693552 100644
--- a/usr/src/uts/sparc/pppt/Makefile
+++ b/usr/src/uts/sparc/pppt/Makefile
@@ -21,7 +21,7 @@
#
# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# This makefile drives the production of the pppt pseudo-driver for
+# This makefile drives the production of the pppt pseudo-driver for
# COMSTAR.
#
@@ -38,7 +38,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = pppt
OBJECTS = $(PPPT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PPPT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/comstar/port/pppt
@@ -51,16 +50,13 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Overrides and depends_on
#
MODSTUBS_DIR = $(OBJS_DIR)
-LDFLAGS += -dy -Ndrv/stmf
-
-C99LMODE= -Xc99=%all
+LDFLAGS += -Ndrv/stmf
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -78,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/procfs/Makefile b/usr/src/uts/sparc/procfs/Makefile
index 3226238bd4..f908249b3c 100644
--- a/usr/src/uts/sparc/procfs/Makefile
+++ b/usr/src/uts/sparc/procfs/Makefile
@@ -67,7 +67,7 @@ CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
-LDFLAGS += -dy -Nfs/namefs
+LDFLAGS += -Nfs/namefs
#
# Default build targets.
diff --git a/usr/src/uts/sparc/profile/Makefile b/usr/src/uts/sparc/profile/Makefile
index d9e7475786..041e96289a 100644
--- a/usr/src/uts/sparc/profile/Makefile
+++ b/usr/src/uts/sparc/profile/Makefile
@@ -23,13 +23,11 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
UTSBASE = ../..
MODULE = profile
OBJECTS = $(PROFILE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PROFILE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/dtrace
@@ -37,11 +35,10 @@ CONF_SRCDIR = $(UTSBASE)/common/dtrace
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndrv/dtrace
+LDFLAGS += -Ndrv/dtrace
.KEEP_STATE:
@@ -53,12 +50,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/pset/Makefile b/usr/src/uts/sparc/pset/Makefile
index be14b6f094..7986029140 100644
--- a/usr/src/uts/sparc/pset/Makefile
+++ b/usr/src/uts/sparc/pset/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/pset/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the pset system call module.
#
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = pset
OBJECTS = $(PSET_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PSET_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
#
@@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,9 +60,6 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DPSET_MODULE
CLEANFILES += $(MODSTUBS_O)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -81,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pseudo/Makefile b/usr/src/uts/sparc/pseudo/Makefile
index 5b6ecb8fd6..0d4a6e187c 100644
--- a/usr/src/uts/sparc/pseudo/Makefile
+++ b/usr/src/uts/sparc/pseudo/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/pseudo/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the pseudo driver
#
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = pseudo
OBJECTS = $(PSEUDO_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PSEUDO_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -75,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pshot/Makefile b/usr/src/uts/sparc/pshot/Makefile
index e0fc89d2d8..eca9ca31dc 100644
--- a/usr/src/uts/sparc/pshot/Makefile
+++ b/usr/src/uts/sparc/pshot/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = pshot
OBJECTS = $(PSHOT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PSHOT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -54,21 +53,14 @@ CFLAGS += $(CCVERBOSE)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-variable
@@ -85,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ptc/Makefile b/usr/src/uts/sparc/ptc/Makefile
index c26fc502cf..b0f04a8f6d 100644
--- a/usr/src/uts/sparc/ptc/Makefile
+++ b/usr/src/uts/sparc/ptc/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/ptc/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the ptc driver
#
@@ -40,7 +39,6 @@ UTSBASE = ../..
#
MODULE = ptc
OBJECTS = $(PTC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PTC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,23 +51,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -82,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ptem/Makefile b/usr/src/uts/sparc/ptem/Makefile
index 0031ebe676..267d22277f 100644
--- a/usr/src/uts/sparc/ptem/Makefile
+++ b/usr/src/uts/sparc/ptem/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = ptem
OBJECTS = $(PTEM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PTEM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,12 +60,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -85,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ptm/Makefile b/usr/src/uts/sparc/ptm/Makefile
index 6ecbacacca..877327ab44 100644
--- a/usr/src/uts/sparc/ptm/Makefile
+++ b/usr/src/uts/sparc/ptm/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/ptm/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the ptm driver
#
@@ -40,7 +39,6 @@ UTSBASE = ../..
#
MODULE = ptm
OBJECTS = $(PTM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PTM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -62,13 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -81,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/pts/Makefile b/usr/src/uts/sparc/pts/Makefile
index 725ceec33c..5a148c0249 100644
--- a/usr/src/uts/sparc/pts/Makefile
+++ b/usr/src/uts/sparc/pts/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/pts/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the pts driver
#
@@ -40,7 +39,6 @@ UTSBASE = ../..
#
MODULE = pts
OBJECTS = $(PTS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PTS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -62,13 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -81,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ptsl/Makefile b/usr/src/uts/sparc/ptsl/Makefile
index e1587285d7..3fe783c5ac 100644
--- a/usr/src/uts/sparc/ptsl/Makefile
+++ b/usr/src/uts/sparc/ptsl/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = ptsl
OBJECTS = $(PTSL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PTSL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -52,28 +51,20 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Define dependency on ptc
#
-LDFLAGS += -dy -N drv/ptc
-
-CERRWARN += -_gcc=-Wno-parentheses
+LDFLAGS += -N drv/ptc
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
+CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-parentheses
#
# Default build targets.
@@ -88,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/qfe/Makefile b/usr/src/uts/sparc/qfe/Makefile
index 99f2d1bc60..6f11d8c5d8 100644
--- a/usr/src/uts/sparc/qfe/Makefile
+++ b/usr/src/uts/sparc/qfe/Makefile
@@ -19,10 +19,6 @@
# CDDL HEADER END
#
#
-# uts/sparc/qfe/Makefile
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
@@ -40,7 +36,6 @@ UTSBASE = ../..
#
MODULE = qfe
OBJECTS = $(QFE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(QFE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -52,14 +47,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nmisc/mac -Ndrv/hme
+LDFLAGS += -Nmisc/mac -Ndrv/hme
#
# Default build targets.
@@ -74,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/qlc/Makefile b/usr/src/uts/sparc/qlc/Makefile
index 2d492a8baa..641b86d8a9 100644
--- a/usr/src/uts/sparc/qlc/Makefile
+++ b/usr/src/uts/sparc/qlc/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = qlc
OBJECTS = $(QLC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(QLC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc
@@ -47,7 +46,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -59,13 +57,7 @@ INC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/ulp
INC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/fca/qlc
INC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/impl
-LDFLAGS += -dy -Nmisc/fctl
-
-#
-# Lint tags
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
+LDFLAGS += -Nmisc/fctl
FWIMAGES = 2200
FWIMAGES += 2300
@@ -94,12 +86,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/qlc_fw_2200/Makefile b/usr/src/uts/sparc/qlc_fw_2200/Makefile
index 157ad5a558..32b6a7533f 100644
--- a/usr/src/uts/sparc/qlc_fw_2200/Makefile
+++ b/usr/src/uts/sparc/qlc_fw_2200/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = qlc_fw_2200
OBJECTS = $(QLC_FW_2200_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(QLC_FW_2200_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_QLC_FW_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc
@@ -48,16 +47,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-LDFLAGS += -dy -Nmisc/fctl
-
-#
-# Lint tags
-#
-LINTTAGS += -DUNIQUE_FW_NAME
-LINTTAGS += -DFW_VERSION_STRING=\"2.01.145\"
+LDFLAGS += -Nmisc/fctl
#
# Default build targets.
@@ -72,12 +64,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/qlc_fw_2300/Makefile b/usr/src/uts/sparc/qlc_fw_2300/Makefile
index 6bff90a028..edc4737af8 100644
--- a/usr/src/uts/sparc/qlc_fw_2300/Makefile
+++ b/usr/src/uts/sparc/qlc_fw_2300/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = qlc_fw_2300
OBJECTS = $(QLC_FW_2300_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(QLC_FW_2300_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_QLC_FW_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc
@@ -48,16 +47,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-LDFLAGS += -dy -Nmisc/fctl
-
-#
-# Lint tags
-#
-LINTTAGS += -DUNIQUE_FW_NAME
-LINTTAGS += -DFW_VERSION_STRING=\"3.03.27\"
+LDFLAGS += -Nmisc/fctl
#
# Default build targets.
@@ -72,12 +64,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/qlc_fw_2400/Makefile b/usr/src/uts/sparc/qlc_fw_2400/Makefile
index df071e6272..4eb7b8e420 100644
--- a/usr/src/uts/sparc/qlc_fw_2400/Makefile
+++ b/usr/src/uts/sparc/qlc_fw_2400/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = qlc_fw_2400
OBJECTS = $(QLC_FW_2400_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(QLC_FW_2400_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_QLC_FW_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc
@@ -48,16 +47,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-LDFLAGS += -dy -Nmisc/fctl
-
-#
-# Lint tags
-#
-LINTTAGS += -DUNIQUE_FW_NAME
-LINTTAGS += -DFW_VERSION_STRING=\"4.04.01\"
+LDFLAGS += -Nmisc/fctl
#
# Default build targets.
@@ -72,12 +64,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/qlc_fw_2500/Makefile b/usr/src/uts/sparc/qlc_fw_2500/Makefile
index b4e7836162..7ac62e5b94 100644
--- a/usr/src/uts/sparc/qlc_fw_2500/Makefile
+++ b/usr/src/uts/sparc/qlc_fw_2500/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = qlc_fw_2500
OBJECTS = $(QLC_FW_2500_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(QLC_FW_2500_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_QLC_FW_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc
@@ -48,16 +47,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-LDFLAGS += -dy -Nmisc/fctl
-
-#
-# Lint tags
-#
-LINTTAGS += -DUNIQUE_FW_NAME
-LINTTAGS += -DFW_VERSION_STRING=\"4.04.01\"
+LDFLAGS += -Nmisc/fctl
#
# Default build targets.
@@ -72,12 +64,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/qlc_fw_6322/Makefile b/usr/src/uts/sparc/qlc_fw_6322/Makefile
index b0b5de9ea7..1000c95563 100644
--- a/usr/src/uts/sparc/qlc_fw_6322/Makefile
+++ b/usr/src/uts/sparc/qlc_fw_6322/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = qlc_fw_6322
OBJECTS = $(QLC_FW_6322_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(QLC_FW_6322_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_QLC_FW_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc
@@ -48,16 +47,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-LDFLAGS += -dy -Nmisc/fctl
-
-#
-# Lint tags
-#
-LINTTAGS += -DUNIQUE_FW_NAME
-LINTTAGS += -DFW_VERSION_STRING=\"3.03.27\"
+LDFLAGS += -Nmisc/fctl
#
# Default build targets.
@@ -72,12 +64,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/qlc_fw_8100/Makefile b/usr/src/uts/sparc/qlc_fw_8100/Makefile
index b75487441a..9fddc0c3c9 100644
--- a/usr/src/uts/sparc/qlc_fw_8100/Makefile
+++ b/usr/src/uts/sparc/qlc_fw_8100/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = qlc_fw_8100
OBJECTS = $(QLC_FW_8100_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(QLC_FW_8100_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_QLC_FW_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc
@@ -48,16 +47,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-LDFLAGS += -dy -Nmisc/fctl
-
-#
-# Lint tags
-#
-LINTTAGS += -DUNIQUE_FW_NAME
-LINTTAGS += -DFW_VERSION_STRING=\"5.00.00\"
+LDFLAGS += -Nmisc/fctl
#
# Default build targets.
@@ -72,12 +64,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/qlge/Makefile b/usr/src/uts/sparc/qlge/Makefile
index a823631732..59e1e3105c 100644
--- a/usr/src/uts/sparc/qlge/Makefile
+++ b/usr/src/uts/sparc/qlge/Makefile
@@ -37,7 +37,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = qlge
OBJECTS = $(QLGE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(QLGE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,7 +48,6 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -59,9 +57,7 @@ MODSTUBS_DIR = $(OBJS_DIR)
INC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/fca/qlge
-LDFLAGS += -dy -Nmisc/mac -Ndrv/ip
-
-C99LMODE= -Xc99=%all
+LDFLAGS += -Nmisc/mac -Ndrv/ip
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -79,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/qlt/Makefile b/usr/src/uts/sparc/qlt/Makefile
index 16fd3ef9ed..9a6abf5fef 100644
--- a/usr/src/uts/sparc/qlt/Makefile
+++ b/usr/src/uts/sparc/qlt/Makefile
@@ -21,7 +21,7 @@
#
# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# This makefile drives the production of the qlt driver for
+# This makefile drives the production of the qlt driver for
# COMSTAR.
#
@@ -36,7 +36,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = qlt
OBJECTS = $(QLT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(QLT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/comstar/port/qlt
@@ -49,26 +48,19 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Overrides and depends_on
#
MODSTUBS_DIR = $(OBJS_DIR)
-LDFLAGS += -dy -Ndrv/fct -Ndrv/stmf
+LDFLAGS += -Ndrv/fct -Ndrv/stmf
CFLAGS += -DUNIQUE_FW_NAME
-C99LMODE= -Xc99=%all
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
#
-LINTTAGS += -DUNIQUE_FW_NAME
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += $(CNOWARN_UNINIT)
@@ -85,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ramdisk/Makefile b/usr/src/uts/sparc/ramdisk/Makefile
index 28d4b32ba3..616797dbe9 100644
--- a/usr/src/uts/sparc/ramdisk/Makefile
+++ b/usr/src/uts/sparc/ramdisk/Makefile
@@ -23,7 +23,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the ramdisk driver kernel
# module.
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = ramdisk
OBJECTS = $(RAMDISK_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RAMDISK_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -75,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/random/Makefile b/usr/src/uts/sparc/random/Makefile
index ca3b92c48a..8f896fb0d8 100644
--- a/usr/src/uts/sparc/random/Makefile
+++ b/usr/src/uts/sparc/random/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/random/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the random driver
#
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = random
OBJECTS = $(RANDOM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RANDOM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -54,17 +52,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Linkage dependencies
#
-LDFLAGS += -dy -Nmisc/kcf
+LDFLAGS += -Nmisc/kcf
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -80,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/rds/Makefile b/usr/src/uts/sparc/rds/Makefile
index 8e078da5da..0a89fcfe7c 100644
--- a/usr/src/uts/sparc/rds/Makefile
+++ b/usr/src/uts/sparc/rds/Makefile
@@ -24,7 +24,7 @@
#
#
-# This makefile drives the production of the rds driver
+# This makefile drives the production of the rds driver
# kernel module.
#
# sparc architecture dependent
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = rds
OBJECTS = $(RDS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RDS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/rds
@@ -53,17 +52,17 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement and OS version
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
CFLAGS += $(CCVERBOSE)
-
CERRWARN += $(CNOWARN_UNINIT)
-LDFLAGS += -dy -Nfs/sockfs -Ndrv/ip
+LDFLAGS += -Nfs/sockfs -Ndrv/ip
#
# Default build targets.
@@ -78,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/rdsib/Makefile b/usr/src/uts/sparc/rdsib/Makefile
index 8325150c18..da0f9f7454 100644
--- a/usr/src/uts/sparc/rdsib/Makefile
+++ b/usr/src/uts/sparc/rdsib/Makefile
@@ -24,7 +24,7 @@
#
#
-# This makefile drives the production of the rds driver
+# This makefile drives the production of the rds driver
# kernel module.
#
# sparc architecture dependent
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = rdsib
OBJECTS = $(RDSIB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RDSIB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/rds
@@ -53,18 +52,18 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement and OS version
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
-LDFLAGS += -dy -Ndrv/rds -Nmisc/ibtl -Nmisc/ibcm -Ndrv/ip
+LDFLAGS += -Ndrv/rds -Nmisc/ibtl -Nmisc/ibcm -Ndrv/ip
#
# Default build targets.
@@ -79,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/rdsv3/Makefile b/usr/src/uts/sparc/rdsv3/Makefile
index 42218769c8..51a99f1292 100644
--- a/usr/src/uts/sparc/rdsv3/Makefile
+++ b/usr/src/uts/sparc/rdsv3/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = rdsv3
OBJECTS = $(RDSV3_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RDSV3_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/rdsv3
@@ -50,38 +49,23 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement and OS version
+# Disable these warnings since some errors suppressed here are
+# in the OFED code, but we'd like to keep it as is as much as possible.
+# Note. maintainers should endeavor to investigate and remove these for
+# maximum coverage, but please do not carry these forward to new
+# Makefiles blindly.
#
-CFLAGS += $(CCVERBOSE)
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
-#
-# Disable these lint checks since some errors suppressed here are
-# in the OFED code, but we'd like to keep it as is as much as possible.
-# Note. maintainers should endeavor to investigate and remove these for
-# maximum lint coverage, but please do not carry these forward to new
-# Makefiles blindly.
-#
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_CONSTANT_CONDITION
-LINTTAGS += -erroff=E_FUNC_VAR_UNUSED
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_FUNC_SET_NOT_USED
-LINTTAGS += -erroff=E_FUNC_USED_VAR_ARG2
-LINTTAGS += -erroff=E_INCONS_ARG_USED2
-
-LDFLAGS += -dy -Nfs/sockfs -Nmisc/ksocket -Ndrv/ip -Nmisc/ibtl -Nmisc/ibcm -Nmisc/sol_ofs
+LDFLAGS += -Nfs/sockfs -Nmisc/ksocket -Ndrv/ip -Nmisc/ibtl -Nmisc/ibcm -Nmisc/sol_ofs
#
# Default build targets.
@@ -96,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/redirmod/Makefile b/usr/src/uts/sparc/redirmod/Makefile
index 30ab743cb0..b204c03f6f 100644
--- a/usr/src/uts/sparc/redirmod/Makefile
+++ b/usr/src/uts/sparc/redirmod/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/redirmod/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the redirmod streams kernel
# module.
@@ -42,7 +41,6 @@ UTSBASE = ../..
#
MODULE = redirmod
OBJECTS = $(REDIRMOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(REDIRMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -54,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -75,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/rge/Makefile b/usr/src/uts/sparc/rge/Makefile
index 48b7f673ed..c9dbd07e57 100644
--- a/usr/src/uts/sparc/rge/Makefile
+++ b/usr/src/uts/sparc/rge/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = rge
OBJECTS = $(RGE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RGE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -50,15 +49,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Turn on doubleword alignment for 64 bit registers
#
CFLAGS += -dalign
@@ -66,19 +59,16 @@ CFLAGS += -dalign
#
# Driver depends on MAC & IP
#
-LDFLAGS += -dy -N misc/mac -N drv/ip
-
-CERRWARN += -_gcc=-Wno-switch
-CERRWARN += $(CNOWARN_UNINIT)
+LDFLAGS += -N misc/mac -N drv/ip
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
+CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-switch
+CERRWARN += $(CNOWARN_UNINIT)
#
# Default build targets.
@@ -93,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/rlmod/Makefile b/usr/src/uts/sparc/rlmod/Makefile
index dc8cdff3a3..b173fa1079 100644
--- a/usr/src/uts/sparc/rlmod/Makefile
+++ b/usr/src/uts/sparc/rlmod/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = rlmod
OBJECTS = $(RLMOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RLMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_STRMOD_DIR)/$(MODULE)
#
@@ -53,22 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -85,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/rpcib/Makefile b/usr/src/uts/sparc/rpcib/Makefile
index 7d8e43ea31..e46872ff31 100644
--- a/usr/src/uts/sparc/rpcib/Makefile
+++ b/usr/src/uts/sparc/rpcib/Makefile
@@ -24,7 +24,7 @@
#
#
-# This makefile drives the production of the kernel
+# This makefile drives the production of the kernel
# rpcib module.
#
# sparc implementation architecture dependent
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = rpcib
OBJECTS = $(RPCIB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RPCIB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/rpc
@@ -52,27 +51,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
# depends on misc/ibtl and misc/ibcm
#
-LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibcm
+LDFLAGS += -Nmisc/ibtl -Nmisc/ibcm
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += $(CNOWARN_UNINIT)
@@ -90,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/rpcmod/Makefile b/usr/src/uts/sparc/rpcmod/Makefile
index e25ca4bb83..fb449c8053 100644
--- a/usr/src/uts/sparc/rpcmod/Makefile
+++ b/usr/src/uts/sparc/rpcmod/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = rpcmod
OBJECTS = $(RPCMOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RPCMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
ROOTLINK = $(ROOT_SYS_DIR)/$(MODULE)
@@ -54,7 +53,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
#
@@ -67,25 +65,14 @@ CLEANFILES += $(MODSTUBS_O)
#
# depends_on
#
-LDFLAGS += -dy -Nmisc/tlimod
-
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
+LDFLAGS += -Nmisc/tlimod
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-switch
@@ -106,12 +93,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_SYS_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/rpcsec/Makefile b/usr/src/uts/sparc/rpcsec/Makefile
index ac2536bc4f..dec258aa88 100644
--- a/usr/src/uts/sparc/rpcsec/Makefile
+++ b/usr/src/uts/sparc/rpcsec/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = rpcsec
OBJECTS = $(RPCSEC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RPCSEC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -49,27 +48,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
# Define dependencies on rpcmod and tlimod
#
-LDFLAGS += -dy -N strmod/rpcmod -N misc/tlimod
+LDFLAGS += -N strmod/rpcmod -N misc/tlimod
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -86,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/rpcsec_gss/Makefile b/usr/src/uts/sparc/rpcsec_gss/Makefile
index c75c8e548e..c63c204e9a 100644
--- a/usr/src/uts/sparc/rpcsec_gss/Makefile
+++ b/usr/src/uts/sparc/rpcsec_gss/Makefile
@@ -23,7 +23,7 @@
# Use is subject to license terms.
# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
-# This makefile drives the production of the kernel
+# This makefile drives the production of the kernel
# rpcsec_gss module.
#
# sparc implementation architecture dependent
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = rpcsec_gss
OBJECTS = $(RPCSEC_GSS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RPCSEC_GSS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -50,28 +49,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
# Define dependencies on rpcmod and kgssapi
#
-LDFLAGS += -dy -N strmod/rpcmod -N misc/kgssapi
+LDFLAGS += -N strmod/rpcmod -N misc/kgssapi
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
#
@@ -87,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/rsa/Makefile b/usr/src/uts/sparc/rsa/Makefile
index 048e02f81e..582c9f2696 100644
--- a/usr/src/uts/sparc/rsa/Makefile
+++ b/usr/src/uts/sparc/rsa/Makefile
@@ -41,7 +41,6 @@ COM2_DIR = $(COMMONBASE)/crypto
#
MODULE = rsa
OBJECTS = $(RSAPROV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RSAPROV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
#
@@ -53,32 +52,22 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Linkage dependencies
#
-LDFLAGS += -dy -Ncrypto/md5 -Ncrypto/sha2 -Nmisc/bignum -Nmisc/kcf
+LDFLAGS += -Ncrypto/md5 -Ncrypto/sha2 -Nmisc/bignum -Nmisc/kcf
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE) -I$(COM1_DIR) -I$(COM2_DIR)
+CFLAGS += -I$(COM1_DIR) -I$(COM2_DIR)
CFLAGS += -DUMUL64
-LINTFLAGS += -I$(COM1_DIR) -I$(COM2_DIR)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -95,12 +84,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/rsm/Makefile b/usr/src/uts/sparc/rsm/Makefile
index cfd0eccedc..415416c9db 100644
--- a/usr/src/uts/sparc/rsm/Makefile
+++ b/usr/src/uts/sparc/rsm/Makefile
@@ -25,7 +25,7 @@
#
#
-# This makefile drives the production of the rsm kernel agent
+# This makefile drives the production of the rsm kernel agent
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
@@ -35,9 +35,8 @@ UTSBASE = ../..
#
# Define the module and object file sets.
#
-MODULE = rsm
+MODULE = rsm
OBJECTS = $(RSM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RSM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/rsm
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -58,15 +56,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
INC_PATH += -I $(UTSBASE)/common/sys/rsm
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
# depends on rsmops
#
-LDFLAGS += -dy -Nmisc/rsmops
+LDFLAGS += -Nmisc/rsmops
#
# Flag to enable for DR testing via drtest driver
@@ -75,14 +68,11 @@ LDFLAGS += -dy -Nmisc/rsmops
#LDFLAGS += -Ndrv/rsm_drtest
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
@@ -99,12 +89,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/rsmops/Makefile b/usr/src/uts/sparc/rsmops/Makefile
index de0d4740d2..9fc7bba9d4 100644
--- a/usr/src/uts/sparc/rsmops/Makefile
+++ b/usr/src/uts/sparc/rsmops/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/rsmops/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the rsmops module
#
@@ -37,9 +36,8 @@ UTSBASE = ../..
#
# Define the module and object file sets.
#
-MODULE = rsmops
+MODULE = rsmops
OBJECTS = $(RSMOPS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RSMOPS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -51,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -59,9 +56,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
INC_PATH += -I $(UTSBASE)/common/sys/rsm
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -77,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/rtls/Makefile b/usr/src/uts/sparc/rtls/Makefile
index 6a9e60d6a3..2e58597d13 100644
--- a/usr/src/uts/sparc/rtls/Makefile
+++ b/usr/src/uts/sparc/rtls/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = rtls
OBJECTS = $(RTLS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RTLS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,7 +48,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,7 +59,7 @@ CERRWARN += $(CNOWARN_UNINIT)
#
# Driver depends on Mac
#
-LDFLAGS += -dy -N misc/mac -N misc/mii
+LDFLAGS += -N misc/mac -N misc/mii
#
# Default build targets.
@@ -76,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/rts/Makefile b/usr/src/uts/sparc/rts/Makefile
index 4078c24237..0bb94726b8 100644
--- a/usr/src/uts/sparc/rts/Makefile
+++ b/usr/src/uts/sparc/rts/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = rts
OBJECTS = $(RTS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RTS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_SOCK_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/ip
@@ -59,27 +58,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
# depends on ip and sockfs
#
-LDFLAGS += -dy -Ndrv/ip -Nfs/sockfs
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
+LDFLAGS += -Ndrv/ip -Nfs/sockfs
#
# Default build targets.
@@ -94,12 +80,6 @@ clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS) $(SISCHECK_DEPS)
$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOT_SOCK_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/s1394/Makefile b/usr/src/uts/sparc/s1394/Makefile
index 67e21511cd..e9c197f309 100644
--- a/usr/src/uts/sparc/s1394/Makefile
+++ b/usr/src/uts/sparc/s1394/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = s1394
OBJECTS = $(S1394_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(S1394_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,28 +59,16 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-CLEANLINTFILES += $(LINT32_FILES)
DEBUG_DEFS_DBG32 += -DTNF_DEBUG
DEBUG_DEFS_DBG64 += -DTNF_DEBUG
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-unused-variable
@@ -101,12 +87,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sad/Makefile b/usr/src/uts/sparc/sad/Makefile
index f55534c3e7..3c605aed95 100644
--- a/usr/src/uts/sparc/sad/Makefile
+++ b/usr/src/uts/sparc/sad/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = sad
OBJECTS = $(SAD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SAD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -64,12 +62,10 @@ CLEANFILES += $(MODSTUBS_O)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -87,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sata/Makefile b/usr/src/uts/sparc/sata/Makefile
index 71ed1be9ae..b1cec9b740 100644
--- a/usr/src/uts/sparc/sata/Makefile
+++ b/usr/src/uts/sparc/sata/Makefile
@@ -45,7 +45,6 @@ UTSBASE = ../..
#
MODULE = sata
OBJECTS = $(SATA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SATA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -57,7 +56,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -67,25 +65,16 @@ DEBUG_FLGS =
DEBUG_DEFS += $(DEBUG_FLGS)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# dependency on scsi module
#
-LDFLAGS += -dy -Nmisc/scsi
+LDFLAGS += -Nmisc/scsi
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-function
@@ -109,12 +98,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sbp2/Makefile b/usr/src/uts/sparc/sbp2/Makefile
index 7d3db7b1d2..79248a1ced 100644
--- a/usr/src/uts/sparc/sbp2/Makefile
+++ b/usr/src/uts/sparc/sbp2/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = sbp2
OBJECTS = $(SBP2_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SBP2_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -49,7 +48,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -57,22 +55,13 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-CLEANLINTFILES += $(LINT32_FILES)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-function
.KEEP_STATE:
@@ -85,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/scsa1394/Makefile b/usr/src/uts/sparc/scsa1394/Makefile
index 5eab76a7ed..006e3a0f2f 100644
--- a/usr/src/uts/sparc/scsa1394/Makefile
+++ b/usr/src/uts/sparc/scsa1394/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = scsa1394
OBJECTS = $(SCSA1394_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SCSA1394_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -45,7 +44,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -53,30 +51,19 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-CLEANLINTFILES += $(LINT32_FILES)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
+# depends on
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
+LDFLAGS += -Nmisc/scsi -Nmisc/s1394 -Nmisc/sbp2
#
-# depends on
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-LDFLAGS += -dy -Nmisc/scsi -Nmisc/s1394 -Nmisc/sbp2
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -92,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-lint: $(LINT_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/scsa2usb/Makefile b/usr/src/uts/sparc/scsa2usb/Makefile
index eb7fdbbf9c..a0e19f98c8 100644
--- a/usr/src/uts/sparc/scsa2usb/Makefile
+++ b/usr/src/uts/sparc/scsa2usb/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = scsa2usb
OBJECTS = $(SCSA2USB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SCSA2USB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/usb/scsa2usb
@@ -50,31 +49,26 @@ CONF_SRCDIR = $(UTSBASE)/common/io/usb/scsa2usb
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
+
# depends on misc/usba misc/scsi
#
-LDFLAGS += -dy -Nmisc/usba -Nmisc/scsi
+LDFLAGS += -Nmisc/usba -Nmisc/scsi
#
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-CERRWARN += -_gcc=-Wno-unused-label
-CERRWARN += $(CNOWARN_UNINIT)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-unused-label
+CERRWARN += $(CNOWARN_UNINIT)
.KEEP_STATE:
@@ -86,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/scsi/Makefile b/usr/src/uts/sparc/scsi/Makefile
index 1d464fca09..aa666fa106 100644
--- a/usr/src/uts/sparc/scsi/Makefile
+++ b/usr/src/uts/sparc/scsi/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = scsi
OBJECTS = $(SCSI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SCSI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -53,23 +52,16 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
+
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -87,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/scsi_vhci/Makefile b/usr/src/uts/sparc/scsi_vhci/Makefile
index fbe826d733..29eb7e9009 100644
--- a/usr/src/uts/sparc/scsi_vhci/Makefile
+++ b/usr/src/uts/sparc/scsi_vhci/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = scsi_vhci
OBJECTS = $(SCSI_VHCI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SCSI_VHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/scsi_vhci
@@ -56,13 +55,12 @@ CERRWARN += -_gcc=-Wno-unused-label
# Define targets.
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Note dependancy on misc/scsi.
#
-LDFLAGS += -dy -N"misc/scsi"
+LDFLAGS += -Nmisc/scsi
#
# Default build targets.
@@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/scsi_vhci_f_sym/Makefile b/usr/src/uts/sparc/scsi_vhci_f_sym/Makefile
index 85c22ade33..3548e903c6 100644
--- a/usr/src/uts/sparc/scsi_vhci_f_sym/Makefile
+++ b/usr/src/uts/sparc/scsi_vhci_f_sym/Makefile
@@ -25,8 +25,6 @@
#
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
# This makefile drives the production of misc/scsi_vhci/scsi_vhci_f_sym
# sparc architecture dependent
#
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = scsi_vhci_f_sym
OBJECTS = $(SCSI_VHCI_F_SYM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SCSI_VHCI_F_SYM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SCSI_VHCI_DIR)/$(MODULE)
#
@@ -53,13 +50,12 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets.
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Note dependancy on misc/scsi.
#
-LDFLAGS += -dy -N"misc/scsi" -N"drv/scsi_vhci"
+LDFLAGS += -Nmisc/scsi -Ndrv/scsi_vhci
#
# Default build targets.
@@ -74,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/scsi_vhci_f_sym_hds/Makefile b/usr/src/uts/sparc/scsi_vhci_f_sym_hds/Makefile
index 87f77066df..ff69b85e76 100644
--- a/usr/src/uts/sparc/scsi_vhci_f_sym_hds/Makefile
+++ b/usr/src/uts/sparc/scsi_vhci_f_sym_hds/Makefile
@@ -25,8 +25,6 @@
#
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
# This makefile drives the production of misc/scsi_vhci/scsi_vhci_f_sym_hds
# sparc architecture dependent
#
@@ -42,7 +40,6 @@ UTSBASE = ../..
#
MODULE = scsi_vhci_f_sym_hds
OBJECTS = $(SCSI_VHCI_F_SYM_HDS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SCSI_VHCI_F_SYM_HDS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SCSI_VHCI_DIR)/$(MODULE)
#
@@ -54,13 +51,12 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets.
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Note dependancy on misc/scsi.
#
-LDFLAGS += -dy -N"misc/scsi" -N"drv/scsi_vhci"
+LDFLAGS += -Nmisc/scsi -Ndrv/scsi_vhci
#
# Default build targets.
@@ -75,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/scsi_vhci_f_tape/Makefile b/usr/src/uts/sparc/scsi_vhci_f_tape/Makefile
index bf6598a9eb..0cd8f81f9b 100644
--- a/usr/src/uts/sparc/scsi_vhci_f_tape/Makefile
+++ b/usr/src/uts/sparc/scsi_vhci_f_tape/Makefile
@@ -25,8 +25,6 @@
#
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
# This makefile drives the production of misc/scsi_vhci/scsi_vhci_f_tape
# sparc architecture dependent
#
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = scsi_vhci_f_tape
OBJECTS = $(SCSI_VHCI_F_TAPE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SCSI_VHCI_F_TAPE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SCSI_VHCI_DIR)/$(MODULE)
#
@@ -53,13 +50,12 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets.
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Note dependancy on misc/scsi.
#
-LDFLAGS += -dy -N"misc/scsi" -N"drv/scsi_vhci"
+LDFLAGS += -Nmisc/scsi -Ndrv/scsi_vhci
#
# Default build targets.
@@ -74,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/scsi_vhci_f_tpgs/Makefile b/usr/src/uts/sparc/scsi_vhci_f_tpgs/Makefile
index 62cb1fb4b6..b0295650ce 100644
--- a/usr/src/uts/sparc/scsi_vhci_f_tpgs/Makefile
+++ b/usr/src/uts/sparc/scsi_vhci_f_tpgs/Makefile
@@ -25,8 +25,6 @@
#
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
# This makefile drives the production of misc/scsi_vhci/scsi_vhci_f_tpgs
# sparc architecture dependent
#
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = scsi_vhci_f_tpgs
OBJECTS = $(SCSI_VHCI_F_TPGS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SCSI_VHCI_F_TPGS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SCSI_VHCI_DIR)/$(MODULE)
#
@@ -53,13 +50,12 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets.
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Note dependancy on misc/scsi.
#
-LDFLAGS += -dy -N"misc/scsi" -N"drv/scsi_vhci"
+LDFLAGS += -Nmisc/scsi -Ndrv/scsi_vhci
#
# Default build targets.
@@ -74,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/scsi_vhci_f_tpgs_tape/Makefile b/usr/src/uts/sparc/scsi_vhci_f_tpgs_tape/Makefile
index ee2288cff7..53362e18a2 100644
--- a/usr/src/uts/sparc/scsi_vhci_f_tpgs_tape/Makefile
+++ b/usr/src/uts/sparc/scsi_vhci_f_tpgs_tape/Makefile
@@ -25,8 +25,6 @@
#
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
# This makefile drives the production of misc/scsi_vhci/scsi_vhci_f_tpgs_tape
# sparc architecture dependent
#
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = scsi_vhci_f_tpgs_tape
OBJECTS = $(SCSI_VHCI_F_TPGS_TAPE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SCSI_VHCI_F_TPGS_TAPE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SCSI_VHCI_DIR)/$(MODULE)
#
@@ -53,13 +50,12 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets.
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Note dependancy on misc/scsi.
#
-LDFLAGS += -dy -N"misc/scsi" -N"drv/scsi_vhci"
+LDFLAGS += -Nmisc/scsi -Ndrv/scsi_vhci
#
# Default build targets.
@@ -74,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sd/Makefile b/usr/src/uts/sparc/sd/Makefile
index e97a15f713..d2e1ddacde 100644
--- a/usr/src/uts/sparc/sd/Makefile
+++ b/usr/src/uts/sparc/sd/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = sd
OBJECTS = $(SD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sun/io/scsi/targets
@@ -53,28 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
# Define dependencies on scsi and cmlb
#
-LDFLAGS += -dy -N misc/scsi -N misc/cmlb
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
+LDFLAGS += -N misc/scsi -N misc/cmlb
#
# Default build targets.
@@ -89,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sdp/Makefile b/usr/src/uts/sparc/sdp/Makefile
index c9b216840d..a7a24050ae 100644
--- a/usr/src/uts/sparc/sdp/Makefile
+++ b/usr/src/uts/sparc/sdp/Makefile
@@ -22,9 +22,6 @@
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-#
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
@@ -36,9 +33,7 @@ UTSBASE = ../..
#
MODULE = sdp
OBJECTS = $(SDP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SDP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
-LDFLAGS += -dy
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/sdp
#
# Include common rules.
@@ -49,7 +44,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -65,12 +59,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sdt/Makefile b/usr/src/uts/sparc/sdt/Makefile
index 7100325717..03aec5a3c4 100644
--- a/usr/src/uts/sparc/sdt/Makefile
+++ b/usr/src/uts/sparc/sdt/Makefile
@@ -27,7 +27,6 @@ UTSBASE = ../..
MODULE = sdt
OBJECTS = $(SDT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SDT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sparc/dtrace
@@ -35,18 +34,16 @@ CONF_SRCDIR = $(UTSBASE)/sparc/dtrace
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndrv/dtrace -Nmisc/ctf
+LDFLAGS += -Ndrv/dtrace -Nmisc/ctf
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
CERRWARN += -_gcc=-Wno-parentheses
@@ -60,12 +57,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/semsys/Makefile b/usr/src/uts/sparc/semsys/Makefile
index 9f7dba60b4..606ae64a27 100644
--- a/usr/src/uts/sparc/semsys/Makefile
+++ b/usr/src/uts/sparc/semsys/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = semsys
OBJECTS = $(IPCSEM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IPCSEM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,14 +59,13 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DSEMSYS_MODULE
CLEANFILES += $(MODSTUBS_O)
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nmisc/ipc
+LDFLAGS += -Nmisc/ipc
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -86,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ses/Makefile b/usr/src/uts/sparc/ses/Makefile
index 73e29f288d..1b63eade15 100644
--- a/usr/src/uts/sparc/ses/Makefile
+++ b/usr/src/uts/sparc/ses/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = ses
OBJECTS = $(SES_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SES_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sun/io/scsi/targets
@@ -53,22 +52,12 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Define dependency on scsi
#
-LDFLAGS += -dy -N misc/scsi
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
+LDFLAGS += -N misc/scsi
#
# Default build targets.
@@ -83,10 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sfe/Makefile b/usr/src/uts/sparc/sfe/Makefile
index ff245466d1..39f6864ff3 100644
--- a/usr/src/uts/sparc/sfe/Makefile
+++ b/usr/src/uts/sparc/sfe/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = sfe
OBJECTS = $(SFE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SFE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -81,7 +79,7 @@ CERRWARN += $(CNOWARN_UNINIT)
#
# Driver depends on MAC & IP
#
-LDFLAGS += -dy -N misc/mac -N drv/ip
+LDFLAGS += -N misc/mac -N drv/ip
#
# Default build targets.
@@ -96,12 +94,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sgen/Makefile b/usr/src/uts/sparc/sgen/Makefile
index c342af394e..8ceea7efe7 100644
--- a/usr/src/uts/sparc/sgen/Makefile
+++ b/usr/src/uts/sparc/sgen/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = sgen
OBJECTS = $(SGEN_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SGEN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/scsi/targets
@@ -52,26 +51,23 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets.
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Note dependancy on misc/scsi.
#
-LDFLAGS += -dy -N"misc/scsi"
+LDFLAGS += -Nmisc/scsi
#
# Overrides.
#
-CFLAGS += $(CCVERBOSE)
+CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
@@ -89,12 +85,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sha1/Makefile b/usr/src/uts/sparc/sha1/Makefile
index e2a65b662b..8b16ac0abf 100644
--- a/usr/src/uts/sparc/sha1/Makefile
+++ b/usr/src/uts/sparc/sha1/Makefile
@@ -42,7 +42,6 @@ COM_DIR = $(COMMONBASE)/crypto
#
MODULE = sha1
OBJECTS = $(SHA1_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SHA1_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
ROOTLINK = $(ROOT_MISC_DIR)/$(MODULE)
@@ -60,19 +59,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
#
# Linkage dependencies
#
-LDFLAGS += -dy -Nmisc/kcf
+LDFLAGS += -Nmisc/kcf
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
-LINTFLAGS += -I$(COM_DIR)
#
# Default build targets.
@@ -87,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_MISC_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/sha2/Makefile b/usr/src/uts/sparc/sha2/Makefile
index df8e453ddc..915549463a 100644
--- a/usr/src/uts/sparc/sha2/Makefile
+++ b/usr/src/uts/sparc/sha2/Makefile
@@ -39,7 +39,6 @@ COM_DIR = $(COMMONBASE)/crypto
#
MODULE = sha2
OBJECTS = $(SHA2_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SHA2_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
ROOTLINK = $(ROOT_MISC_DIR)/$(MODULE)
@@ -57,20 +56,22 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
#
# Linkage dependencies
#
-LDFLAGS += -dy -Nmisc/kcf
+LDFLAGS += -Nmisc/kcf
+
+
+CFLAGS += -I$(COM_DIR)
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
-LINTFLAGS += -I$(COM_DIR)
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -87,12 +88,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_MISC_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/sharefs/Makefile b/usr/src/uts/sparc/sharefs/Makefile
index f212780a6d..e4ab636a74 100644
--- a/usr/src/uts/sparc/sharefs/Makefile
+++ b/usr/src/uts/sparc/sharefs/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = sharefs
OBJECTS = $(SHAREFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SHAREFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -75,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/shbinexec/Makefile b/usr/src/uts/sparc/shbinexec/Makefile
index a37c5c2294..d2fce021af 100644
--- a/usr/src/uts/sparc/shbinexec/Makefile
+++ b/usr/src/uts/sparc/shbinexec/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = shbinexec
OBJECTS = $(SHBINEXEC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SHBINEXEC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_EXEC_DIR)/$(MODULE)
#
@@ -54,7 +53,6 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -70,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/shmsys/Makefile b/usr/src/uts/sparc/shmsys/Makefile
index be041263ec..45957bf757 100644
--- a/usr/src/uts/sparc/shmsys/Makefile
+++ b/usr/src/uts/sparc/shmsys/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = shmsys
OBJECTS = $(IPCSHM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IPCSHM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,15 +59,13 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DSHMSYS_MODULE
CLEANFILES += $(MODSTUBS_O)
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nmisc/ipc
+LDFLAGS += -Nmisc/ipc
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
@@ -86,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/signalfd/Makefile b/usr/src/uts/sparc/signalfd/Makefile
index a60bc617e1..a89a84cd2e 100644
--- a/usr/src/uts/sparc/signalfd/Makefile
+++ b/usr/src/uts/sparc/signalfd/Makefile
@@ -23,7 +23,6 @@ UTSBASE = ../..
#
MODULE = signalfd
OBJECTS = $(SIGNALFD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SIGNALFD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -38,7 +37,6 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -54,12 +52,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/simnet/Makefile b/usr/src/uts/sparc/simnet/Makefile
index f58942d867..f7752ada4d 100644
--- a/usr/src/uts/sparc/simnet/Makefile
+++ b/usr/src/uts/sparc/simnet/Makefile
@@ -32,7 +32,6 @@ UTSBASE = ../..
#
MODULE = simnet
OBJECTS = $(SIMNET_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SIMNET_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/$(MODULE)
@@ -45,14 +44,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Overrides
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndrv/dld -Nmisc/mac -Nmisc/dls -Ndrv/random
+LDFLAGS += -Ndrv/dld -Nmisc/mac -Nmisc/dls -Ndrv/random
CERRWARN += -_gcc=-Wno-switch
@@ -69,12 +67,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/skein/Makefile b/usr/src/uts/sparc/skein/Makefile
index 6f1b4ecfab..cf9d7a19fd 100644
--- a/usr/src/uts/sparc/skein/Makefile
+++ b/usr/src/uts/sparc/skein/Makefile
@@ -38,7 +38,6 @@ COMDIR = $(COMMONBASE)/crypto
#
MODULE = skein
OBJECTS = $(SKEIN_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SKEIN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
ROOTLINK = $(ROOT_MISC_DIR)/$(MODULE)
@@ -51,16 +50,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
#
# Linkage dependencies
#
-LDFLAGS += -dy -Nmisc/kcf
+LDFLAGS += -Nmisc/kcf
CFLAGS += -I$(COMDIR)
-LINTFLAGS += -I$(COMDIR)
#
# Default build targets.
@@ -75,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_MISC_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/smbfs/Makefile b/usr/src/uts/sparc/smbfs/Makefile
index 346972e300..4e0d4b3c13 100644
--- a/usr/src/uts/sparc/smbfs/Makefile
+++ b/usr/src/uts/sparc/smbfs/Makefile
@@ -24,7 +24,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# This makefile drives the production of the smbfs (Server
+# This makefile drives the production of the smbfs (Server
# message block file system) kernel module.
#
# sparc architecture dependent
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = smbfs
OBJECTS = $(SMBFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SMBFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_FS_DIR)/$(MODULE)
#
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,18 +61,16 @@ $(MODSTUBS_O) := AS_CPPFLAGS += -DSMBFS_MODULE
CLEANFILES += $(MODSTUBS_O)
INC_PATH += -I$(UTSBASE)/common/fs/smbclnt
INC_PATH += -I$(COMMONBASE)/smbclnt
-LDFLAGS += -dy -Ndrv/nsmb
+LDFLAGS += -Ndrv/nsmb
-# Until CR 4994570 is fixed...
-LINTTAGS += -erroff=E_BAD_FORMAT_ARG_TYPE2
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
-# The mb_put/md_get functions are intentionally used with and without
-# return value checks, so filter those out like LGREP.2 does.
-LGREP.nsmb = egrep -v ' ignored: (mb_init|mb_put|md_get)'
-LTAIL += 2>&1 | $(LGREP.2) | $(LGREP.nsmb) || true
-
#
# Default build targets.
#
@@ -88,12 +84,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/smbsrv/Makefile b/usr/src/uts/sparc/smbsrv/Makefile
index 57de6d9140..92bbb4e2b4 100644
--- a/usr/src/uts/sparc/smbsrv/Makefile
+++ b/usr/src/uts/sparc/smbsrv/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = smbsrv
OBJECTS = $(SMBSRV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SMBSRV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/fs/smbsrv
@@ -52,14 +51,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
#
# Module dependencies
#
-LDFLAGS += -dy -Nfs/sockfs -Nmisc/ksocket -Ndrv/ip -Nstrmod/rpcmod -Nsys/doorfs
+LDFLAGS += -Nfs/sockfs -Nmisc/ksocket -Ndrv/ip -Nstrmod/rpcmod -Nsys/doorfs
LDFLAGS += -Nmisc/kcf
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
#
@@ -85,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_SYS_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/smp/Makefile b/usr/src/uts/sparc/smp/Makefile
index 7e8c71a047..2d1363c913 100644
--- a/usr/src/uts/sparc/smp/Makefile
+++ b/usr/src/uts/sparc/smp/Makefile
@@ -23,8 +23,6 @@
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
#
# This makefile drives the production of the smp driver.
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = smp
OBJECTS = $(SMP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SMP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/scsi/targets
@@ -54,13 +51,12 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets.
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Note dependancy on misc/scsi.
#
-LDFLAGS += -dy -N"misc/scsi"
+LDFLAGS += -Nmisc/scsi
#
# Overrides.
@@ -80,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/socal/Makefile b/usr/src/uts/sparc/socal/Makefile
index e79fdc9bd2..4eb95ff3a1 100644
--- a/usr/src/uts/sparc/socal/Makefile
+++ b/usr/src/uts/sparc/socal/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = socal
OBJECTS = $(SOCAL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SOCAL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,16 +60,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE) -dalign
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += $(CNOWARN_UNINIT)
@@ -88,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sockfs/Makefile b/usr/src/uts/sparc/sockfs/Makefile
index 20c15c173c..4072086886 100644
--- a/usr/src/uts/sparc/sockfs/Makefile
+++ b/usr/src/uts/sparc/sockfs/Makefile
@@ -62,7 +62,7 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DSOCK_MODULE
CLEANFILES += $(MODSTUBS_O)
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndrv/ip
+LDFLAGS += -Ndrv/ip
#
# Derived file "nl7ctokgen.h" defines.
diff --git a/usr/src/uts/sparc/sockpfp/Makefile b/usr/src/uts/sparc/sockpfp/Makefile
index 21e526a81b..3f90a0acd1 100644
--- a/usr/src/uts/sparc/sockpfp/Makefile
+++ b/usr/src/uts/sparc/sockpfp/Makefile
@@ -22,7 +22,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# This makefile drives the production of the nca driver
+# This makefile drives the production of the nca driver
# kernel module.
#
# sparc architecture dependent
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = sockpfp
OBJECTS = $(PFP_SOCK_MOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PFP_SOCK_MOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_SOCK_DIR)/$(MODULE)
#
@@ -50,25 +49,17 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement and OS version
-#
-CFLAGS += $(CCVERBOSE)
-
-LDFLAGS += -dy -Nfs/sockfs -Nmisc/dls -Nmisc/mac -Ndrv/ip
+LDFLAGS += -Nfs/sockfs -Nmisc/dls -Nmisc/mac -Ndrv/bpf -Ndrv/ip
INC_PATH += -I$(UTSBASE)/common/inet/sockmods -I$(UTSBASE)/common/io/bpf
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-unused-label
@@ -85,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sockrds/Makefile b/usr/src/uts/sparc/sockrds/Makefile
index a8e1a0702f..526b6e7a81 100644
--- a/usr/src/uts/sparc/sockrds/Makefile
+++ b/usr/src/uts/sparc/sockrds/Makefile
@@ -23,7 +23,7 @@
#
#
-# This makefile drives the production of the nca driver
+# This makefile drives the production of the nca driver
# kernel module.
#
# sparc architecture dependent
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = sockrds
OBJECTS = $(RDS_SOCK_MOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RDS_SOCK_MOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SOCK_DIR)/$(MODULE)
#
@@ -51,15 +50,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement and OS version
-#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nfs/sockfs -Ndrv/ip -Ndrv/rdsv3
+LDFLAGS += -Nfs/sockfs -Ndrv/ip -Ndrv/rdsv3
#
# Default build targets.
@@ -74,12 +69,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/socksctp/Makefile b/usr/src/uts/sparc/socksctp/Makefile
index 50ce165fd1..bece5cb8db 100644
--- a/usr/src/uts/sparc/socksctp/Makefile
+++ b/usr/src/uts/sparc/socksctp/Makefile
@@ -23,7 +23,7 @@
# Use is subject to license terms.
#
-# This makefile drives the production of the nca driver
+# This makefile drives the production of the nca driver
# kernel module.
#
# sparc architecture dependent
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = socksctp
OBJECTS = $(SCTP_SOCK_MOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SCTP_SOCK_MOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SOCK_DIR)/$(MODULE)
#
@@ -51,24 +50,18 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement and OS version
-#
-CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nfs/sockfs -Ndrv/ip
+
+LDFLAGS += -Nfs/sockfs -Ndrv/ip
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
@@ -85,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/socksdp/Makefile b/usr/src/uts/sparc/socksdp/Makefile
index 746f8c90c5..e69985523b 100644
--- a/usr/src/uts/sparc/socksdp/Makefile
+++ b/usr/src/uts/sparc/socksdp/Makefile
@@ -23,7 +23,7 @@
# Use is subject to license terms.
#
-# This makefile drives the production of the nca driver
+# This makefile drives the production of the nca driver
# kernel module.
#
# sparc architecture dependent
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = socksdp
OBJECTS = $(SDP_SOCK_MOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SDP_SOCK_MOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SOCK_DIR)/$(MODULE)
#
@@ -51,18 +50,18 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement and OS version
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
-LDFLAGS += -dy -Nfs/sockfs -Ndrv/ip -Ndrv/sdpib
+LDFLAGS += -Nfs/sockfs -Ndrv/ip -Ndrv/sdpib
#
# Default build targets.
@@ -77,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/softmac/Makefile b/usr/src/uts/sparc/softmac/Makefile
index dc9a3f53de..470367c290 100644
--- a/usr/src/uts/sparc/softmac/Makefile
+++ b/usr/src/uts/sparc/softmac/Makefile
@@ -33,7 +33,6 @@ UTSBASE = ../..
#
MODULE = softmac
OBJECTS = $(SOFTMAC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SOFTMAC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/softmac
@@ -46,22 +45,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Overrides
#
-CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndrv/dld -Nmisc/mac -Nmisc/strplumb -Nmisc/dls
+LDFLAGS += -Ndrv/dld -Nmisc/mac -Nmisc/strplumb -Nmisc/dls
#
-# For now, disable these lint checks as it is a generic STREAMS problem;
-# maintainers should endeavor to investigate and remove these for maximum
-# lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-unused-label
@@ -78,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sol_ofs/Makefile b/usr/src/uts/sparc/sol_ofs/Makefile
index 1b2c55fd77..8832388158 100644
--- a/usr/src/uts/sparc/sol_ofs/Makefile
+++ b/usr/src/uts/sparc/sol_ofs/Makefile
@@ -33,9 +33,8 @@ UTSBASE = ../..
#
MODULE = sol_ofs
OBJECTS = $(SOL_OFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SOL_OFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
-LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibcm
+LDFLAGS += -Nmisc/ibtl -Nmisc/ibcm
#
# Include common rules.
@@ -46,18 +45,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_CONST_TRUNCATED_BY_ASSIGN
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
@@ -77,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sol_ucma/Makefile b/usr/src/uts/sparc/sol_ucma/Makefile
index d263e60262..5c25aa1376 100644
--- a/usr/src/uts/sparc/sol_ucma/Makefile
+++ b/usr/src/uts/sparc/sol_ucma/Makefile
@@ -33,9 +33,8 @@ UTSBASE = ../..
#
MODULE = sol_ucma
OBJECTS = $(SOL_UCMA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SOL_UCMA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
-LDFLAGS += -dy -Nmisc/sol_ofs
+LDFLAGS += -Nmisc/sol_ofs
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/of/sol_ucma
#
@@ -47,7 +46,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -56,13 +54,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
INCLUDE_PATH += -I$(UTSBASE)/common/sys/ib/clients/ofv/sol_ucma
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_STATIC_UNUSED
#
# Default build targets.
@@ -77,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sol_umad/Makefile b/usr/src/uts/sparc/sol_umad/Makefile
index 8e7dcaa7ef..84e1f9ce80 100644
--- a/usr/src/uts/sparc/sol_umad/Makefile
+++ b/usr/src/uts/sparc/sol_umad/Makefile
@@ -33,10 +33,9 @@ UTSBASE = ../..
#
MODULE = sol_umad
OBJECTS = $(SOL_UMAD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SOL_UMAD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/of/sol_umad
-LDFLAGS += -dy -Nmisc/sol_ofs -Nmisc/ibmf -Nmisc/ibtl
+LDFLAGS += -Nmisc/sol_ofs -Nmisc/ibmf -Nmisc/ibtl
#
# Include common rules.
@@ -47,7 +46,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -71,12 +69,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sol_uverbs/Makefile b/usr/src/uts/sparc/sol_uverbs/Makefile
index 67ea35fb18..a0efdbd0b8 100644
--- a/usr/src/uts/sparc/sol_uverbs/Makefile
+++ b/usr/src/uts/sparc/sol_uverbs/Makefile
@@ -33,9 +33,8 @@ UTSBASE = ../..
#
MODULE = sol_uverbs
OBJECTS = $(SOL_UVERBS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SOL_UVERBS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
-LDFLAGS += -dy -Nmisc/ibtl -Nmisc/sol_ofs
+LDFLAGS += -Nmisc/ibtl -Nmisc/sol_ofs
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/of/sol_uverbs
#
@@ -47,18 +46,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_CONST_TRUNCATED_BY_ASSIGN
CERRWARN += -_gcc=-Wno-type-limits
CERRWARN += -_gcc=-Wno-switch
@@ -77,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/spdsock/Makefile b/usr/src/uts/sparc/spdsock/Makefile
index 3f7b6d1a49..a314efe4dc 100644
--- a/usr/src/uts/sparc/spdsock/Makefile
+++ b/usr/src/uts/sparc/spdsock/Makefile
@@ -56,13 +56,19 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Linkage dependencies
#
-LDFLAGS += -dy -Ndrv/ip
+LDFLAGS += -Ndrv/ip
#
-# lint pass one enforcement
+# Overrides
#
-CFLAGS += $(CCVERBOSE)
+INC_PATH += -I$(UTSBASE)/common/io/bpf
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
diff --git a/usr/src/uts/sparc/specfs/Makefile b/usr/src/uts/sparc/specfs/Makefile
index 07a23b1309..3db2de25bc 100644
--- a/usr/src/uts/sparc/specfs/Makefile
+++ b/usr/src/uts/sparc/specfs/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = specfs
OBJECTS = $(SPEC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SPEC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,7 +61,7 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DSPEC_MODULE
CLEANFILES += $(MODSTUBS_O)
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nfs/fifofs
+LDFLAGS += -Nfs/fifofs
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -81,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sppp/Makefile b/usr/src/uts/sparc/sppp/Makefile
index c281897458..35260e4162 100644
--- a/usr/src/uts/sparc/sppp/Makefile
+++ b/usr/src/uts/sparc/sppp/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = sppp
OBJECTS = $(SPPP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SPPP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ppp/sppp
@@ -55,7 +54,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -70,12 +68,10 @@ INC_PATH += -I$(UTSBASE)/common/io/ppp/common
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -93,12 +89,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/spppasyn/Makefile b/usr/src/uts/sparc/spppasyn/Makefile
index 60acb99288..d31510e00c 100644
--- a/usr/src/uts/sparc/spppasyn/Makefile
+++ b/usr/src/uts/sparc/spppasyn/Makefile
@@ -25,7 +25,7 @@
# Use is subject to license terms.
# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
-# This makefile drives the production of the spppasyn STREAMS
+# This makefile drives the production of the spppasyn STREAMS
# kernel module.
#
# sparc architecture dependent
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = spppasyn
OBJECTS = $(SPPPASYN_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SPPPASYN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_STRMOD_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,26 +59,16 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
CPPFLAGS += -DINTERNAL_BUILD -DSOL2
-#
+#
# Additional compiler definitions
-#
+#
INC_PATH += -I$(UTSBASE)/common/io/ppp/common
CFLAGS += $(CCVERBOSE)
#
# Define dependency on sppp
#
-LDFLAGS += -dy -N drv/sppp
-
-CLEANLINTFILES += $(LINT64_FILES)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
+LDFLAGS += -N drv/sppp
#
# Default build targets.
@@ -95,12 +83,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/spppcomp/Makefile b/usr/src/uts/sparc/spppcomp/Makefile
index 7f603cc521..1543d4a9d7 100644
--- a/usr/src/uts/sparc/spppcomp/Makefile
+++ b/usr/src/uts/sparc/spppcomp/Makefile
@@ -25,7 +25,7 @@
# Use is subject to license terms.
# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
-# This makefile drives the production of the spppcomp STREAMS
+# This makefile drives the production of the spppcomp STREAMS
# kernel module.
#
# sparc architecture dependent
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = spppcomp
OBJECTS = $(SPPPCOMP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SPPPCOMP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_STRMOD_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -61,30 +59,24 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
CPPFLAGS += -DINTERNAL_BUILD -DSOL2 -DMUX_FRAME
-#
+#
# Additional compiler definitions
-#
+#
INC_PATH += -I$(UTSBASE)/common/io/ppp/common
-CFLAGS += $(CCVERBOSE)
#
# Define dependency on sppp
#
-LDFLAGS += -dy -N drv/sppp
-
-CLEANLINTFILES += $(LINT64_FILES)
-
-CERRWARN += -_gcc=-Wno-parentheses
-CERRWARN += $(CNOWARN_UNINIT)
+LDFLAGS += -N drv/sppp
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
+CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += $(CNOWARN_UNINIT)
#
# Default build targets.
@@ -99,17 +91,8 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
-$(LINTS_DIR)/%.ln: $(UTSBASE)/common/io/ppp/spppcomp/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
$(OBJS_DIR)/%.o: $(UTSBASE)/common/io/ppp/spppcomp/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)
diff --git a/usr/src/uts/sparc/sppptun/Makefile b/usr/src/uts/sparc/sppptun/Makefile
index 94776f4695..de6a4b485b 100644
--- a/usr/src/uts/sparc/sppptun/Makefile
+++ b/usr/src/uts/sparc/sppptun/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = sppptun
OBJECTS = $(SPPPTUN_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SPPPTUN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
ROOTLINK = $(USR_STRMOD_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ppp/sppptun
@@ -56,7 +55,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
#
@@ -68,19 +66,13 @@ CPPFLAGS += -DINTERNAL_BUILD -DSOL2
# Overrides.
#
INC_PATH += -I$(UTSBASE)/common/io/ppp/common
-CFLAGS += $(CCVERBOSE)
-
-CLEANLINTFILES += $(LINT64_FILES)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
@@ -96,12 +88,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(USR_STRMOD_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/srpt/Makefile b/usr/src/uts/sparc/srpt/Makefile
index 424e85470e..9e7bb431f7 100644
--- a/usr/src/uts/sparc/srpt/Makefile
+++ b/usr/src/uts/sparc/srpt/Makefile
@@ -21,7 +21,7 @@
#
# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# This makefile drives the production of the srpt pseudo-driver for
+# This makefile drives the production of the srpt pseudo-driver for
# COMSTAR.
#
@@ -38,7 +38,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = srpt
OBJECTS = $(SRPT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SRPT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/comstar/port/srpt
@@ -51,16 +50,13 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Overrides and depends_on
#
MODSTUBS_DIR = $(OBJS_DIR)
-LDFLAGS += -dy -Ndrv/stmf -Nmisc/ibtl -Nmisc/ibcm
-
-C99LMODE= -Xc99=%all
+LDFLAGS += -Ndrv/stmf -Nmisc/ibtl -Nmisc/ibcm
CERRWARN += -_gcc=-Wno-unused-label
@@ -77,12 +73,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ssd/Makefile b/usr/src/uts/sparc/ssd/Makefile
index 108607f00b..6c564b6e05 100644
--- a/usr/src/uts/sparc/ssd/Makefile
+++ b/usr/src/uts/sparc/ssd/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = ssd
OBJECTS = $(SSD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SSD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sun/io/scsi/targets
@@ -55,26 +54,17 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE) -D__fibre -dalign
-LINTFLAGS += -D__fibre
+CFLAGS += -D__fibre -dalign
WLCCFLAGS = -D__fibre
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-parentheses
@@ -85,7 +75,7 @@ CERRWARN += -_gcc=-Wno-type-limits
# Depends on scsi and cmlb
# fcp included for fibre support
#
-LDFLAGS += -dy -N misc/scsi -N misc/cmlb -N drv/fcp
+LDFLAGS += -N misc/scsi -N misc/cmlb -N drv/fcp
#
# Default build targets.
@@ -100,12 +90,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/st/Makefile b/usr/src/uts/sparc/st/Makefile
index d36ea2464a..1cb3462e2c 100644
--- a/usr/src/uts/sparc/st/Makefile
+++ b/usr/src/uts/sparc/st/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = st
OBJECTS = $(ST_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ST_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sun/io/scsi/targets
@@ -52,28 +51,19 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Define dependency on scsi
#
-LDFLAGS += -dy -N misc/scsi
+LDFLAGS += -N misc/scsi
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -91,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
# Include common targets.
diff --git a/usr/src/uts/sparc/stmf/Makefile b/usr/src/uts/sparc/stmf/Makefile
index f32c38fab7..d6261e67c8 100644
--- a/usr/src/uts/sparc/stmf/Makefile
+++ b/usr/src/uts/sparc/stmf/Makefile
@@ -21,7 +21,7 @@
#
# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# This makefile drives the production of the stmf driver for
+# This makefile drives the production of the stmf driver for
# COMSTAR.
#
@@ -36,7 +36,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = stmf
OBJECTS = $(STMF_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(STMF_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/comstar/stmf
@@ -49,7 +48,6 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -58,14 +56,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
MODSTUBS_DIR = $(OBJS_DIR)
CERRWARN += -erroff=E_STATEMENT_NOT_REACHED
-C99LMODE= -Xc99=%all
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_STATIC_UNUSED
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-switch
@@ -84,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/stmf_sbd/Makefile b/usr/src/uts/sparc/stmf_sbd/Makefile
index bbee85d605..2a442a1271 100644
--- a/usr/src/uts/sparc/stmf_sbd/Makefile
+++ b/usr/src/uts/sparc/stmf_sbd/Makefile
@@ -37,7 +37,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = stmf_sbd
OBJECTS = $(STMF_SBD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(STMF_SBD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/comstar/lu/stmf_sbd
@@ -50,25 +49,20 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Overrides and depends_on
#
MODSTUBS_DIR = $(OBJS_DIR)
-LDFLAGS += -dy -Ndrv/stmf -Nfs/zfs
+LDFLAGS += -Ndrv/stmf -Nfs/zfs
INC_PATH += -I$(UTSBASE)/common/fs/zfs
-C99LMODE= -Xc99=%all
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_STATIC_UNUSED
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-parentheses
@@ -88,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/strplumb/Makefile b/usr/src/uts/sparc/strplumb/Makefile
index 27f3fa9677..f03abcd7b7 100644
--- a/usr/src/uts/sparc/strplumb/Makefile
+++ b/usr/src/uts/sparc/strplumb/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = strplumb
OBJECTS = $(STRPLUMB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(STRPLUMB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -53,23 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
#
@@ -85,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/swapgeneric/Makefile b/usr/src/uts/sparc/swapgeneric/Makefile
index 7f107a95d9..cb58eb5b20 100644
--- a/usr/src/uts/sparc/swapgeneric/Makefile
+++ b/usr/src/uts/sparc/swapgeneric/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = swapgeneric
OBJECTS = $(SWAPGENERIC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SWAPGENERIC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,7 +60,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DSWAPGENERIC_MODULE
CLEANFILES += $(MODSTUBS_O)
-CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
@@ -79,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/swrand/Makefile b/usr/src/uts/sparc/swrand/Makefile
index 5ec8395245..0a727a1eee 100644
--- a/usr/src/uts/sparc/swrand/Makefile
+++ b/usr/src/uts/sparc/swrand/Makefile
@@ -39,7 +39,6 @@ COM_DIR = $(COMMONBASE)/crypto
#
MODULE = swrand
OBJECTS = $(SWRANDPROV_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SWRANDPROV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
#
@@ -51,28 +50,21 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE) -I$(COM_DIR)
-LINTFLAGS += -I$(COM_DIR)
+CFLAGS += -I$(COM_DIR)
#
# Linkage dependencies
#
-LDFLAGS += -dy -Nmisc/kcf -Nmisc/sha1
+LDFLAGS += -Nmisc/kcf -Nmisc/sha1
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-function
#
@@ -88,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sy/Makefile b/usr/src/uts/sparc/sy/Makefile
index bcd403be9f..8a6d4adc59 100644
--- a/usr/src/uts/sparc/sy/Makefile
+++ b/usr/src/uts/sparc/sy/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/sy/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the sy driver
#
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = sy
OBJECTS = $(SY_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SY_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -54,12 +52,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -75,12 +69,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sys/regset.h b/usr/src/uts/sparc/sys/regset.h
index cebf5939a3..4d6dec58c3 100644
--- a/usr/src/uts/sparc/sys/regset.h
+++ b/usr/src/uts/sparc/sys/regset.h
@@ -180,8 +180,8 @@ typedef struct gwindows64 {
*
* Note that the ucontext_t actually describes the general registers in
* terms of the gregset_t data type, as described in mcontex.h. Note also
- * that the core file content is defined by core(4) in terms of data types
- * defined by procfs -- see proc(4).
+ * that the core file content is defined by core(5) in terms of data types
+ * defined by procfs -- see proc(5).
*/
#if !defined(__sparcv9)
#if !defined(_KERNEL) && !defined(_XPG4_2) || defined(__EXTENSIONS__)
diff --git a/usr/src/uts/sparc/sysacct/Makefile b/usr/src/uts/sparc/sysacct/Makefile
index d9f0896630..92910b045f 100644
--- a/usr/src/uts/sparc/sysacct/Makefile
+++ b/usr/src/uts/sparc/sysacct/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/sysacct/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the sysacct driver kernel module.
#
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = sysacct
OBJECTS = $(SYSACCT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SYSACCT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_SYS_DIR)/$(MODULE)
#
@@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -77,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/syscall/getcontext.c b/usr/src/uts/sparc/syscall/getcontext.c
index 3c8dbf9190..3cf07718ad 100644
--- a/usr/src/uts/sparc/syscall/getcontext.c
+++ b/usr/src/uts/sparc/syscall/getcontext.c
@@ -28,7 +28,7 @@
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
-/* All Rights Reserved */
+/* All Rights Reserved */
#include <sys/param.h>
#include <sys/types.h>
@@ -90,7 +90,7 @@ savecontext(ucontext_t *ucp, const k_sigset_t *mask)
* been disabled for this LWP. If stack bounds checking is disabled
* or the copyin() fails, we fall back to the legacy behavior.
*/
- if (lwp->lwp_ustack == NULL ||
+ if (lwp->lwp_ustack == (uintptr_t)NULL ||
copyin((void *)lwp->lwp_ustack, &ucp->uc_stack,
sizeof (ucp->uc_stack)) != 0 ||
ucp->uc_stack.ss_size == 0) {
@@ -392,7 +392,7 @@ savecontext32(ucontext32_t *ucp, const k_sigset_t *mask, struct fq32 *dfq)
* been disabled for this LWP. If stack bounds checking is disabled
* or the copyin() fails, we fall back to the legacy behavior.
*/
- if (lwp->lwp_ustack == NULL ||
+ if (lwp->lwp_ustack == (uintptr_t)NULL ||
copyin((void *)lwp->lwp_ustack, &ucp->uc_stack,
sizeof (ucp->uc_stack)) != 0 ||
ucp->uc_stack.ss_size == 0) {
@@ -418,7 +418,7 @@ savecontext32(ucontext32_t *ucp, const k_sigset_t *mask, struct fq32 *dfq)
if (ucp->uc_mcontext.fpregs.fpu_en == 0)
ucp->uc_flags &= ~UC_FPU;
- ucp->uc_mcontext.gwins = (caddr32_t)NULL;
+ ucp->uc_mcontext.gwins = (caddr32_t)(uintptr_t)NULL;
if (mask != NULL) {
/*
@@ -477,7 +477,7 @@ getsetcontext32(int flag, void *arg)
* a later setcontext(2).
*/
uc.uc_mcontext.fpregs.fpu_qcnt = 0;
- uc.uc_mcontext.fpregs.fpu_q = (caddr32_t)NULL;
+ uc.uc_mcontext.fpregs.fpu_q = (caddr32_t)(uintptr_t)NULL;
if (copyout(&uc, arg, sizeof (ucontext32_t)))
return (set_errno(EFAULT));
diff --git a/usr/src/uts/sparc/sysevent/Makefile b/usr/src/uts/sparc/sysevent/Makefile
index cdeaa8760d..cfec58956f 100644
--- a/usr/src/uts/sparc/sysevent/Makefile
+++ b/usr/src/uts/sparc/sysevent/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/sysevent/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# sysevent driver makefile.
#
@@ -39,7 +38,6 @@ UTSBASE = ../..
#
MODULE = sysevent
OBJECTS = $(SYSEVENT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SYSEVENT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -52,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -73,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/sysmsg/Makefile b/usr/src/uts/sparc/sysmsg/Makefile
index 9ac0183dac..c803f31ed6 100644
--- a/usr/src/uts/sparc/sysmsg/Makefile
+++ b/usr/src/uts/sparc/sysmsg/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/sysmsg/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the sysmsg driver
#
@@ -40,7 +39,6 @@ UTSBASE = ../..
#
MODULE = sysmsg
OBJECTS = $(SYSMSG_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SYSMSG_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -62,13 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -81,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/systrace/Makefile b/usr/src/uts/sparc/systrace/Makefile
index f8e2f88fdd..44ef80cbb1 100644
--- a/usr/src/uts/sparc/systrace/Makefile
+++ b/usr/src/uts/sparc/systrace/Makefile
@@ -23,13 +23,11 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
UTSBASE = ../..
MODULE = systrace
OBJECTS = $(SYSTRACE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SYSTRACE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_DTRACE_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/dtrace
@@ -37,11 +35,10 @@ CONF_SRCDIR = $(UTSBASE)/common/dtrace
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndrv/dtrace
+LDFLAGS += -Ndrv/dtrace
.KEEP_STATE:
@@ -53,12 +50,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_DTRACE_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/tavor/Makefile b/usr/src/uts/sparc/tavor/Makefile
index e5fe4d0452..b821925977 100644
--- a/usr/src/uts/sparc/tavor/Makefile
+++ b/usr/src/uts/sparc/tavor/Makefile
@@ -38,10 +38,9 @@ UTSBASE = ../..
#
MODULE = tavor
OBJECTS = $(TAVOR_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TAVOR_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ib/adapters/tavor
-LDFLAGS += -dy -Ndrv/ib -Nmisc/ibtl -Nmisc/ibmf
+LDFLAGS += -Ndrv/ib -Nmisc/ibtl -Nmisc/ibmf
#
# Include common rules.
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -60,7 +58,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
-CLEANLINTFILES += $(LINT32_FILES)
#
# Build with no debug TNF probes enabled (by default)
@@ -69,19 +66,11 @@ CLEANLINTFILES += $(LINT32_FILES)
#DEBUG_DEFS_DBG64 += -DTNF_DEBUG
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-value
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
@@ -96,16 +85,11 @@ def: $(DEF_DEPS)
all: $(ALL_DEPS)
-lint: $(LINT_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-modlintlib: $(MODLINTLIB_DEPS) lint32
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tclient/Makefile b/usr/src/uts/sparc/tclient/Makefile
index 10ef9227c7..35d77ada27 100644
--- a/usr/src/uts/sparc/tclient/Makefile
+++ b/usr/src/uts/sparc/tclient/Makefile
@@ -23,7 +23,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the tclient kernel
# driver to testing mpxio configurations
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = tclient
OBJECTS = $(TCLIENT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TCLIENT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
#
@@ -54,12 +53,8 @@ CFLAGS += $(CCVERBOSE)
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -75,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tcp/Makefile b/usr/src/uts/sparc/tcp/Makefile
index 7276ecfaeb..aceb782ec6 100644
--- a/usr/src/uts/sparc/tcp/Makefile
+++ b/usr/src/uts/sparc/tcp/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = tcp
OBJECTS = $(TCP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TCP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE) $(ROOT_SOCK_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/tcp
@@ -59,12 +58,8 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
@@ -76,7 +71,7 @@ CFLAGS += -xinline=tcp_set_ws_value,tcp_fill_header
#
# depends on ip, md5 and sockfs
#
-LDFLAGS += -dy -Ndrv/ip -Ncrypto/md5 -Nfs/sockfs
+LDFLAGS += -Ndrv/ip -Ncrypto/md5 -Nfs/sockfs
#
# Default build targets.
@@ -91,12 +86,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOT_SOCK_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/tcp6/Makefile b/usr/src/uts/sparc/tcp6/Makefile
index f8f9eb0970..12d70f2853 100644
--- a/usr/src/uts/sparc/tcp6/Makefile
+++ b/usr/src/uts/sparc/tcp6/Makefile
@@ -23,7 +23,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the tcp6 driver kernel module.
#
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = tcp6
OBJECTS = $(TCP6_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TCP6_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/tcp
@@ -53,14 +52,10 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndrv/tcp -Ndrv/ip -Ndrv/ip6
+LDFLAGS += -Ndrv/tcp -Ndrv/ip -Ndrv/ip6
#
# Default build targets.
@@ -75,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/telmod/Makefile b/usr/src/uts/sparc/telmod/Makefile
index 7015a89727..15ac2a65e1 100644
--- a/usr/src/uts/sparc/telmod/Makefile
+++ b/usr/src/uts/sparc/telmod/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = telmod
OBJECTS = $(TELMOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TELMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_STRMOD_DIR)/$(MODULE)
#
@@ -53,22 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
#
@@ -84,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tem/Makefile b/usr/src/uts/sparc/tem/Makefile
index 12d9741c56..ac63740ef8 100644
--- a/usr/src/uts/sparc/tem/Makefile
+++ b/usr/src/uts/sparc/tem/Makefile
@@ -40,9 +40,6 @@ UTSBASE = ../..
#
MODULE = tem
OBJECTS = $(TEM_OBJS:%=$(OBJS_DIR)/%) $(FONT_OBJS:%=$(OBJS_DIR)/%)
-
-LINTS = $(TEM_OBJS:%.o=$(LINTS_DIR)/%.ln)
-LINTS += $(FONT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -54,22 +51,9 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-CFLAGS += $(CCVERBOSE)
-
-LDFLAGS += -dy -Ndacf/consconfig_dacf
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
-CERRWARN += -_gcc=-Wno-unused-function
-CERRWARN += $(CNOWARN_UNINIT)
+LDFLAGS += -Ndacf/consconfig_dacf
#
# Default build targets.
@@ -84,19 +68,9 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/sparc/Makefile.targ
-
-CLOBBERFILES += \
- $(OBJS_DIR)/$(VGATEXT_FONT).o \
- $(OBJS_DIR)/$(VGATEXT_FONT).c
diff --git a/usr/src/uts/sparc/timerfd/Makefile b/usr/src/uts/sparc/timerfd/Makefile
index 969ca6dd1a..1a8dbdd5ec 100644
--- a/usr/src/uts/sparc/timerfd/Makefile
+++ b/usr/src/uts/sparc/timerfd/Makefile
@@ -23,7 +23,6 @@ UTSBASE = ../..
#
MODULE = timerfd
OBJECTS = $(TIMERFD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TIMERFD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -38,7 +37,6 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -54,12 +52,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/timod/Makefile b/usr/src/uts/sparc/timod/Makefile
index 3ecd937f14..67a62c0aaf 100644
--- a/usr/src/uts/sparc/timod/Makefile
+++ b/usr/src/uts/sparc/timod/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/timod/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the timod streams kernel
# module.
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = timod
OBJECTS = $(TIMOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TIMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -53,23 +51,11 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -82,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tirdwr/Makefile b/usr/src/uts/sparc/tirdwr/Makefile
index c9140dccd1..e769f809be 100644
--- a/usr/src/uts/sparc/tirdwr/Makefile
+++ b/usr/src/uts/sparc/tirdwr/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = tirdwr
OBJECTS = $(TIRDWR_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TIRDWR_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -53,22 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
#
@@ -84,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tl/Makefile b/usr/src/uts/sparc/tl/Makefile
index 21104104ce..62cb6a4395 100644
--- a/usr/src/uts/sparc/tl/Makefile
+++ b/usr/src/uts/sparc/tl/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = tl
OBJECTS = $(TL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,30 +52,21 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Depends on ip; this is for sharing common option management code
# which happens to live in "ip" kernel module only. Needed to do
# AF_UNIX socket options.
#
-LDFLAGS += -dy -Ndrv/ip
+LDFLAGS += -Ndrv/ip
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -94,12 +84,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tlimod/Makefile b/usr/src/uts/sparc/tlimod/Makefile
index 7da7ffaf30..1240954f90 100644
--- a/usr/src/uts/sparc/tlimod/Makefile
+++ b/usr/src/uts/sparc/tlimod/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/tlimod/Makefile
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the tlimod
# kernel module.
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = tlimod
OBJECTS = $(TLIMOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TLIMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -74,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tmpfs/Makefile b/usr/src/uts/sparc/tmpfs/Makefile
index 42ec7b74c6..69ce75d2f6 100644
--- a/usr/src/uts/sparc/tmpfs/Makefile
+++ b/usr/src/uts/sparc/tmpfs/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = tmpfs
OBJECTS = $(TMPFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TMPFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,12 +60,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -86,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tnf/Makefile b/usr/src/uts/sparc/tnf/Makefile
index f450067556..44de22b9e4 100644
--- a/usr/src/uts/sparc/tnf/Makefile
+++ b/usr/src/uts/sparc/tnf/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = tnf
OBJECTS = $(TNF_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TNF_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/tnf
@@ -53,7 +52,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -63,12 +61,10 @@ CCMODE = -Xt
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -86,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tokenmt/Makefile b/usr/src/uts/sparc/tokenmt/Makefile
index 7009985f0d..4877b7a56c 100644
--- a/usr/src/uts/sparc/tokenmt/Makefile
+++ b/usr/src/uts/sparc/tokenmt/Makefile
@@ -23,7 +23,6 @@
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
#
# This makefile creates the tokenmt metering (ipp) module.
# sparc architecture dependent
@@ -39,7 +38,6 @@ UTSBASE = ../..
#
MODULE = tokenmt
OBJECTS = $(TOKENMT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TOKENMT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_IPP_DIR)/$(MODULE)
#
@@ -56,22 +54,10 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndrv/ip
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
+LDFLAGS += -Ndrv/ip
#
# Default build targets.
@@ -86,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tphci/Makefile b/usr/src/uts/sparc/tphci/Makefile
index c5e21e16d0..406b196e4b 100644
--- a/usr/src/uts/sparc/tphci/Makefile
+++ b/usr/src/uts/sparc/tphci/Makefile
@@ -43,7 +43,6 @@ UTSBASE = ../..
#
MODULE = tphci
OBJECTS = $(TPHCI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TPHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
#
@@ -55,7 +54,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -77,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/trill/Makefile b/usr/src/uts/sparc/trill/Makefile
index 0a4229f9be..1eb8cb4e5c 100644
--- a/usr/src/uts/sparc/trill/Makefile
+++ b/usr/src/uts/sparc/trill/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = trill
OBJECTS = $(TRILL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TRILL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_SOCK_DIR)/$(MODULE)
#
@@ -54,14 +53,13 @@ CERRWARN += $(CNOWARN_UNINIT)
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndrv/bridge -Nmisc/mac -Nmisc/dls -Nfs/sockfs
+LDFLAGS += -Ndrv/bridge -Nmisc/mac -Nmisc/dls -Nfs/sockfs
#
# Default build targets.
@@ -76,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tswtclmt/Makefile b/usr/src/uts/sparc/tswtclmt/Makefile
index 0dd5c681e7..53b186073e 100644
--- a/usr/src/uts/sparc/tswtclmt/Makefile
+++ b/usr/src/uts/sparc/tswtclmt/Makefile
@@ -23,7 +23,6 @@
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
#
# This makefile creates the tswtclmt (ipp) module.
# sparc architecture dependent
@@ -39,7 +38,6 @@ UTSBASE = ../..
#
MODULE = tswtclmt
OBJECTS = $(TSWTCL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TSWTCL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_IPP_DIR)/$(MODULE)
#
@@ -56,22 +54,10 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndrv/ip
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
+LDFLAGS += -Ndrv/ip
#
# Default build targets.
@@ -86,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ttcompat/Makefile b/usr/src/uts/sparc/ttcompat/Makefile
index 710e729ad5..0594fe6269 100644
--- a/usr/src/uts/sparc/ttcompat/Makefile
+++ b/usr/src/uts/sparc/ttcompat/Makefile
@@ -19,11 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/ttcompat/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the ttcompat streams kernel
# module.
@@ -41,7 +40,6 @@ UTSBASE = ../..
#
MODULE = ttcompat
OBJECTS = $(TTCOMPAT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TTCOMPAT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -53,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -62,14 +59,6 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-
-#
# Default build targets.
#
.KEEP_STATE:
@@ -82,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/tvhci/Makefile b/usr/src/uts/sparc/tvhci/Makefile
index e487290629..4fe51879ef 100644
--- a/usr/src/uts/sparc/tvhci/Makefile
+++ b/usr/src/uts/sparc/tvhci/Makefile
@@ -42,7 +42,6 @@ UTSBASE = ../..
#
MODULE = tvhci
OBJECTS = $(TVHCI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TVHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
@@ -55,7 +54,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -64,11 +62,10 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE) -dalign
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_STATIC_UNUSED
CERRWARN += -_gcc=-Wno-unused-function
#
@@ -84,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/udfs/Makefile b/usr/src/uts/sparc/udfs/Makefile
index a47ed38860..99d38c6fa2 100644
--- a/usr/src/uts/sparc/udfs/Makefile
+++ b/usr/src/uts/sparc/udfs/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = udfs
OBJECTS = $(UDFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(UDFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -65,19 +63,13 @@ CFLAGS += $(CCVERBOSE)
#
# Define dependency on specfs
#
-LDFLAGS += -dy -N fs/specfs
+LDFLAGS += -N fs/specfs
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
@@ -97,12 +89,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
putback:
diff --git a/usr/src/uts/sparc/udp/Makefile b/usr/src/uts/sparc/udp/Makefile
index 07a4435112..b9fc4b714a 100644
--- a/usr/src/uts/sparc/udp/Makefile
+++ b/usr/src/uts/sparc/udp/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = udp
OBJECTS = $(UDP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(UDP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE) $(ROOT_SOCK_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/udp
@@ -59,18 +58,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
# depends on ip and sockfs
#
-LDFLAGS += -dy -Ndrv/ip -Nfs/sockfs
+LDFLAGS += -Ndrv/ip -Nfs/sockfs
#
# Default build targets.
@@ -85,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOT_SOCK_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/udp6/Makefile b/usr/src/uts/sparc/udp6/Makefile
index af905cda2d..2b6cf5e993 100644
--- a/usr/src/uts/sparc/udp6/Makefile
+++ b/usr/src/uts/sparc/udp6/Makefile
@@ -23,7 +23,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the udp6 driver kernel module.
#
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = udp6
OBJECTS = $(UDP6_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(UDP6_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/udp
@@ -53,18 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
# depends on udp ip and ip6
#
-LDFLAGS += -dy -Ndrv/udp -Ndrv/ip -Ndrv/ip6
+LDFLAGS += -Ndrv/udp -Ndrv/ip -Ndrv/ip6
#
# Default build targets.
@@ -79,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ufm/Makefile b/usr/src/uts/sparc/ufm/Makefile
index abe94f08fc..e27a726038 100644
--- a/usr/src/uts/sparc/ufm/Makefile
+++ b/usr/src/uts/sparc/ufm/Makefile
@@ -17,14 +17,12 @@ UTSBASE = ../..
MODULE = ufm
OBJECTS = $(OBJS_DIR)/ufm.o
-LINTS = $(LINTS_DIR)/ufm.ln
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
.KEEP_STATE:
@@ -37,12 +35,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
include $(UTSBASE)/sparc/Makefile.targ
diff --git a/usr/src/uts/sparc/ufmtest/Makefile b/usr/src/uts/sparc/ufmtest/Makefile
index 44827a5d96..125445d510 100644
--- a/usr/src/uts/sparc/ufmtest/Makefile
+++ b/usr/src/uts/sparc/ufmtest/Makefile
@@ -17,14 +17,12 @@ UTSBASE = ../..
MODULE = ufmtest
OBJECTS = $(OBJS_DIR)/ufmtest.o
-LINTS = $(LINTS_DIR)/ufmtest.ln
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
.KEEP_STATE:
@@ -37,12 +35,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
include $(UTSBASE)/sparc/Makefile.targ
diff --git a/usr/src/uts/sparc/ufs/Makefile b/usr/src/uts/sparc/ufs/Makefile
index 0e13f2371f..183d2f011c 100644
--- a/usr/src/uts/sparc/ufs/Makefile
+++ b/usr/src/uts/sparc/ufs/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = ufs
OBJECTS = $(UFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(UFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
@@ -50,22 +49,15 @@ ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
include $(UTSBASE)/sparc/Makefile.sparc
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -75,7 +67,7 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DUFS_MODULE
CLEANFILES += $(MODSTUBS_O)
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nfs/specfs -Nmisc/fssnap_if
+LDFLAGS += -Nfs/specfs -Nmisc/fssnap_if
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -95,12 +87,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/ugen/Makefile b/usr/src/uts/sparc/ugen/Makefile
index 49918eeb70..5575258af7 100644
--- a/usr/src/uts/sparc/ugen/Makefile
+++ b/usr/src/uts/sparc/ugen/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = ugen
OBJECTS = $(UGEN_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(UGEN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -50,21 +49,22 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
include $(UTSBASE)/sparc/Makefile.sparc
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
# depends on misc/usba
#
-LDFLAGS += -dy -Nmisc/usba
+LDFLAGS += -Nmisc/usba
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -77,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/uhci/Makefile b/usr/src/uts/sparc/uhci/Makefile
index 6895a2e161..3b8c80bfe8 100644
--- a/usr/src/uts/sparc/uhci/Makefile
+++ b/usr/src/uts/sparc/uhci/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = uhci
OBJECTS = $(UHCI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(UHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/uhci
@@ -50,30 +49,23 @@ CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/uhci
include $(UTSBASE)/sparc/Makefile.sparc
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# depends on misc/usba
#
-LDFLAGS += -dy -Nmisc/usba
+LDFLAGS += -Nmisc/usba
#
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-CERRWARN += $(CNOWARN_UNINIT)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+CFLAGS += $(CCVERBOSE)
+CERRWARN += $(CNOWARN_UNINIT)
.KEEP_STATE:
@@ -85,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usb_ac/Makefile b/usr/src/uts/sparc/usb_ac/Makefile
index 5915676942..5983b63767 100644
--- a/usr/src/uts/sparc/usb_ac/Makefile
+++ b/usr/src/uts/sparc/usb_ac/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = usb_ac
OBJECTS = $(USB_AC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USB_AC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/usb/clients/audio/usb_ac
@@ -48,33 +47,28 @@ CONF_SRCDIR = $(UTSBASE)/common/io/usb/clients/audio/usb_ac
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
+
#
-LDFLAGS += -dy -Nmisc/usba -Ndrv/audio
+LDFLAGS += -Nmisc/usba -Ndrv/audio
#
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-type-limits
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += $(CNOWARN_UNINIT)
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
.KEEP_STATE:
all: $(ALL_DEPS)
@@ -85,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usb_ah/Makefile b/usr/src/uts/sparc/usb_ah/Makefile
index 7ab174b77b..d6f0edc227 100644
--- a/usr/src/uts/sparc/usb_ah/Makefile
+++ b/usr/src/uts/sparc/usb_ah/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = usb_ah
OBJECTS = $(USB_AH_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USB_AH_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -47,31 +46,25 @@ ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
#
# depends on usba, hidparser and audio related misc modules
#
-LDFLAGS += -dy -Nmisc/usba -Nmisc/hidparser -Ndrv/usb_ac
+LDFLAGS += -Nmisc/usba -Nmisc/hidparser -Ndrv/usb_ac
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-CERRWARN += $(CNOWARN_UNINIT)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+CFLAGS += $(CCVERBOSE)
+CERRWARN += $(CNOWARN_UNINIT)
.KEEP_STATE:
@@ -83,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usb_as/Makefile b/usr/src/uts/sparc/usb_as/Makefile
index 75b280aea7..14f00f56f4 100644
--- a/usr/src/uts/sparc/usb_as/Makefile
+++ b/usr/src/uts/sparc/usb_as/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = usb_as
OBJECTS = $(USB_AS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USB_AS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,29 +48,24 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
+
#
-LDFLAGS += -dy -Nmisc/usba -Ndrv/usb_ac
+LDFLAGS += -Nmisc/usba -Ndrv/usb_ac
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-CERRWARN += -_gcc=-Wno-unused-label
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-unused-label
.KEEP_STATE:
@@ -83,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usb_ia/Makefile b/usr/src/uts/sparc/usb_ia/Makefile
index bbb641d95f..622e9438bf 100644
--- a/usr/src/uts/sparc/usb_ia/Makefile
+++ b/usr/src/uts/sparc/usb_ia/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = usb_ia
OBJECTS = $(USB_IA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USB_IA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,21 +48,17 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
# depends on misc/usba
#
-LDFLAGS += -dy -Nmisc/usba
+LDFLAGS += -Nmisc/usba
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -76,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usb_mid/Makefile b/usr/src/uts/sparc/usb_mid/Makefile
index a1b63e810d..876eb83471 100644
--- a/usr/src/uts/sparc/usb_mid/Makefile
+++ b/usr/src/uts/sparc/usb_mid/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = usb_mid
OBJECTS = $(USB_MID_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USB_MID_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,21 +48,17 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
# depends on misc/usba
#
-LDFLAGS += -dy -Nmisc/usba
+LDFLAGS += -Nmisc/usba
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -76,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usba/Makefile b/usr/src/uts/sparc/usba/Makefile
index 8443b068e5..45a8954170 100644
--- a/usr/src/uts/sparc/usba/Makefile
+++ b/usr/src/uts/sparc/usba/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = usba
OBJECTS = $(USBA_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -47,10 +46,11 @@ ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
include $(UTSBASE)/sparc/Makefile.sparc
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
@@ -62,7 +62,6 @@ CERRWARN += -_gcc=-Wno-unused-variable
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -75,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usba10/Makefile b/usr/src/uts/sparc/usba10/Makefile
index aa5eb4cc2f..07fae8a25f 100644
--- a/usr/src/uts/sparc/usba10/Makefile
+++ b/usr/src/uts/sparc/usba10/Makefile
@@ -21,9 +21,6 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# uts/sparc/usba10/Makefile
-
-#ident "%Z%%M% %I% %E% SMI"
#
# This makefile drives the production of the usba kernel module.
@@ -38,7 +35,6 @@ UTSBASE = ../..
#
MODULE = usba10
OBJECTS = $(USBA10_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBA10_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -46,21 +42,17 @@ ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
# depends on misc/usba
#
-LDFLAGS += -dy -Nmisc/usba
+LDFLAGS += -Nmisc/usba
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -73,12 +65,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usbecm/Makefile b/usr/src/uts/sparc/usbecm/Makefile
index e4bfdcb03f..27e0416f22 100644
--- a/usr/src/uts/sparc/usbecm/Makefile
+++ b/usr/src/uts/sparc/usbecm/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = usbecm
OBJECTS = $(USBECM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBECM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -45,18 +44,14 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-LDFLAGS += -dy -Nmisc/usba -Nmisc/mac
+LDFLAGS += -Nmisc/usba -Nmisc/mac
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -69,12 +64,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usbftdi/Makefile b/usr/src/uts/sparc/usbftdi/Makefile
index 9e793402e4..033e46abd1 100644
--- a/usr/src/uts/sparc/usbftdi/Makefile
+++ b/usr/src/uts/sparc/usbftdi/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = usbftdi
OBJECTS = $(USBFTDI_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBFTDI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/usb/clients/usbser/usbftdi
@@ -48,13 +47,12 @@ include $(UTSBASE)/sparc/Makefile.sparc
CERRWARN += $(CNOWARN_UNINIT)
-LDFLAGS += -dy -Nmisc/usba -Nmisc/usbser
+LDFLAGS += -Nmisc/usba -Nmisc/usbser
#
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
.KEEP_STATE:
@@ -67,12 +65,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usbkbm/Makefile b/usr/src/uts/sparc/usbkbm/Makefile
index bfbe28b2a0..8cdacb0de9 100644
--- a/usr/src/uts/sparc/usbkbm/Makefile
+++ b/usr/src/uts/sparc/usbkbm/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = usbkbm
OBJECTS = $(USBKBM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBKBM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -48,30 +47,19 @@ ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
+CFLAGS += $(CCVERBOSE)
#
# depends on misc/usba
#
-LDFLAGS += -dy -Nmisc/usba -Nmisc/kbtrans -Nmisc/hidparser
+LDFLAGS += -Nmisc/usba -Nmisc/kbtrans -Nmisc/hidparser
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
-# Please do not carry these forward to new Makefiles.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
.KEEP_STATE:
def: $(DEF_DEPS)
@@ -82,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
diff --git a/usr/src/uts/sparc/usbms/Makefile b/usr/src/uts/sparc/usbms/Makefile
index 6d4be539a3..e0812d64dd 100644
--- a/usr/src/uts/sparc/usbms/Makefile
+++ b/usr/src/uts/sparc/usbms/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = usbms
OBJECTS = $(USBMS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBMS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -48,32 +47,27 @@ ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
+
#
# depends on misc/usba
#
-LDFLAGS += -dy -Nmisc/usba -Nmisc/hidparser
+LDFLAGS += -Nmisc/usba -Nmisc/hidparser
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-CERRWARN += -_gcc=-Wno-parentheses
-CERRWARN += $(CNOWARN_UNINIT)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += $(CNOWARN_UNINIT)
.KEEP_STATE:
@@ -85,12 +79,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
diff --git a/usr/src/uts/sparc/usbprn/Makefile b/usr/src/uts/sparc/usbprn/Makefile
index 8a797f86b8..390a6bb577 100644
--- a/usr/src/uts/sparc/usbprn/Makefile
+++ b/usr/src/uts/sparc/usbprn/Makefile
@@ -39,7 +39,6 @@ UTSBASE = ../..
#
MODULE = usbprn
OBJECTS = $(USBPRN_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBPRN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -47,20 +46,16 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
# depends on misc/usba
-LDFLAGS += -dy -Nmisc/usba
+LDFLAGS += -Nmisc/usba
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -73,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usbs49_fw/Makefile b/usr/src/uts/sparc/usbs49_fw/Makefile
index 2e709f98a3..c48a14fb15 100644
--- a/usr/src/uts/sparc/usbs49_fw/Makefile
+++ b/usr/src/uts/sparc/usbs49_fw/Makefile
@@ -23,9 +23,6 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# uts/sparc/usbs49_fw/Makefile
#
# This makefile drives the production of the usbs49_fw kernel module.
@@ -40,7 +37,6 @@ UTSBASE = ../..
#
MODULE = usbs49_fw
OBJECTS = $(USBS49_FW_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBS49_FW_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -48,16 +44,12 @@ ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -70,12 +62,6 @@ clean: $(CLEAN_DEPS);
clobber: $(CLOBBER_DEPS);
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usbsacm/Makefile b/usr/src/uts/sparc/usbsacm/Makefile
index 6655e2b194..7a521908ad 100644
--- a/usr/src/uts/sparc/usbsacm/Makefile
+++ b/usr/src/uts/sparc/usbsacm/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = usbsacm
OBJECTS = $(USBSACM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBSACM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -45,20 +44,20 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
+LDFLAGS += -Nmisc/usba -Nmisc/usbser
+
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
-
-LDFLAGS += -dy -Nmisc/usba -Nmisc/usbser
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -71,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usbser/Makefile b/usr/src/uts/sparc/usbser/Makefile
index 7f7c072d46..c0f1d69a35 100644
--- a/usr/src/uts/sparc/usbser/Makefile
+++ b/usr/src/uts/sparc/usbser/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = usbser
OBJECTS = $(USBSER_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBSER_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
@@ -47,29 +46,22 @@ ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
include $(UTSBASE)/sparc/Makefile.sparc
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# depends on misc/usba
#
-LDFLAGS += -dy -Nmisc/usba
+LDFLAGS += -Nmisc/usba
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
@@ -84,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usbskel/Makefile b/usr/src/uts/sparc/usbskel/Makefile
index 627b16e9d9..5015768303 100644
--- a/usr/src/uts/sparc/usbskel/Makefile
+++ b/usr/src/uts/sparc/usbskel/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = usbskel
OBJECTS = $(USBSKEL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBSKEL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/usb/clients/usbskel
@@ -50,21 +49,17 @@ CONF_SRCDIR = $(UTSBASE)/common/io/usb/clients/usbskel
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
#
# depends on misc/usba
#
-LDFLAGS += -dy -Nmisc/usba
+LDFLAGS += -Nmisc/usba
#
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
.KEEP_STATE:
@@ -77,12 +72,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usbsksp/Makefile b/usr/src/uts/sparc/usbsksp/Makefile
index 3172890fca..a2605f1a2b 100644
--- a/usr/src/uts/sparc/usbsksp/Makefile
+++ b/usr/src/uts/sparc/usbsksp/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = usbsksp
OBJECTS = $(USBSER_KEYSPAN_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBSER_KEYSPAN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,17 +48,19 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
include $(UTSBASE)/sparc/Makefile.sparc
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
+CFLAGS += $(CCVERBOSE)
+CERRWARN += $(CNOWARN_UNINIT)
-LDFLAGS += -dy -Nmisc/usba -Nmisc/usbser -Nmisc/usbs49_fw
+LDFLAGS += -Nmisc/usba -Nmisc/usbser -Nmisc/usbs49_fw
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -72,17 +73,9 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/sparc/Makefile.targ
-
-CERRWARN += $(CNOWARN_UNINIT)
diff --git a/usr/src/uts/sparc/usbsprl/Makefile b/usr/src/uts/sparc/usbsprl/Makefile
index a5e3449d2e..452eff43b0 100644
--- a/usr/src/uts/sparc/usbsprl/Makefile
+++ b/usr/src/uts/sparc/usbsprl/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = usbsprl
OBJECTS = $(USBSPRL_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBSPRL_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -47,19 +46,19 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
include $(UTSBASE)/sparc/Makefile.sparc
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
-LDFLAGS += -dy -Nmisc/usba -Nmisc/usbser
+LDFLAGS += -Nmisc/usba -Nmisc/usbser
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -72,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usbvc/Makefile b/usr/src/uts/sparc/usbvc/Makefile
index 876c334829..38517d74f6 100644
--- a/usr/src/uts/sparc/usbvc/Makefile
+++ b/usr/src/uts/sparc/usbvc/Makefile
@@ -43,7 +43,6 @@ UTSBASE = ../..
#
MODULE = usbvc
OBJECTS = $(USBVC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBVC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -52,28 +51,22 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
include $(UTSBASE)/sparc/Makefile.sparc
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# depends on misc/usba
-LDFLAGS += -dy -Nmisc/usba
+LDFLAGS += -Nmisc/usba
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-CERRWARN += $(CNOWARN_UNINIT)
-
#
-# Disable this because it is necessary for this driver
-# and it is surely safe
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+CFLAGS += $(CCVERBOSE)
+CERRWARN += $(CNOWARN_UNINIT)
.KEEP_STATE:
@@ -85,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/usbwcm/Makefile b/usr/src/uts/sparc/usbwcm/Makefile
index 05e339f96f..8e099cbe47 100644
--- a/usr/src/uts/sparc/usbwcm/Makefile
+++ b/usr/src/uts/sparc/usbwcm/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = usbwcm
OBJECTS = $(USBWCM_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(USBWCM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -48,32 +47,25 @@ ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
#
# depends on misc/usba
#
-LDFLAGS += -dy -Nmisc/usba
+LDFLAGS += -Nmisc/usba
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
-CERRWARN += -_gcc=-Wno-parentheses
-CERRWARN += $(CNOWARN_UNINIT)
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += $(CNOWARN_UNINIT)
.KEEP_STATE:
@@ -85,12 +77,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
diff --git a/usr/src/uts/sparc/v7/sys/privregs.h b/usr/src/uts/sparc/v7/sys/privregs.h
index 59a22369f5..104ff3cc71 100644
--- a/usr/src/uts/sparc/v7/sys/privregs.h
+++ b/usr/src/uts/sparc/v7/sys/privregs.h
@@ -48,7 +48,7 @@ extern "C" {
/*
* This structure is only here for compatibility. It is not used by the kernel
* and may be removed in a future release. A better way to access this data
- * is to use gregset_t; see proc(4) and ucontext(3HEAD).
+ * is to use gregset_t; see proc(5) and ucontext(3HEAD).
*/
struct regs {
long r_psr; /* processor status register */
diff --git a/usr/src/uts/sparc/v9/Makefile.files b/usr/src/uts/sparc/v9/Makefile.files
index 55a90f5461..21a291c1ac 100644
--- a/usr/src/uts/sparc/v9/Makefile.files
+++ b/usr/src/uts/sparc/v9/Makefile.files
@@ -20,14 +20,13 @@
# CDDL HEADER END
#
#
-# uts/sparc/v9/Makefile.files
# Copyright 1991,1998-1999,2003 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This Makefile defines all file modules and build rules for the
-# directory uts/sparc/v9 and it's children. These are the source files which
+# directory uts/sparc/v9 and its children. These are the source files which
# are specific to the sparcv9 processor.
#
@@ -62,10 +61,7 @@ INC_PATH += -I$(UTSBASE)/sparc/v9
#
# Since assym.h is a derived file, the dependency must be explicit for
-# all files including this file. (This is only actually required in the
-# instance when the .nse_depinfo file does not exist.) It may seem that
-# the lint targets should also have a similar dependency, but they don't
-# since only C headers are included when #defined(lint) is true.
+# all files including this file.
#
ASSYM_DEPS += crt.o \
float.o \
diff --git a/usr/src/uts/sparc/v9/Makefile.rules b/usr/src/uts/sparc/v9/Makefile.rules
index 36c5331f43..d094ba364f 100644
--- a/usr/src/uts/sparc/v9/Makefile.rules
+++ b/usr/src/uts/sparc/v9/Makefile.rules
@@ -23,7 +23,7 @@
# Copyright 1991-2002 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
+
#
# This Makefile defines all file modules and build rules for the
# directory uts/sparc/v9 and its children. These are the source files which
@@ -58,22 +58,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sparc/v9/syscall/%.c
$(OBJS_DIR)/%.o: $(UTSBASE)/sparc/v9/vm/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)
-
-#
-# Section 1b: Lint `object' build rules.
-#
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/v9/fpu/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/v9/ml/%.s
- @($(LHEAD) $(LINT.s) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/v9/os/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/v9/syscall/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
-$(LINTS_DIR)/%.ln: $(UTSBASE)/sparc/v9/vm/%.c
- @($(LHEAD) $(LINT.c) $< $(LTAIL))
-
diff --git a/usr/src/uts/sparc/v9/ml/crt.s b/usr/src/uts/sparc/v9/ml/crt.s
index 0ee5b78947..3e5af1e960 100644
--- a/usr/src/uts/sparc/v9/ml/crt.s
+++ b/usr/src/uts/sparc/v9/ml/crt.s
@@ -25,12 +25,6 @@
#ident "%Z%%M% %I% %E% SMI" /* From SunOS 4.1 1.6 */
-#if defined(lint)
-#include <sys/types.h>
-#include <sys/regset.h>
-#include <sys/privregs.h>
-#endif /* lint */
-
#include <sys/asm_linkage.h>
#include <sys/trap.h>
#include <sys/machtrap.h>
@@ -43,8 +37,6 @@
* get lint prototypes.
*/
-#if !defined(lint)
-
/*
* Structure return
*/
@@ -158,4 +150,3 @@
srax %o1, 32, %o0
SET_SIZE(__urem64)
-#endif /* !lint */
diff --git a/usr/src/uts/sparc/v9/ml/ddi_v9_asm.s b/usr/src/uts/sparc/v9/ml/ddi_v9_asm.s
index f9db80b40f..b7c6d11660 100644
--- a/usr/src/uts/sparc/v9/ml/ddi_v9_asm.s
+++ b/usr/src/uts/sparc/v9/ml/ddi_v9_asm.s
@@ -23,8 +23,6 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/asi.h>
#include <sys/asm_linkage.h>
#include <sys/machthread.h>
@@ -32,18 +30,10 @@
#include <sys/ontrap.h>
#include <sys/dditypes.h>
-#ifndef lint
#include "assym.h"
-#endif
-
-#if defined(lint)
-#include <sys/isa_defs.h>
-#include <sys/types.h>
-#include <sys/sunddi.h>
-#endif /* lint */
/*
- * This file implements the following ddi common access
+ * This file implements the following ddi common access
* functions:
*
* ddi_get{8,16,32,64}
@@ -58,506 +48,19 @@
* accessible via ld/st instructions.
*/
-#if defined(lint)
-
-/*ARGSUSED*/
-uint8_t
-ddi_get8(ddi_acc_handle_t handle, uint8_t *addr)
-{
- return (0);
-}
-
-/*ARGSUSED*/
-uint8_t
-ddi_mem_get8(ddi_acc_handle_t handle, uint8_t *addr)
-{
- return (0);
-}
-
-/*ARGSUSED*/
-uint8_t
-ddi_io_get8(ddi_acc_handle_t handle, uint8_t *dev_addr)
-{
- return (0);
-}
-
-/*ARGSUSED*/
-uint16_t
-ddi_get16(ddi_acc_handle_t handle, uint16_t *addr)
-{
- return (0);
-}
-
-/*ARGSUSED*/
-uint16_t
-ddi_mem_get16(ddi_acc_handle_t handle, uint16_t *addr)
-{
- return (0);
-}
-
-/*ARGSUSED*/
-uint16_t
-ddi_io_get16(ddi_acc_handle_t handle, uint16_t *dev_addr)
-{
- return (0);
-}
-
-/*ARGSUSED*/
-uint32_t
-ddi_get32(ddi_acc_handle_t handle, uint32_t *addr)
-{
- return (0);
-}
-
-/*ARGSUSED*/
-uint32_t
-ddi_mem_get32(ddi_acc_handle_t handle, uint32_t *addr)
-{
- return (0);
-}
-
-/*ARGSUSED*/
-uint32_t
-ddi_io_get32(ddi_acc_handle_t handle, uint32_t *dev_addr)
-{
- return (0);
-}
-
-/*ARGSUSED*/
-uint64_t
-ddi_get64(ddi_acc_handle_t handle, uint64_t *addr)
-{
- return (0);
-}
-
-/*ARGSUSED*/
-uint64_t
-ddi_mem_get64(ddi_acc_handle_t handle, uint64_t *addr)
-{
- return (0);
-}
-
-/*ARGSUSED*/
-void
-ddi_put8(ddi_acc_handle_t handle, uint8_t *addr, uint8_t value) {}
-
-/*ARGSUSED*/
-void
-ddi_mem_put8(ddi_acc_handle_t handle, uint8_t *dev_addr, uint8_t value) {}
-
-/*ARGSUSED*/
-void
-ddi_io_put8(ddi_acc_handle_t handle, uint8_t *dev_addr, uint8_t value) {}
-
-/*ARGSUSED*/
-void
-ddi_put16(ddi_acc_handle_t handle, uint16_t *addr, uint16_t value) {}
-
-/*ARGSUSED*/
-void
-ddi_mem_put16(ddi_acc_handle_t handle, uint16_t *dev_addr, uint16_t value) {}
-
-/*ARGSUSED*/
-void
-ddi_io_put16(ddi_acc_handle_t handle, uint16_t *dev_addr, uint16_t value) {}
-
-/*ARGSUSED*/
-void
-ddi_put32(ddi_acc_handle_t handle, uint32_t *addr, uint32_t value) {}
-
-/*ARGSUSED*/
-void
-ddi_mem_put32(ddi_acc_handle_t handle, uint32_t *dev_addr, uint32_t value) {}
-
-/*ARGSUSED*/
-void
-ddi_io_put32(ddi_acc_handle_t handle, uint32_t *dev_addr, uint32_t value) {}
-
-/*ARGSUSED*/
-void
-ddi_put64(ddi_acc_handle_t handle, uint64_t *addr, uint64_t value) {}
-
-/*ARGSUSED*/
-void
-ddi_mem_put64(ddi_acc_handle_t handle, uint64_t *dev_addr, uint64_t value) {}
-
-/*ARGSUSED*/
-void
-ddi_rep_get8(ddi_acc_handle_t handle, uint8_t *host_addr, uint8_t *dev_addr,
- size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_rep_get16(ddi_acc_handle_t handle, uint16_t *host_addr, uint16_t *dev_addr,
- size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_rep_get32(ddi_acc_handle_t handle, uint32_t *host_addr, uint32_t *dev_addr,
- size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_rep_get64(ddi_acc_handle_t handle, uint64_t *host_addr, uint64_t *dev_addr,
- size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_rep_put8(ddi_acc_handle_t handle, uint8_t *host_addr, uint8_t *dev_addr,
- size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_rep_put16(ddi_acc_handle_t handle, uint16_t *host_addr, uint16_t *dev_addr,
- size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_rep_put32(ddi_acc_handle_t handle, uint32_t *host_addr, uint32_t *dev_addr,
- size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_rep_put64(ddi_acc_handle_t handle, uint64_t *host_addr, uint64_t *dev_addr,
- size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_mem_rep_get8(ddi_acc_handle_t handle, uint8_t *host_addr,
- uint8_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_mem_rep_get16(ddi_acc_handle_t handle, uint16_t *host_addr,
- uint16_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_mem_rep_get32(ddi_acc_handle_t handle, uint32_t *host_addr,
- uint32_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_mem_rep_get64(ddi_acc_handle_t handle, uint64_t *host_addr,
- uint64_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_mem_rep_put8(ddi_acc_handle_t handle, uint8_t *host_addr,
- uint8_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_mem_rep_put16(ddi_acc_handle_t handle, uint16_t *host_addr,
- uint16_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_mem_rep_put32(ddi_acc_handle_t handle, uint32_t *host_addr,
- uint32_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_mem_rep_put64(ddi_acc_handle_t handle, uint64_t *host_addr,
- uint64_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-ddi_io_rep_get8(ddi_acc_handle_t handle,
- uint8_t *host_addr, uint8_t *dev_addr, size_t repcount) {}
-
-/*ARGSUSED*/
-void
-ddi_io_rep_get16(ddi_acc_handle_t handle,
- uint16_t *host_addr, uint16_t *dev_addr, size_t repcount) {}
-
-/*ARGSUSED*/
-void
-ddi_io_rep_get32(ddi_acc_handle_t handle,
- uint32_t *host_addr, uint32_t *dev_addr, size_t repcount) {}
-
-/*ARGSUSED*/
-void
-ddi_io_rep_put8(ddi_acc_handle_t handle,
- uint8_t *host_addr, uint8_t *dev_addr, size_t repcount) {}
-
-/*ARGSUSED*/
-void
-ddi_io_rep_put16(ddi_acc_handle_t handle,
- uint16_t *host_addr, uint16_t *dev_addr, size_t repcount) {}
-
-
-/*ARGSUSED*/
-void
-ddi_io_rep_put32(ddi_acc_handle_t handle,
- uint32_t *host_addr, uint32_t *dev_addr, size_t repcount) {}
-
-/*ARGSUSED*/
-uint8_t
-i_ddi_get8(ddi_acc_impl_t *hdlp, uint8_t *addr)
-{
- return (0);
-}
-
-/*ARGSUSED*/
-uint16_t
-i_ddi_get16(ddi_acc_impl_t *hdlp, uint16_t *addr)
-{
- return (0);
-}
-
-/*ARGSUSED*/
-uint32_t
-i_ddi_get32(ddi_acc_impl_t *hdlp, uint32_t *addr)
-{
- return (0);
-}
-
-/*ARGSUSED*/
-uint64_t
-i_ddi_get64(ddi_acc_impl_t *hdlp, uint64_t *addr)
-{
- return (0);
-}
-
-/*ARGSUSED*/
-void
-i_ddi_put8(ddi_acc_impl_t *hdlp, uint8_t *addr, uint8_t value) {}
-
-/*ARGSUSED*/
-void
-i_ddi_put16(ddi_acc_impl_t *hdlp, uint16_t *addr, uint16_t value) {}
-
-/*ARGSUSED*/
-void
-i_ddi_put32(ddi_acc_impl_t *hdlp, uint32_t *addr, uint32_t value) {}
-
-/*ARGSUSED*/
-void
-i_ddi_put64(ddi_acc_impl_t *hdlp, uint64_t *addr, uint64_t value) {}
-
-/*ARGSUSED*/
-void
-i_ddi_rep_get8(ddi_acc_impl_t *hdlp, uint8_t *host_addr, uint8_t *dev_addr,
- size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_rep_get16(ddi_acc_impl_t *hdlp, uint16_t *host_addr,
- uint16_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_rep_get32(ddi_acc_impl_t *hdlp, uint32_t *host_addr,
- uint32_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_rep_get64(ddi_acc_impl_t *hdlp, uint64_t *host_addr,
- uint64_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_rep_put8(ddi_acc_impl_t *hdlp, uint8_t *host_addr, uint8_t *dev_addr,
- size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_rep_put16(ddi_acc_impl_t *hdlp, uint16_t *host_addr,
- uint16_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_rep_put32(ddi_acc_impl_t *hdlp, uint32_t *host_addr,
- uint32_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_rep_put64(ddi_acc_impl_t *hdlp, uint64_t *host_addr,
- uint64_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-uint8_t
-i_ddi_prot_get8(ddi_acc_impl_t *hdlp, uint8_t *addr)
-{
- return (0);
-}
-
-/*ARGSUSED*/
-uint16_t
-i_ddi_prot_get16(ddi_acc_impl_t *hdlp, uint16_t *addr)
-{
- return (0);
-}
-
-/*ARGSUSED*/
-uint32_t
-i_ddi_prot_get32(ddi_acc_impl_t *hdlp, uint32_t *addr)
-{
- return (0);
-}
-
-/*ARGSUSED*/
-uint64_t
-i_ddi_prot_get64(ddi_acc_impl_t *hdlp, uint64_t *addr)
-{
- return (0);
-}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_put8(ddi_acc_impl_t *hdlp, uint8_t *addr, uint8_t value) {}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_put16(ddi_acc_impl_t *hdlp, uint16_t *addr, uint16_t value) {}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_put32(ddi_acc_impl_t *hdlp, uint32_t *addr, uint32_t value) {}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_put64(ddi_acc_impl_t *hdlp, uint64_t *addr, uint64_t value) {}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_rep_get8(ddi_acc_impl_t *hdlp, uint8_t *host_addr, uint8_t *dev_addr,
- size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_rep_get16(ddi_acc_impl_t *hdlp, uint16_t *host_addr,
- uint16_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_rep_get32(ddi_acc_impl_t *hdlp, uint32_t *host_addr,
- uint32_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_rep_get64(ddi_acc_impl_t *hdlp, uint64_t *host_addr,
- uint64_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_rep_put8(ddi_acc_impl_t *hdlp, uint8_t *host_addr, uint8_t *dev_addr,
- size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_rep_put16(ddi_acc_impl_t *hdlp, uint16_t *host_addr,
- uint16_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_rep_put32(ddi_acc_impl_t *hdlp, uint32_t *host_addr,
- uint32_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_prot_rep_put64(ddi_acc_impl_t *hdlp, uint64_t *host_addr,
- uint64_t *dev_addr, size_t repcount, uint_t flags)
-{
-}
-
-/*ARGSUSED*/
-int
-i_ddi_ontrap(ddi_acc_handle_t handle)
-{
- return (0);
-}
-
-/*ARGSUSED*/
-void
-i_ddi_notrap(ddi_acc_handle_t handle)
-{
-}
-
-/*ARGSUSED*/
-void
-i_ddi_caut_get(size_t getsz, void *addr, void *value)
-{
-}
-
-#else
-
/*
* The functionality of each of the ddi_get/put routines is performed by
* the respective indirect function defined in the access handle. Use of
* the access handle functions provides compatibility across platforms for
* drivers.
- *
+ *
* By default, the indirect access handle functions are initialized to the
* i_ddi_get/put routines to perform memory mapped IO. If memory mapped IO
* is not possible or desired, the access handle must be intialized to another
* valid routine to perform the sepcified IO operation.
*
* The alignment and placement of the following functions have been optimized
- * such that the implementation specific versions, i_ddi*, fall within the
+ * such that the implementation specific versions, i_ddi*, fall within the
* same cache-line of the generic versions, ddi_*. This insures that an
* I-cache hit will occur thus minimizing the performance impact of using the
* access handle.
@@ -565,20 +68,14 @@ i_ddi_caut_get(size_t getsz, void *addr, void *value)
.align 32
ENTRY(ddi_get8)
- ALTENTRY(ddi_getb)
ALTENTRY(ddi_io_get8)
- ALTENTRY(ddi_io_getb)
ALTENTRY(ddi_mem_get8)
- ALTENTRY(ddi_mem_getb)
ldn [%o0 + AHI_GET8], %g1 /* hdl->ahi_get8 access hndl */
jmpl %g1, %g0 /* jump to access handle routine */
nop
SET_SIZE(ddi_get8)
- SET_SIZE(ddi_getb)
SET_SIZE(ddi_io_get8)
- SET_SIZE(ddi_io_getb)
SET_SIZE(ddi_mem_get8)
- SET_SIZE(ddi_mem_getb)
.align 16
ENTRY(i_ddi_get8)
@@ -588,20 +85,14 @@ i_ddi_caut_get(size_t getsz, void *addr, void *value)
.align 32
ENTRY(ddi_get16)
- ALTENTRY(ddi_getw)
ALTENTRY(ddi_io_get16)
- ALTENTRY(ddi_io_getw)
ALTENTRY(ddi_mem_get16)
- ALTENTRY(ddi_mem_getw)
ldn [%o0 + AHI_GET16], %g1 /* hdl->ahi_get16 access hndl */
jmpl %g1, %g0 /* jump to access handle routine */
nop
SET_SIZE(ddi_get16)
- SET_SIZE(ddi_getw)
SET_SIZE(ddi_io_get16)
- SET_SIZE(ddi_io_getw)
SET_SIZE(ddi_mem_get16)
- SET_SIZE(ddi_mem_getw)
.align 16
ENTRY(i_ddi_get16)
@@ -613,20 +104,14 @@ i_ddi_caut_get(size_t getsz, void *addr, void *value)
.align 32
ENTRY(ddi_get32)
- ALTENTRY(ddi_getl)
ALTENTRY(ddi_io_get32)
- ALTENTRY(ddi_io_getl)
ALTENTRY(ddi_mem_get32)
- ALTENTRY(ddi_mem_getl)
ldn [%o0 + AHI_GET32], %g1 /* hdl->ahi_get32 access handle */
jmpl %g1, %g0 /* jump to access handle routine */
nop
SET_SIZE(ddi_get32)
- SET_SIZE(ddi_getl)
SET_SIZE(ddi_io_get32)
- SET_SIZE(ddi_io_getl)
SET_SIZE(ddi_mem_get32)
- SET_SIZE(ddi_mem_getl)
.align 16
ENTRY(i_ddi_get32)
@@ -638,20 +123,14 @@ i_ddi_caut_get(size_t getsz, void *addr, void *value)
.align 32
ENTRY(ddi_get64)
- ALTENTRY(ddi_getll)
ALTENTRY(ddi_io_get64)
- ALTENTRY(ddi_io_getll)
ALTENTRY(ddi_mem_get64)
- ALTENTRY(ddi_mem_getll)
ldn [%o0 + AHI_GET64], %g1 /* hdl->ahi_get64 access handle */
jmpl %g1, %g0 /* jump to access handle routine */
nop
SET_SIZE(ddi_get64)
- SET_SIZE(ddi_getll)
SET_SIZE(ddi_io_get64)
- SET_SIZE(ddi_io_getll)
SET_SIZE(ddi_mem_get64)
- SET_SIZE(ddi_mem_getll)
.align 16
ENTRY(i_ddi_get64)
@@ -663,20 +142,14 @@ i_ddi_caut_get(size_t getsz, void *addr, void *value)
.align 32
ENTRY(ddi_put8)
- ALTENTRY(ddi_putb)
ALTENTRY(ddi_io_put8)
- ALTENTRY(ddi_io_putb)
ALTENTRY(ddi_mem_put8)
- ALTENTRY(ddi_mem_putb)
ldn [%o0 + AHI_PUT8], %g1 /* hdl->ahi_put8 access handle */
jmpl %g1, %g0 /* jump to access handle routine */
nop
SET_SIZE(ddi_put8)
- SET_SIZE(ddi_putb)
SET_SIZE(ddi_io_put8)
- SET_SIZE(ddi_io_putb)
SET_SIZE(ddi_mem_put8)
- SET_SIZE(ddi_mem_putb)
.align 16
ENTRY(i_ddi_put8)
@@ -686,20 +159,14 @@ i_ddi_caut_get(size_t getsz, void *addr, void *value)
.align 32
ENTRY(ddi_put16)
- ALTENTRY(ddi_putw)
ALTENTRY(ddi_io_put16)
- ALTENTRY(ddi_io_putw)
ALTENTRY(ddi_mem_put16)
- ALTENTRY(ddi_mem_putw)
ldn [%o0 + AHI_PUT16], %g1 /* hdl->ahi_put16 access handle */
jmpl %g1, %g0 /* jump to access handle routine */
nop
SET_SIZE(ddi_put16)
- SET_SIZE(ddi_putw)
SET_SIZE(ddi_io_put16)
- SET_SIZE(ddi_io_putw)
SET_SIZE(ddi_mem_put16)
- SET_SIZE(ddi_mem_putw)
.align 16
ENTRY(i_ddi_put16)
@@ -711,20 +178,14 @@ i_ddi_caut_get(size_t getsz, void *addr, void *value)
.align 32
ENTRY(ddi_put32)
- ALTENTRY(ddi_putl)
ALTENTRY(ddi_io_put32)
- ALTENTRY(ddi_io_putl)
ALTENTRY(ddi_mem_put32)
- ALTENTRY(ddi_mem_putl)
ldn [%o0 + AHI_PUT32], %g1 /* hdl->ahi_put16 access handle */
jmpl %g1, %g0 /* jump to access handle routine */
nop
SET_SIZE(ddi_put32)
- SET_SIZE(ddi_putl)
SET_SIZE(ddi_io_put32)
- SET_SIZE(ddi_io_putl)
SET_SIZE(ddi_mem_put32)
- SET_SIZE(ddi_mem_putl)
.align 16
ENTRY(i_ddi_put32)
@@ -736,20 +197,14 @@ i_ddi_caut_get(size_t getsz, void *addr, void *value)
.align 32
ENTRY(ddi_put64)
- ALTENTRY(ddi_putll)
ALTENTRY(ddi_io_put64)
- ALTENTRY(ddi_io_putll)
ALTENTRY(ddi_mem_put64)
- ALTENTRY(ddi_mem_putll)
ldn [%o0 + AHI_PUT64], %g1 /* hdl->ahi_put64 access handle */
- jmpl %g1, %g0 /* jump to access handle routine */
+ jmpl %g1, %g0 /* jump to access handle routine */
nop
SET_SIZE(ddi_put64)
- SET_SIZE(ddi_putll)
SET_SIZE(ddi_io_put64)
- SET_SIZE(ddi_io_putll)
SET_SIZE(ddi_mem_put64)
- SET_SIZE(ddi_mem_putll)
.align 16
ENTRY(i_ddi_put64)
@@ -761,16 +216,16 @@ i_ddi_caut_get(size_t getsz, void *addr, void *value)
/*
* The ddi_io_rep_get/put routines don't take a flag argument like the "plain"
- * and mem versions do. This flag is used to determine whether or not the
+ * and mem versions do. This flag is used to determine whether or not the
* device address or port should be automatically incremented. For IO space,
* the device port is never incremented and as such, the flag is always set
* to DDI_DEV_NO_AUTOINCR.
*
- * This define processes the repetitive get functionality. Automatic
- * incrementing of the device address is determined by the flag field
- * %o4. If this is set for AUTOINCR, %o4 is updated with 1 for the
+ * This define processes the repetitive get functionality. Automatic
+ * incrementing of the device address is determined by the flag field
+ * %o4. If this is set for AUTOINCR, %o4 is updated with 1 for the
* subsequent increment in 2:.
- *
+ *
* If this flag is not set for AUTOINCR, %o4 is update with a value of 0 thus
* making the increment operation a non-operation.
*/
@@ -791,16 +246,12 @@ i_ddi_caut_get(size_t getsz, void *addr, void *value)
.align 32
ENTRY(ddi_rep_get8)
- ALTENTRY(ddi_rep_getb)
ALTENTRY(ddi_mem_rep_get8)
- ALTENTRY(ddi_mem_rep_getb)
ldn [%o0 + AHI_REP_GET8], %g1
jmpl %g1, %g0
nop
SET_SIZE(ddi_rep_get8)
- SET_SIZE(ddi_rep_getb)
SET_SIZE(ddi_mem_rep_get8)
- SET_SIZE(ddi_mem_rep_getb)
.align 16
ENTRY(i_ddi_rep_get8)
@@ -808,19 +259,15 @@ i_ddi_caut_get(size_t getsz, void *addr, void *value)
retl
nop
SET_SIZE(i_ddi_rep_get8)
-
+
.align 32
ENTRY(ddi_rep_get16)
- ALTENTRY(ddi_rep_getw)
ALTENTRY(ddi_mem_rep_get16)
- ALTENTRY(ddi_mem_rep_getw)
ldn [%o0 + AHI_REP_GET16], %g1
jmpl %g1, %g0
nop
SET_SIZE(ddi_rep_get16)
- SET_SIZE(ddi_rep_getw)
SET_SIZE(ddi_mem_rep_get16)
- SET_SIZE(ddi_mem_rep_getw)
.align 16
ENTRY(i_ddi_rep_get16)
@@ -833,16 +280,12 @@ i_ddi_caut_get(size_t getsz, void *addr, void *value)
.align 32
ENTRY(ddi_rep_get32)
- ALTENTRY(ddi_rep_getl)
ALTENTRY(ddi_mem_rep_get32)
- ALTENTRY(ddi_mem_rep_getl)
ldn [%o0 + AHI_REP_GET32], %g1
jmpl %g1, %g0
nop
SET_SIZE(ddi_rep_get32)
- SET_SIZE(ddi_rep_getl)
SET_SIZE(ddi_mem_rep_get32)
- SET_SIZE(ddi_mem_rep_getl)
.align 16
ENTRY(i_ddi_rep_get32)
@@ -855,16 +298,12 @@ i_ddi_caut_get(size_t getsz, void *addr, void *value)
.align 32
ENTRY(ddi_rep_get64)
- ALTENTRY(ddi_rep_getll)
ALTENTRY(ddi_mem_rep_get64)
- ALTENTRY(ddi_mem_rep_getll)
ldn [%o0 + AHI_REP_GET64], %g1
jmpl %g1, %g0
nop
SET_SIZE(ddi_rep_get64)
- SET_SIZE(ddi_rep_getll)
SET_SIZE(ddi_mem_rep_get64)
- SET_SIZE(ddi_mem_rep_getll)
.align 16
ENTRY(i_ddi_rep_get64)
@@ -875,12 +314,12 @@ i_ddi_caut_get(size_t getsz, void *addr, void *value)
SET_SIZE(i_ddi_rep_get64)
SET_SIZE(i_ddi_swap_rep_get64)
-/*
- * This define processes the repetitive put functionality. Automatic
- * incrementing of the device address is determined by the flag field
- * %o4. If this is set for AUTOINCR, %o4 is updated with 1 for the
+/*
+ * This define processes the repetitive put functionality. Automatic
+ * incrementing of the device address is determined by the flag field
+ * %o4. If this is set for AUTOINCR, %o4 is updated with 1 for the
* subsequent increment in 2:.
- *
+ *
* If this flag is not set for AUTOINCR, %o4 is update with a value of 0 thus
* making the increment operation a non-operation.
*/
@@ -900,16 +339,12 @@ i_ddi_caut_get(size_t getsz, void *addr, void *value)
.align 32
ENTRY(ddi_rep_put8)
- ALTENTRY(ddi_rep_putb)
ALTENTRY(ddi_mem_rep_put8)
- ALTENTRY(ddi_mem_rep_putb)
ldn [%o0 + AHI_REP_PUT8], %g1
jmpl %g1, %g0
nop
SET_SIZE(ddi_rep_put8)
- SET_SIZE(ddi_rep_putb)
SET_SIZE(ddi_mem_rep_put8)
- SET_SIZE(ddi_mem_rep_putb)
.align 16
ENTRY(i_ddi_rep_put8)
@@ -920,16 +355,12 @@ i_ddi_caut_get(size_t getsz, void *addr, void *value)
.align 32
ENTRY(ddi_rep_put16)
- ALTENTRY(ddi_rep_putw)
ALTENTRY(ddi_mem_rep_put16)
- ALTENTRY(ddi_mem_rep_putw)
ldn [%o0 + AHI_REP_PUT16], %g1
jmpl %g1, %g0
nop
SET_SIZE(ddi_rep_put16)
- SET_SIZE(ddi_rep_putw)
SET_SIZE(ddi_mem_rep_put16)
- SET_SIZE(ddi_mem_rep_putw)
.align 16
ENTRY(i_ddi_rep_put16)
@@ -942,16 +373,12 @@ i_ddi_caut_get(size_t getsz, void *addr, void *value)
.align 32
ENTRY(ddi_rep_put32)
- ALTENTRY(ddi_rep_putl)
ALTENTRY(ddi_mem_rep_put32)
- ALTENTRY(ddi_mem_rep_putl)
ldn [%o0 + AHI_REP_PUT32], %g1
jmpl %g1, %g0
nop
SET_SIZE(ddi_rep_put32)
- SET_SIZE(ddi_rep_putl)
SET_SIZE(ddi_mem_rep_put32)
- SET_SIZE(ddi_mem_rep_putl)
.align 16
ENTRY(i_ddi_rep_put32)
@@ -964,16 +391,12 @@ i_ddi_caut_get(size_t getsz, void *addr, void *value)
.align 32
ENTRY(ddi_rep_put64)
- ALTENTRY(ddi_rep_putll)
ALTENTRY(ddi_mem_rep_put64)
- ALTENTRY(ddi_mem_rep_putll)
ldn [%o0 + AHI_REP_PUT64], %g1
jmpl %g1, %g0
nop
SET_SIZE(ddi_rep_put64)
- SET_SIZE(ddi_rep_putll)
SET_SIZE(ddi_mem_rep_put64)
- SET_SIZE(ddi_mem_rep_putll)
.align 16
ENTRY(i_ddi_rep_put64)
@@ -986,43 +409,35 @@ i_ddi_caut_get(size_t getsz, void *addr, void *value)
.align 16
ENTRY(ddi_io_rep_get8)
- ALTENTRY(ddi_io_rep_getb)
set DDI_DEV_NO_AUTOINCR, %o4 /* Set flag to DDI_DEV_NO_AUTOINCR */
ldn [%o0 + AHI_REP_GET8], %g1
jmpl %g1, %g0
nop
SET_SIZE(ddi_io_rep_get8)
- SET_SIZE(ddi_io_rep_getb)
.align 16
ENTRY(ddi_io_rep_get16)
- ALTENTRY(ddi_io_rep_getw)
set DDI_DEV_NO_AUTOINCR, %o4 /* Set flag to DDI_DEV_NO_AUTOINCR */
ldn [%o0 + AHI_REP_GET16], %g1
jmpl %g1, %g0
nop
SET_SIZE(ddi_io_rep_get16)
- SET_SIZE(ddi_io_rep_getw)
.align 16
ENTRY(ddi_io_rep_get32)
- ALTENTRY(ddi_io_rep_getl)
set DDI_DEV_NO_AUTOINCR, %o4 /* Set flag to DDI_DEV_NO_AUTOINCR */
ldn [%o0 + AHI_REP_GET32], %g1
jmpl %g1, %g0
nop
SET_SIZE(ddi_io_rep_get32)
- SET_SIZE(ddi_io_rep_getl)
.align 16
ENTRY(ddi_io_rep_get64)
- ALTENTRY(ddi_io_rep_getll)
set DDI_DEV_NO_AUTOINCR, %o4 /* Set flag to DDI_DEV_NO_AUTOINCR */
ldn [%o0 + AHI_REP_GET64], %g1
jmpl %g1, %g0
nop
SET_SIZE(ddi_io_rep_get64)
- SET_SIZE(ddi_io_rep_getll)
.align 64
ENTRY(ddi_check_acc_handle)
@@ -1031,7 +446,7 @@ i_ddi_caut_get(size_t getsz, void *addr, void *value)
jmpl %g1, %o7
mov %i0, %o0
brnz,a,pn %o0, 0f ! if (return_value != 0)
- mov -1, %o0 ! return (DDI_FAILURE)
+ mov -1, %o0 ! return (DDI_FAILURE)
0: ! else return (DDI_SUCCESS)
sra %o0, 0, %i0
ret
@@ -1046,43 +461,35 @@ i_ddi_caut_get(size_t getsz, void *addr, void *value)
.align 16
ENTRY(ddi_io_rep_put8)
- ALTENTRY(ddi_io_rep_putb)
set DDI_DEV_NO_AUTOINCR, %o4 /* Set flag to DDI_DEV_NO_AUTOINCR */
ldn [%o0 + AHI_REP_PUT8], %g1
jmpl %g1, %g0
nop
SET_SIZE(ddi_io_rep_put8)
- SET_SIZE(ddi_io_rep_putb)
.align 16
ENTRY(ddi_io_rep_put16)
- ALTENTRY(ddi_io_rep_putw)
set DDI_DEV_NO_AUTOINCR, %o4 /* Set flag to DDI_DEV_NO_AUTOINCR */
ldn [%o0 + AHI_REP_PUT16], %g1
jmpl %g1, %g0
nop
SET_SIZE(ddi_io_rep_put16)
- SET_SIZE(ddi_io_rep_putw)
.align 16
ENTRY(ddi_io_rep_put32)
- ALTENTRY(ddi_io_rep_putl)
set DDI_DEV_NO_AUTOINCR, %o4 /* Set flag to DDI_DEV_NO_AUTOINCR */
ldn [%o0 + AHI_REP_PUT32], %g1
jmpl %g1, %g0
nop
SET_SIZE(ddi_io_rep_put32)
- SET_SIZE(ddi_io_rep_putl)
.align 16
ENTRY(ddi_io_rep_put64)
- ALTENTRY(ddi_io_rep_putll)
set DDI_DEV_NO_AUTOINCR, %o4 /* Set flag to DDI_DEV_NO_AUTOINCR */
ldn [%o0 + AHI_REP_PUT64], %g1
jmpl %g1, %g0
nop
SET_SIZE(ddi_io_rep_put64)
- SET_SIZE(ddi_io_rep_putll)
ENTRY(do_peek)
rdpr %pstate, %o3 ! check ints
@@ -1117,7 +524,7 @@ i_ddi_caut_get(size_t getsz, void *addr, void *value)
bnz 1f
nop
wrpr %o3, PSTATE_IE, %pstate
-1:
+1:
mov %g0, %o0
done:
retl
@@ -1180,7 +587,7 @@ done:
bnz 1f
nop
wrpr %o3, PSTATE_IE, %pstate
-1:
+1:
retl
sub %g0, 1, %o0 ! return (DDI_FAILURE);
.peekfail:
@@ -1240,7 +647,7 @@ done:
* To prevent an access from causing a system panic,
* we use on_trap semantics to catch the error and
* set error status.
- *
+ *
* If a read access error is detected and DDI_CAUTIOUS_ACC or
* DDI_FLAGERR_ACC protection was requested, we will trampoline to the
* error handler, i_ddi_trampoline. i_ddi_trampoline will:
@@ -1253,8 +660,8 @@ done:
* generated and claimed by a bus nexus responsible for the write
* transaction. The nexus error handler is expected to set the
* error status and the IO initiating driver is expected to check
- * for a failed transaction via ddi_fm_acc_err_get().
- *
+ * for a failed transaction via ddi_fm_acc_err_get().
+ *
*/
.seg ".data"
@@ -1280,7 +687,7 @@ done:
stx %g0, [%o4 + ERR_ENA] ! ahi_err->err_ena = 0
mov -2, %o0
st %o0, [%o4 + ERR_STATUS] ! ahi_err->err_status = NONFATAL
- b longjmp ! longjmp back
+ b longjmp ! longjmp back
add %o5, OT_JMPBUF, %o0 ! %o0 = &ot_jmpbuf
.cautaccfail:
set .acc_panic, %o0 ! Load panic message
@@ -1341,7 +748,7 @@ done:
ldn [%o5 + OT_PREV], %o0 ! restore ontrap
membar #Sync ! force error barrier
stn %o0, [THREAD_REG + T_ONTRAP];
- b longjmp ! longjmp back
+ b longjmp ! longjmp back
add %o5, OT_JMPBUF, %o0 ! %o0 = &ot_jmpbuf
.protaccfail:
set .acc_panic, %o0 ! Load panic message
@@ -1554,5 +961,3 @@ cautdone:
retl
nop
SET_SIZE(i_ddi_caut_get)
-
-#endif /* lint */
diff --git a/usr/src/uts/sparc/v9/ml/float.s b/usr/src/uts/sparc/v9/ml/float.s
index 2c4b6e8cc8..0a5088fa85 100644
--- a/usr/src/uts/sparc/v9/ml/float.s
+++ b/usr/src/uts/sparc/v9/ml/float.s
@@ -32,9 +32,7 @@
#include <sys/machsig.h>
#include <sys/machthread.h>
-#if !defined(lint) && !defined(__lint)
#include "assym.h"
-#endif /* lint */
/*
* Floating point trap handling.
@@ -81,16 +79,6 @@
* that appear to be a kaos bug, so don't use them!
*/
-#if defined(lint) || defined(__lint)
-
-#ifdef FP_DISABLED
-int fpu_exists = 0;
-#else
-int fpu_exists = 1;
-#endif
-
-#else /* lint */
-
.section ".data"
.align 8
fsrholder:
@@ -107,8 +95,6 @@ fsrholder:
DGDEF(fpu_version)
.word -1
-#endif /* lint */
-
/*
* FPU probe - read the %fsr and get fpu_version.
* Called from autoconf. If a %fq is created for
@@ -116,15 +102,6 @@ fsrholder:
* could be created by this function.
*/
-#if defined(lint) || defined(__lint)
-
-/*ARGSUSED*/
-void
-fpu_probe(void)
-{}
-
-#else /* lint */
-
ENTRY_NP(fpu_probe)
wr %g0, FPRS_FEF, %fprs ! enable fpu in fprs
rdpr %pstate, %g2 ! read pstate, save value in %g2
@@ -144,8 +121,6 @@ fpu_probe(void)
wr %g0, %g0, %fprs ! disable fpu and clear fprs
SET_SIZE(fpu_probe)
-#endif /* lint */
-
/*
* fp_clearregs(fp)
* struct v9_fpu *fp;
@@ -156,15 +131,6 @@ fpu_probe(void)
* so when the return to userland is made, the fpu is enabled.
*/
-#if defined(lint) || defined(__lint)
-
-/*ARGSUSED*/
-void
-fp_clearregs(kfpu_t *fp)
-{}
-
-#else /* lint */
-
ENTRY_NP(fp_clearregs)
ldx [%o0 + FPU_FSR], %fsr ! load fsr
@@ -205,8 +171,6 @@ fp_clearregs(kfpu_t *fp)
ldd [%o0], %d62
SET_SIZE(fp_clearregs)
-#endif /* lint */
-
/*
* void _fp_read_pfreg(pf, n)
* uint32_t *pf; Old freg value.
@@ -226,20 +190,6 @@ fp_clearregs(kfpu_t *fp)
* }
*/
-#if defined(lint) || defined(__lint)
-
-/*ARGSUSED*/
-void
-_fp_read_pfreg(uint32_t *pf, u_int n)
-{}
-
-/*ARGSUSED*/
-void
-_fp_write_pfreg(uint32_t *pf, u_int n)
-{}
-
-#else /* lint */
-
ENTRY_NP(_fp_read_pfreg)
sll %o1, 3, %o1 ! Table entries are 8 bytes each.
set .stable, %g1 ! g1 gets base of table.
@@ -326,8 +276,6 @@ _fp_write_pfreg(uint32_t *pf, u_int n)
SET_SIZE(_fp_read_pfreg)
SET_SIZE(_fp_write_pfreg)
-#endif /* lint */
-
/*
* void _fp_read_pdreg(
* uint64_t *pd, Old dreg value.
@@ -347,20 +295,6 @@ _fp_write_pfreg(uint32_t *pf, u_int n)
* }
*/
-#if defined(lint) || defined(__lint)
-
-/*ARGSUSED*/
-void
-_fp_read_pdreg(uint64_t *pd, u_int n)
-{}
-
-/*ARGSUSED*/
-void
-_fp_write_pdreg(uint64_t *pd, u_int n)
-{}
-
-#else /* lint */
-
ENTRY_NP(_fp_read_pdreg)
sll %o1, 3, %o1 ! Table entries are 8 bytes each.
set .dstable, %g1 ! g1 gets base of table.
@@ -447,87 +381,32 @@ _fp_write_pdreg(uint64_t *pd, u_int n)
SET_SIZE(_fp_read_pdreg)
SET_SIZE(_fp_write_pdreg)
-#endif /* lint */
-
-#if defined(lint) || defined(__lint)
-
-/*ARGSUSED*/
-void
-_fp_write_pfsr(uint64_t *fsr)
-{}
-
-#else /* lint */
-
ENTRY_NP(_fp_write_pfsr)
retl
ldx [%o0], %fsr
SET_SIZE(_fp_write_pfsr)
-#endif /* lint */
-
-#if defined(lint) || defined(__lint)
-
-/*ARGSUSED*/
-void
-_fp_read_pfsr(uint64_t *fsr)
-{}
-
-#else /* lint */
-
ENTRY_NP(_fp_read_pfsr)
retl
stx %fsr, [%o0]
SET_SIZE(_fp_read_pfsr)
-#endif /* lint */
-
-#if defined(lint) || defined(__lint)
-
-/*ARGSUSED*/
-void
-_fp_write_fprs(u_int fprs_val)
-{}
-
-#else /* lint */
-
ENTRY_NP(_fp_write_fprs)
retl
wr %o0, %g0, %fprs ! write fprs
SET_SIZE(_fp_write_fprs)
-#endif /* lint */
-
-#if defined(lint) || defined(__lint)
-
-unsigned
-_fp_read_fprs(void)
-{return 0;}
-
-#else /* lint */
-
ENTRY_NP(_fp_read_fprs)
retl
rd %fprs, %o0 ! save fprs
SET_SIZE(_fp_read_fprs)
-#endif /* lint */
-
-#if defined(lint) || defined(__lint)
-
-unsigned
-_fp_subcc_ccr(void)
-{return 0;}
-
-#else /* lint */
-
ENTRY_NP(_fp_subcc_ccr)
subcc %o0, %o1, %g0
retl
rd %ccr, %o0 ! save ccr
SET_SIZE(_fp_subcc_ccr)
-#endif /* lint */
-
/*
* Floating Point Exceptions handled according to type:
* 2) unfinished_fpop
@@ -547,15 +426,6 @@ _fp_subcc_ccr(void)
* (ie, Spitfire-specific) module code before final release.
*/
-#if defined(lint)
-
-/* ARGSUSED */
-void
-_fp_exception(struct regs *rp, uint64_t fsr)
-{}
-
-#else /* lint */
-
ENTRY_NP(_fp_exception)
mov %o7, %l0 ! saved return address
mov %o0, %l1 ! saved *rp
@@ -615,8 +485,6 @@ fp_ret:
.asciz "No floating point ftt, fsr %llx"
#endif /* DEBUG */
-#endif /* lint */
-
/*
* Floating Point Exceptions.
* handled according to type:
@@ -628,15 +496,6 @@ fp_ret:
* for execution of kernel code.
*/
-#if defined(lint)
-
-/* ARGSUSED */
-void
-_fp_ieee_exception(struct regs *rp, uint64_t fsr)
-{}
-
-#else /* lint */
-
ENTRY_NP(_fp_ieee_exception)
mov %o7, %l0 ! saved return address
mov %o0, %l1 ! saved *rp
@@ -723,4 +582,3 @@ fpok:
.badfpcexcmsg:
.asciz "No floating point exception, fsr %llx"
-#endif /* lint */
diff --git a/usr/src/uts/sparc/v9/ml/lock_prim.s b/usr/src/uts/sparc/v9/ml/lock_prim.s
index f0fe884ffc..3c17f1dfbe 100644
--- a/usr/src/uts/sparc/v9/ml/lock_prim.s
+++ b/usr/src/uts/sparc/v9/ml/lock_prim.s
@@ -21,16 +21,11 @@
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
- * Copyright 2019 Joyent, Inc.
+ *
+ * Copyright 2020 Joyent, Inc.
*/
-#if defined(lint)
-#include <sys/types.h>
-#include <sys/thread.h>
-#include <sys/cpuvar.h>
-#else /* lint */
#include "assym.h"
-#endif /* lint */
#include <sys/t_lock.h>
#include <sys/mutex.h>
@@ -57,48 +52,15 @@
* Store 0xFF at the specified location, and return its previous content.
*/
-#if defined(lint)
-uint8_t
-ldstub(uint8_t *cp)
-{
- uint8_t rv;
- rv = *cp;
- *cp = 0xFF;
- return rv;
-}
-#else /* lint */
-
ENTRY(ldstub)
retl
ldstub [%o0], %o0
SET_SIZE(ldstub)
-#endif /* lint */
-
/************************************************************************
* MEMORY BARRIERS -- see atomic.h for full descriptions.
*/
-#if defined(lint)
-
-void
-membar_enter(void)
-{}
-
-void
-membar_exit(void)
-{}
-
-void
-membar_producer(void)
-{}
-
-void
-membar_consumer(void)
-{}
-
-#else /* lint */
-
#ifdef SF_ERRATA_51
.align 32
ENTRY(membar_return)
@@ -130,70 +92,19 @@ membar_consumer(void)
membar #LoadLoad
SET_SIZE(membar_consumer)
-#endif /* lint */
-
/************************************************************************
* MINIMUM LOCKS
*/
-#if defined(lint)
-
/*
* lock_try(lp), ulock_try(lp)
- * - returns non-zero on success.
- * - doesn't block interrupts so don't use this to spin on a lock.
- * - uses "0xFF is busy, anything else is free" model.
+ * - returns non-zero on success.
+ * - doesn't block interrupts so don't use this to spin on a lock.
+ * - uses "0xFF is busy, anything else is free" model.
*
- * ulock_try() is for a lock in the user address space.
- * For all V7/V8 sparc systems they are same since the kernel and
- * user are mapped in a user' context.
- * For V9 platforms the lock_try and ulock_try are different impl.
+ * ulock_try() is for a lock in the user address space.
*/
-int
-lock_try(lock_t *lp)
-{
- return (0xFF ^ ldstub(lp));
-}
-
-int
-lock_spin_try(lock_t *lp)
-{
- return (0xFF ^ ldstub(lp));
-}
-
-void
-lock_set(lock_t *lp)
-{
- extern void lock_set_spin(lock_t *);
-
- if (!lock_try(lp))
- lock_set_spin(lp);
- membar_enter();
-}
-
-void
-lock_clear(lock_t *lp)
-{
- membar_exit();
- *lp = 0;
-}
-
-int
-ulock_try(lock_t *lp)
-{
- return (0xFF ^ ldstub(lp));
-}
-
-void
-ulock_clear(lock_t *lp)
-{
- membar_exit();
- *lp = 0;
-}
-
-#else /* lint */
-
.align 32
ENTRY(lock_try)
ldstub [%o0], %o1 ! try to set lock, get value in %o1
@@ -254,35 +165,12 @@ ulock_clear(lock_t *lp)
stba %g0, [%o0]ASI_USER ! clear lock
SET_SIZE(ulock_clear)
-#endif /* lint */
-
/*
* lock_set_spl(lp, new_pil, *old_pil_addr)
* Sets pil to new_pil, grabs lp, stores old pil in *old_pil_addr.
*/
-#if defined(lint)
-
-/* ARGSUSED */
-void
-lock_set_spl(lock_t *lp, int new_pil, u_short *old_pil_addr)
-{
- extern int splr(int);
- extern void lock_set_spl_spin(lock_t *, int, u_short *, int);
- int old_pil;
-
- old_pil = splr(new_pil);
- if (!lock_try(lp)) {
- lock_set_spl_spin(lp, new_pil, old_pil_addr, old_pil);
- } else {
- *old_pil_addr = (u_short)old_pil;
- membar_enter();
- }
-}
-
-#else /* lint */
-
ENTRY(lock_set_spl)
rdpr %pil, %o3 ! %o3 = current pil
cmp %o3, %o1 ! is current pil high enough?
@@ -301,25 +189,10 @@ lock_set_spl(lock_t *lp, int new_pil, u_short *old_pil_addr)
nop ! delay: do nothing
SET_SIZE(lock_set_spl)
-#endif /* lint */
-
/*
* lock_clear_splx(lp, s)
*/
-#if defined(lint)
-
-void
-lock_clear_splx(lock_t *lp, int s)
-{
- extern void splx(int);
-
- lock_clear(lp);
- splx(s);
-}
-
-#else /* lint */
-
ENTRY(lock_clear_splx)
ldn [THREAD_REG + T_CPU], %o2 ! get CPU pointer
membar #LoadStore|#StoreStore
@@ -332,8 +205,6 @@ lock_clear_splx(lock_t *lp, int s)
wrpr %g0, %o2, %pil
SET_SIZE(lock_clear_splx)
-#endif /* lint */
-
/*
* mutex_enter() and mutex_exit().
*
@@ -358,29 +229,6 @@ lock_clear_splx(lock_t *lp, int s)
* patch this code in unless we're gathering ADAPTIVE_HOLD lockstats.
*/
-#if defined (lint)
-
-/* ARGSUSED */
-void
-mutex_enter(kmutex_t *lp)
-{}
-
-/* ARGSUSED */
-int
-mutex_tryenter(kmutex_t *lp)
-{ return (0); }
-
-/* ARGSUSED */
-void
-mutex_exit(kmutex_t *lp)
-{}
-
-/* ARGSUSED */
-void *
-mutex_owner_running(mutex_impl_t *lp)
-{ return (NULL); }
-
-#else
.align 32
ENTRY(mutex_enter)
mov THREAD_REG, %o1
@@ -472,8 +320,6 @@ mutex_owner_running_critical_start: ! If interrupted restart here
mov %o2, %o0 ! owner running, return cpu
SET_SIZE(mutex_owner_running)
-#endif /* lint */
-
/*
* rw_enter() and rw_exit().
*
@@ -482,19 +328,6 @@ mutex_owner_running_critical_start: ! If interrupted restart here
* and rw_exit (no waiters or not the last reader). If anything complicated
* is going on we punt to rw_enter_sleep() and rw_exit_wakeup(), respectively.
*/
-#if defined(lint)
-
-/* ARGSUSED */
-void
-rw_enter(krwlock_t *lp, krw_t rw)
-{}
-
-/* ARGSUSED */
-void
-rw_exit(krwlock_t *lp)
-{}
-
-#else
.align 16
ENTRY(rw_enter)
@@ -575,16 +408,6 @@ rw_exit(krwlock_t *lp)
nop
SET_SIZE(rw_exit)
-#endif
-
-#if defined(lint)
-
-void
-lockstat_hot_patch(void)
-{}
-
-#else
-
#define RETL 0x81c3e008
#define NOP 0x01000000
#define BA 0x10800000
@@ -672,8 +495,6 @@ lockstat_hot_patch(void)
restore
SET_SIZE(lockstat_hot_patch)
-#endif /* lint */
-
/*
* asm_mutex_spin_enter(mutex_t *)
*
@@ -687,7 +508,6 @@ lockstat_hot_patch(void)
* %l7 - address of call (returns to %l7+8)
* Uses: %l6, %l5
*/
-#ifndef lint
.align 16
ENTRY_NP(asm_mutex_spin_enter)
ldstub [%l6 + M_SPINLOCK], %l5 ! try to set lock, get value in %l5
@@ -717,7 +537,6 @@ lockstat_hot_patch(void)
b 4b
ldub [%l6 + M_SPINLOCK], %l5 ! delay - reload lock
SET_SIZE(asm_mutex_spin_enter)
-#endif /* lint */
/*
* asm_mutex_spin_exit(mutex_t *)
@@ -730,13 +549,11 @@ lockstat_hot_patch(void)
* %l7 - address of call (returns to %l7+8)
* Uses: none
*/
-#ifndef lint
ENTRY_NP(asm_mutex_spin_exit)
membar #LoadStore|#StoreStore
jmp %l7 + 8 ! return
clrb [%l6 + M_SPINLOCK] ! delay - clear lock
SET_SIZE(asm_mutex_spin_exit)
-#endif /* lint */
/*
* thread_onproc()
@@ -745,16 +562,6 @@ lockstat_hot_patch(void)
* Since the new lock isn't held, the store ordering is important.
* If not done in assembler, the compiler could reorder the stores.
*/
-#if defined(lint)
-
-void
-thread_onproc(kthread_id_t t, cpu_t *cp)
-{
- t->t_state = TS_ONPROC;
- t->t_lockp = &cp->cpu_thread_lock;
-}
-
-#else /* lint */
ENTRY(thread_onproc)
set TS_ONPROC, %o2 ! TS_ONPROC state
@@ -764,54 +571,29 @@ thread_onproc(kthread_id_t t, cpu_t *cp)
stn %o3, [%o0 + T_LOCKP] ! delay - store new lock pointer
SET_SIZE(thread_onproc)
-#endif /* lint */
-
/* delay function used in some mutex code - just do 3 nop cas ops */
-#if defined(lint)
-
-/* ARGSUSED */
-void
-cas_delay(void *addr)
-{}
-#else /* lint */
ENTRY(cas_delay)
casx [%o0], %g0, %g0
casx [%o0], %g0, %g0
retl
casx [%o0], %g0, %g0
SET_SIZE(cas_delay)
-#endif /* lint */
-
-#if defined(lint)
/*
* alternative delay function for some niagara processors. The rd
* instruction uses less resources than casx on those cpus.
*/
-/* ARGSUSED */
-void
-rdccr_delay(void)
-{}
-#else /* lint */
ENTRY(rdccr_delay)
rd %ccr, %g0
rd %ccr, %g0
retl
rd %ccr, %g0
SET_SIZE(rdccr_delay)
-#endif /* lint */
/*
* mutex_delay_default(void)
* Spins for approx a few hundred processor cycles and returns to caller.
*/
-#if defined(lint)
-
-void
-mutex_delay_default(void)
-{}
-
-#else /* lint */
ENTRY(mutex_delay_default)
mov 72,%o0
@@ -821,4 +603,3 @@ mutex_delay_default(void)
nop
SET_SIZE(mutex_delay_default)
-#endif /* lint */
diff --git a/usr/src/uts/sparc/v9/ml/sparcv9_subr.s b/usr/src/uts/sparc/v9/ml/sparcv9_subr.s
index a4c0eac3c8..f86ae64e0c 100644
--- a/usr/src/uts/sparc/v9/ml/sparcv9_subr.s
+++ b/usr/src/uts/sparc/v9/ml/sparcv9_subr.s
@@ -35,17 +35,6 @@
* name has something to do with the routine you are moving.
*/
-#if defined(lint)
-#include <sys/types.h>
-#include <sys/scb.h>
-#include <sys/systm.h>
-#include <sys/regset.h>
-#include <sys/sunddi.h>
-#include <sys/lockstat.h>
-#include <sys/dtrace.h>
-#include <sys/ftrace.h>
-#endif /* lint */
-
#include <sys/asm_linkage.h>
#include <sys/privregs.h>
#include <sys/machparam.h> /* To get SYSBASE and PAGESIZE */
@@ -58,7 +47,6 @@
#include <sys/machlock.h>
#include <sys/ontrap.h>
-#if !defined(lint)
#include "assym.h"
.seg ".text"
@@ -134,8 +122,6 @@
retl; \
mov %o1, %o0 /* return old PIL */
-#endif /* lint */
-
/*
* Berkley 4.3 introduced symbolically named interrupt levels
* as a way deal with priority in a machine independent fashion.
@@ -178,18 +164,6 @@
* spl0() Used to lower priority to 0.
*/
-#if defined(lint)
-
-int spl0(void) { return (0); }
-int spl6(void) { return (0); }
-int spl7(void) { return (0); }
-int spl8(void) { return (0); }
-int splhi(void) { return (0); }
-int splhigh(void) { return (0); }
-int splzs(void) { return (0); }
-
-#else /* lint */
-
/* locks out all interrupts, including memory errors */
ENTRY(spl8)
SETPRI_HIGH(15)
@@ -224,30 +198,17 @@ int splzs(void) { return (0); }
SETPRI(0)
SET_SIZE(spl0)
-#endif /* lint */
-
/*
* splx - set PIL back to that indicated by the old %pil passed as an argument,
* or to the CPU's base priority, whichever is higher.
*/
-#if defined(lint)
-
-/* ARGSUSED */
-void
-splx(int level)
-{}
-
-#else /* lint */
-
ENTRY(splx)
ALTENTRY(i_ddi_splx)
SETPRI(%o0) /* set PIL */
SET_SIZE(i_ddi_splx)
SET_SIZE(splx)
-#endif /* level */
-
/*
* splr()
*
@@ -258,20 +219,10 @@ splx(int level)
* look at CPU->cpu_base_pri.
*/
-#if defined(lint)
-
-/* ARGSUSED */
-int
-splr(int level)
-{ return (0); }
-
-#else /* lint */
ENTRY(splr)
RAISE(%o0)
SET_SIZE(splr)
-#endif /* lint */
-
/*
* on_fault()
* Catch lofault faults. Like setjmp except it returns one
@@ -279,15 +230,6 @@ splr(int level)
* by calling no_fault().
*/
-#if defined(lint)
-
-/* ARGSUSED */
-int
-on_fault(label_t *ljb)
-{ return (0); }
-
-#else /* lint */
-
ENTRY(on_fault)
membar #Sync ! sync error barrier (see copy.s)
stn %o0, [THREAD_REG + T_ONFAULT]
@@ -304,21 +246,11 @@ catch_fault:
stn %g0, [THREAD_REG + T_LOFAULT] ! turn off lofault
SET_SIZE(on_fault)
-#endif /* lint */
-
/*
* no_fault()
* turn off fault catching.
*/
-#if defined(lint)
-
-void
-no_fault(void)
-{}
-
-#else /* lint */
-
ENTRY(no_fault)
membar #Sync ! sync error barrier
stn %g0, [THREAD_REG + T_ONFAULT]
@@ -326,21 +258,12 @@ no_fault(void)
stn %g0, [THREAD_REG + T_LOFAULT] ! turn off lofault
SET_SIZE(no_fault)
-#endif /* lint */
-
/*
* Default trampoline code for on_trap() (see <sys/ontrap.h>). On sparcv9,
* the trap code will complete trap processing but reset the return %pc to
* ot_trampoline, which will by default be set to the address of this code.
* We longjmp(&curthread->t_ontrap->ot_jmpbuf) to return back to on_trap().
*/
-#if defined(lint)
-
-void
-on_trap_trampoline(void)
-{}
-
-#else /* lint */
ENTRY(on_trap_trampoline)
ldn [THREAD_REG + T_ONTRAP], %o0
@@ -348,8 +271,6 @@ on_trap_trampoline(void)
add %o0, OT_JMPBUF, %o0
SET_SIZE(on_trap_trampoline)
-#endif /* lint */
-
/*
* Push a new element on to the t_ontrap stack. Refer to <sys/ontrap.h> for
* more information about the on_trap() mechanism. If the on_trap_data is the
@@ -359,14 +280,6 @@ on_trap_trampoline(void)
* we go any further. We want these errors to be processed before we modify
* our current error protection.
*/
-#if defined(lint)
-
-/*ARGSUSED*/
-int
-on_trap(on_trap_data_t *otp, uint_t prot)
-{ return (0); }
-
-#else /* lint */
ENTRY(on_trap)
membar #Sync ! force error barrier
@@ -388,22 +301,11 @@ on_trap(on_trap_data_t *otp, uint_t prot)
add %o0, OT_JMPBUF, %o0 ! %o0 = &ot_jmpbuf
SET_SIZE(on_trap)
-#endif /* lint */
-
/*
* Setjmp and longjmp implement non-local gotos using state vectors
* type label_t.
*/
-#if defined(lint)
-
-/* ARGSUSED */
-int
-setjmp(label_t *lp)
-{ return (0); }
-
-#else /* lint */
-
ENTRY(setjmp)
stn %o7, [%o0 + L_PC] ! save return address
stn %sp, [%o0 + L_SP] ! save stack ptr
@@ -411,17 +313,6 @@ setjmp(label_t *lp)
clr %o0 ! return 0
SET_SIZE(setjmp)
-#endif /* lint */
-
-
-#if defined(lint)
-
-/* ARGSUSED */
-void
-longjmp(label_t *lp)
-{}
-
-#else /* lint */
ENTRY(longjmp)
!
@@ -442,23 +333,12 @@ longjmp(label_t *lp)
restore %g0, 1, %o0 ! takes underflow, switches stacks
SET_SIZE(longjmp)
-#endif /* lint */
-
/*
* movtuc(length, from, to, table)
*
* VAX movtuc instruction (sort of).
*/
-#if defined(lint)
-
-/*ARGSUSED*/
-int
-movtuc(size_t length, u_char *from, u_char *to, u_char table[])
-{ return (0); }
-
-#else /* lint */
-
ENTRY(movtuc)
tst %o0
ble,pn %ncc, 2f ! check length
@@ -483,23 +363,12 @@ movtuc(size_t length, u_char *from, u_char *to, u_char table[])
mov %o4, %o0
SET_SIZE(movtuc)
-#endif /* lint */
-
/*
* scanc(length, string, table, mask)
*
* VAX scanc instruction.
*/
-#if defined(lint)
-
-/*ARGSUSED*/
-int
-scanc(size_t length, u_char *string, u_char table[], u_char mask)
-{ return (0); }
-
-#else /* lint */
-
ENTRY(scanc)
tst %o0
ble,pn %ncc, 1f ! check length
@@ -517,86 +386,44 @@ scanc(size_t length, u_char *string, u_char table[], u_char mask)
sub %o0, %o4, %o0
SET_SIZE(scanc)
-#endif /* lint */
-
/*
* if a() calls b() calls caller(),
* caller() returns return address in a().
*/
-#if defined(lint)
-
-caddr_t
-caller(void)
-{ return (0); }
-
-#else /* lint */
-
ENTRY(caller)
retl
mov %i7, %o0
SET_SIZE(caller)
-#endif /* lint */
-
/*
* if a() calls callee(), callee() returns the
* return address in a();
*/
-#if defined(lint)
-
-caddr_t
-callee(void)
-{ return (0); }
-
-#else /* lint */
-
ENTRY(callee)
retl
mov %o7, %o0
SET_SIZE(callee)
-#endif /* lint */
-
/*
* return the current frame pointer
*/
-#if defined(lint)
-
-greg_t
-getfp(void)
-{ return (0); }
-
-#else /* lint */
-
ENTRY(getfp)
retl
mov %fp, %o0
SET_SIZE(getfp)
-#endif /* lint */
-
/*
* Get vector base register
*/
-#if defined(lint)
-
-greg_t
-gettbr(void)
-{ return (0); }
-
-#else /* lint */
-
ENTRY(gettbr)
retl
mov %tbr, %o0
SET_SIZE(gettbr)
-#endif /* lint */
-
/*
* Get processor state register, V9 faked to look like V8.
* Note: does not provide ccr.xcc and provides FPRS.FEF instead of
@@ -604,14 +431,6 @@ gettbr(void)
* libc_psr memcpy routines to run without hitting the fp_disabled trap.
*/
-#if defined(lint)
-
-greg_t
-getpsr(void)
-{ return (0); }
-
-#else /* lint */
-
ENTRY(getpsr)
rd %ccr, %o1 ! get ccr
sll %o1, PSR_ICC_SHIFT, %o0 ! move icc to V8 psr.icc
@@ -624,43 +443,20 @@ getpsr(void)
or %o0, %o1, %o0 ! or into psr.impl/ver
SET_SIZE(getpsr)
-#endif /* lint */
-
/*
* Get current processor interrupt level
*/
-#if defined(lint)
-
-u_int
-getpil(void)
-{ return (0); }
-
-#else /* lint */
-
ENTRY(getpil)
retl
rdpr %pil, %o0
SET_SIZE(getpil)
-#endif /* lint */
-
-#if defined(lint)
-
-/*ARGSUSED*/
-void
-setpil(u_int pil)
-{}
-
-#else /* lint */
-
ENTRY(setpil)
retl
wrpr %g0, %o0, %pil
SET_SIZE(setpil)
-#endif /* lint */
-
/*
* _insque(entryp, predp)
@@ -668,15 +464,6 @@ setpil(u_int pil)
* Insert entryp after predp in a doubly linked list.
*/
-#if defined(lint)
-
-/*ARGSUSED*/
-void
-_insque(caddr_t entryp, caddr_t predp)
-{}
-
-#else /* lint */
-
ENTRY(_insque)
ldn [%o1], %g1 ! predp->forw
stn %o1, [%o0 + CPTRSIZE] ! entryp->back = predp
@@ -686,23 +473,12 @@ _insque(caddr_t entryp, caddr_t predp)
stn %o0, [%g1 + CPTRSIZE] ! predp->forw->back = entryp
SET_SIZE(_insque)
-#endif /* lint */
-
/*
* _remque(entryp)
*
* Remove entryp from a doubly linked list
*/
-#if defined(lint)
-
-/*ARGSUSED*/
-void
-_remque(caddr_t entryp)
-{}
-
-#else /* lint */
-
ENTRY(_remque)
ldn [%o0], %g1 ! entryp->forw
ldn [%o0 + CPTRSIZE], %g2 ! entryp->back
@@ -711,8 +487,6 @@ _remque(caddr_t entryp)
stn %g2, [%g1 + CPTRSIZE] ! entryp->forw->back = entryp->back
SET_SIZE(_remque)
-#endif /* lint */
-
/*
* strlen(str)
@@ -723,15 +497,6 @@ _remque(caddr_t entryp)
* why does it have local labels which don't start with a `.'?
*/
-#if defined(lint)
-
-/*ARGSUSED*/
-size_t
-strlen(const char *str)
-{ return (0); }
-
-#else /* lint */
-
ENTRY(strlen)
mov %o0, %o1
andcc %o1, 3, %o3 ! is src word aligned
@@ -816,91 +581,10 @@ $done3:
inc 3, %o0
SET_SIZE(strlen)
-#endif /* lint */
-
/*
* Provide a C callable interface to the membar instruction.
*/
-#if defined(lint)
-
-void
-membar_ldld(void)
-{}
-
-void
-membar_stld(void)
-{}
-
-void
-membar_ldst(void)
-{}
-
-void
-membar_stst(void)
-{}
-
-void
-membar_ldld_ldst(void)
-{}
-
-void
-membar_ldld_stld(void)
-{}
-
-void
-membar_ldld_stst(void)
-{}
-
-void
-membar_stld_ldld(void)
-{}
-
-void
-membar_stld_ldst(void)
-{}
-
-void
-membar_stld_stst(void)
-{}
-
-void
-membar_ldst_ldld(void)
-{}
-
-void
-membar_ldst_stld(void)
-{}
-
-void
-membar_ldst_stst(void)
-{}
-
-void
-membar_stst_ldld(void)
-{}
-
-void
-membar_stst_stld(void)
-{}
-
-void
-membar_stst_ldst(void)
-{}
-
-void
-membar_lookaside(void)
-{}
-
-void
-membar_memissue(void)
-{}
-
-void
-membar_sync(void)
-{}
-
-#else
ENTRY(membar_ldld)
retl
membar #LoadLoad
@@ -978,42 +662,6 @@ membar_sync(void)
membar #Sync
SET_SIZE(membar_sync)
-#endif /* lint */
-
-
-#if defined(lint)
-
-/*ARGSUSED*/
-int
-fuword64(const void *addr, uint64_t *dst)
-{ return (0); }
-
-/*ARGSUSED*/
-int
-fuword32(const void *addr, uint32_t *dst)
-{ return (0); }
-
-/*ARGSUSED*/
-int
-fuword16(const void *addr, uint16_t *dst)
-{ return (0); }
-
-/*ARGSUSED*/
-int
-fuword8(const void *addr, uint8_t *dst)
-{ return (0); }
-
-/*ARGSUSED*/
-int
-dtrace_ft_fuword64(const void *addr, uint64_t *dst)
-{ return (0); }
-
-/*ARGSUSED*/
-int
-dtrace_ft_fuword32(const void *addr, uint32_t *dst)
-{ return (0); }
-
-#else /* lint */
/*
* Since all of the fuword() variants are so similar, we have a macro to spit
@@ -1052,32 +700,6 @@ dtrace_ft_fuword32(const void *addr, uint32_t *dst)
FUWORD(fuword16, lduha, sth, CP_FUWORD16)
FUWORD(fuword8, lduba, stb, CP_FUWORD8)
-#endif /* lint */
-
-
-#if defined(lint)
-
-/*ARGSUSED*/
-int
-suword64(void *addr, uint64_t value)
-{ return (0); }
-
-/*ARGSUSED*/
-int
-suword32(void *addr, uint32_t value)
-{ return (0); }
-
-/*ARGSUSED*/
-int
-suword16(void *addr, uint16_t value)
-{ return (0); }
-
-/*ARGSUSED*/
-int
-suword8(void *addr, uint8_t value)
-{ return (0); }
-
-#else /* lint */
/*
* Since all of the suword() variants are so similar, we have a macro to spit
@@ -1115,32 +737,6 @@ suword8(void *addr, uint8_t value)
SUWORD(suword16, stha, CP_SUWORD16)
SUWORD(suword8, stba, CP_SUWORD8)
-#endif /* lint */
-
-#if defined(lint)
-
-/*ARGSUSED*/
-void
-fuword8_noerr(const void *addr, uint8_t *dst)
-{}
-
-/*ARGSUSED*/
-void
-fuword16_noerr(const void *addr, uint16_t *dst)
-{}
-
-/*ARGSUSED*/
-void
-fuword32_noerr(const void *addr, uint32_t *dst)
-{}
-
-/*ARGSUSED*/
-void
-fuword64_noerr(const void *addr, uint64_t *dst)
-{}
-
-#else /* lint */
-
ENTRY(fuword8_noerr)
lduba [%o0]ASI_USER, %o0
retl
@@ -1165,32 +761,6 @@ fuword64_noerr(const void *addr, uint64_t *dst)
stx %o0, [%o1]
SET_SIZE(fuword64_noerr)
-#endif /* lint */
-
-#if defined(lint)
-
-/*ARGSUSED*/
-void
-suword8_noerr(void *addr, uint8_t value)
-{}
-
-/*ARGSUSED*/
-void
-suword16_noerr(void *addr, uint16_t value)
-{}
-
-/*ARGSUSED*/
-void
-suword32_noerr(void *addr, uint32_t value)
-{}
-
-/*ARGSUSED*/
-void
-suword64_noerr(void *addr, uint64_t value)
-{}
-
-#else /* lint */
-
ENTRY(suword8_noerr)
retl
stba %o1, [%o0]ASI_USER
@@ -1211,42 +781,6 @@ suword64_noerr(void *addr, uint64_t value)
stxa %o1, [%o0]ASI_USER
SET_SIZE(suword64_noerr)
-#endif /* lint */
-
-#if defined(__lint)
-
-/*ARGSUSED*/
-int
-subyte(void *addr, uchar_t value)
-{ return (0); }
-
-/*ARGSUSED*/
-void
-subyte_noerr(void *addr, uchar_t value)
-{}
-
-/*ARGSUSED*/
-int
-fulword(const void *addr, ulong_t *valuep)
-{ return (0); }
-
-/*ARGSUSED*/
-void
-fulword_noerr(const void *addr, ulong_t *valuep)
-{}
-
-/*ARGSUSED*/
-int
-sulword(void *addr, ulong_t valuep)
-{ return (0); }
-
-/*ARGSUSED*/
-void
-sulword_noerr(void *addr, ulong_t valuep)
-{}
-
-#else
-
.weak subyte
subyte=suword8
.weak subyte_noerr
@@ -1271,8 +805,6 @@ sulword_noerr(void *addr, ulong_t valuep)
sulword_noerr=suword32_noerr
#endif /* LP64 */
-#endif /* lint */
-
/*
* We define rdtick here, but not for sun4v. On sun4v systems, the %tick
* and %stick should not be read directly without considering the tick
@@ -1281,34 +813,16 @@ sulword_noerr(void *addr, ulong_t valuep)
*/
#if !defined (sun4v)
-#if defined (lint)
-
-hrtime_t
-rdtick()
-{ return (0); }
-
-#else /* lint */
-
ENTRY(rdtick)
retl
rd %tick, %o0
SET_SIZE(rdtick)
-#endif /* lint */
-
#endif /* !sun4v */
/*
* Set tba to given address, no side effects.
*/
-#if defined (lint)
-
-/*ARGSUSED*/
-void *
-set_tba(void *new_tba)
-{ return (0); }
-
-#else /* lint */
ENTRY(set_tba)
mov %o0, %o1
@@ -1318,63 +832,21 @@ set_tba(void *new_tba)
nop
SET_SIZE(set_tba)
-#endif /* lint */
-
-#if defined (lint)
-
-/*ARGSUSED*/
-void *
-get_tba()
-{ return (0); }
-
-#else /* lint */
-
ENTRY(get_tba)
retl
rdpr %tba, %o0
SET_SIZE(get_tba)
-#endif /* lint */
-
-#if defined(lint) || defined(__lint)
-
-/* ARGSUSED */
-void
-setpstate(u_int pstate)
-{}
-
-#else /* lint */
-
ENTRY_NP(setpstate)
retl
wrpr %g0, %o0, %pstate
SET_SIZE(setpstate)
-#endif /* lint */
-
-#if defined(lint) || defined(__lint)
-
-u_int
-getpstate(void)
-{ return(0); }
-
-#else /* lint */
-
ENTRY_NP(getpstate)
retl
rdpr %pstate, %o0
SET_SIZE(getpstate)
-#endif /* lint */
-
-#if defined(lint) || defined(__lint)
-
-dtrace_icookie_t
-dtrace_interrupt_disable(void)
-{ return (0); }
-
-#else /* lint */
-
ENTRY_NP(dtrace_interrupt_disable)
rdpr %pstate, %o0
andn %o0, PSTATE_IE, %o1
@@ -1382,36 +854,11 @@ dtrace_interrupt_disable(void)
wrpr %g0, %o1, %pstate
SET_SIZE(dtrace_interrupt_disable)
-#endif /* lint */
-
-#if defined(lint) || defined(__lint)
-
-/*ARGSUSED*/
-void
-dtrace_interrupt_enable(dtrace_icookie_t cookie)
-{}
-
-#else
-
ENTRY_NP(dtrace_interrupt_enable)
retl
wrpr %g0, %o0, %pstate
SET_SIZE(dtrace_interrupt_enable)
-#endif /* lint*/
-
-#if defined(lint)
-
-void
-dtrace_membar_producer(void)
-{}
-
-void
-dtrace_membar_consumer(void)
-{}
-
-#else /* lint */
-
#ifdef SF_ERRATA_51
.align 32
ENTRY(dtrace_membar_return)
@@ -1433,34 +880,11 @@ dtrace_membar_consumer(void)
membar #LoadLoad
SET_SIZE(dtrace_membar_consumer)
-#endif /* lint */
-
-#if defined(lint) || defined(__lint)
-
-void
-dtrace_flush_windows(void)
-{}
-
-#else
-
ENTRY_NP(dtrace_flush_windows)
retl
flushw
SET_SIZE(dtrace_flush_windows)
-#endif /* lint */
-
-#if defined(lint)
-
-/*ARGSUSED*/
-int
-getpcstack_top(pc_t *pcstack, int limit, uintptr_t *lastfp, pc_t *lastpc)
-{
- return (0);
-}
-
-#else /* lint */
-
/*
* %g1 pcstack
* %g2 iteration count
@@ -1531,40 +955,17 @@ getpcstack_top(pc_t *pcstack, int limit, uintptr_t *lastfp, pc_t *lastpc)
ldn [%fp + STACK_BIAS + 15*CLONGSIZE], %g4 ! and pc
SET_SIZE(getpcstack_top)
-#endif /* lint */
-
-#if defined(lint) || defined(__lint)
-
-/* ARGSUSED */
-void
-setwstate(u_int wstate)
-{}
-
-#else /* lint */
-
ENTRY_NP(setwstate)
retl
wrpr %g0, %o0, %wstate
SET_SIZE(setwstate)
-#endif /* lint */
-
-
-#if defined(lint) || defined(__lint)
-
-u_int
-getwstate(void)
-{ return(0); }
-
-#else /* lint */
ENTRY_NP(getwstate)
retl
rdpr %wstate, %o0
SET_SIZE(getwstate)
-#endif /* lint */
-
/*
* int panic_trigger(int *tp)
@@ -1576,15 +977,6 @@ getwstate(void)
* partially corrupt trigger to still trigger correctly. DTrace has its own
* version of this function to allow it to panic correctly from probe context.
*/
-#if defined(lint)
-
-/*ARGSUSED*/
-int panic_trigger(int *tp) { return (0); }
-
-/*ARGSUSED*/
-int dtrace_panic_trigger(int *tp) { return (0); }
-
-#else /* lint */
ENTRY_NP(panic_trigger)
ldstub [%o0], %o0 ! store 0xFF, load byte into %o0
@@ -1606,8 +998,6 @@ int dtrace_panic_trigger(int *tp) { return (0); }
mov %o1, %o0 ! return (%o1);
SET_SIZE(dtrace_panic_trigger)
-#endif /* lint */
-
/*
* void vpanic(const char *format, va_list alist)
*
@@ -1624,15 +1014,6 @@ int dtrace_panic_trigger(int *tp) { return (0); }
* sets up the initial stack as vpanic does, calls dtrace_panic_trigger(), and
* branches back into vpanic().
*/
-#if defined(lint)
-
-/*ARGSUSED*/
-void vpanic(const char *format, va_list alist) {}
-
-/*ARGSUSED*/
-void dtrace_vpanic(const char *format, va_list alist) {}
-
-#else /* lint */
ENTRY_NP(vpanic)
@@ -1761,18 +1142,6 @@ vpanic_common:
ba,a vpanic_common
SET_SIZE(dtrace_vpanic)
-#endif /* lint */
-
-#if defined(lint)
-
-/*ARGSUSED*/
-
-uint_t
-get_subcc_ccr( uint64_t addrl, uint64_t addrr)
-{ return (0); }
-
-#else /* lint */
-
ENTRY(get_subcc_ccr)
wr %g0, %ccr ! clear condition codes
subcc %o0, %o1, %g0
@@ -1780,16 +1149,6 @@ get_subcc_ccr( uint64_t addrl, uint64_t addrr)
rd %ccr, %o0 ! return condition codes
SET_SIZE(get_subcc_ccr)
-#endif /* lint */
-
-#if defined(lint) || defined(__lint)
-
-ftrace_icookie_t
-ftrace_interrupt_disable(void)
-{ return (0); }
-
-#else /* lint */
-
ENTRY_NP(ftrace_interrupt_disable)
rdpr %pstate, %o0
andn %o0, PSTATE_IE, %o1
@@ -1797,20 +1156,8 @@ ftrace_interrupt_disable(void)
wrpr %g0, %o1, %pstate
SET_SIZE(ftrace_interrupt_disable)
-#endif /* lint */
-
-#if defined(lint) || defined(__lint)
-
-/*ARGSUSED*/
-void
-ftrace_interrupt_enable(ftrace_icookie_t cookie)
-{}
-
-#else
-
ENTRY_NP(ftrace_interrupt_enable)
retl
wrpr %g0, %o0, %pstate
SET_SIZE(ftrace_interrupt_enable)
-#endif /* lint*/
diff --git a/usr/src/uts/sparc/v9/ml/syscall_trap.s b/usr/src/uts/sparc/v9/ml/syscall_trap.s
index abd40db34a..d290f5e5c1 100644
--- a/usr/src/uts/sparc/v9/ml/syscall_trap.s
+++ b/usr/src/uts/sparc/v9/ml/syscall_trap.s
@@ -35,23 +35,12 @@
#include <sys/pcb.h>
#include <sys/machparam.h>
-#if !defined(lint) && !defined(__lint)
#include "assym.h"
-#endif
#ifdef TRAPTRACE
#include <sys/traptrace.h>
#endif /* TRAPTRACE */
-#if defined(lint) || defined(__lint)
-
-/*ARGSUSED*/
-void
-syscall_trap(struct regs *rp) /* for tags only; not called from C */
-{}
-
-#else /* lint */
-
#if (1 << SYSENT_SHIFT) != SYSENT_SIZE
#error "SYSENT_SHIFT does not correspond to size of sysent structure"
#endif
@@ -290,15 +279,6 @@ _syscall_post:
jmp %l0 + 8 ! return to user_rtt
nop
SET_SIZE(syscall_trap)
-#endif /* lint */
-
-#if defined(lint) || defined(__lint)
-
-void
-syscall_trap32(void) /* for tags only - trap handler - not called from C */
-{}
-
-#else /* lint */
/*
* System call trap handler for ILP32 processes.
@@ -550,8 +530,6 @@ _syscall_post32:
nop
SET_SIZE(syscall_trap32)
-#endif /* lint */
-
/*
* lwp_rtt - start execution in newly created LWP.
@@ -560,17 +538,6 @@ _syscall_post32:
* simply be restored.
* This must go out through sys_rtt instead of syscall_rtt.
*/
-#if defined(lint) || defined(__lint)
-
-void
-lwp_rtt_initial(void)
-{}
-
-void
-lwp_rtt(void)
-{}
-
-#else /* lint */
ENTRY_NP(lwp_rtt_initial)
ldn [THREAD_REG + T_STACK], %l7
call __dtrace_probe___proc_start
@@ -592,4 +559,3 @@ lwp_rtt(void)
SET_SIZE(lwp_rtt)
SET_SIZE(lwp_rtt_initial)
-#endif /* lint */
diff --git a/usr/src/uts/sparc/v9/os/v9dep.c b/usr/src/uts/sparc/v9/os/v9dep.c
index 654aee9167..38a905995f 100644
--- a/usr/src/uts/sparc/v9/os/v9dep.c
+++ b/usr/src/uts/sparc/v9/os/v9dep.c
@@ -20,7 +20,7 @@
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
-/* All Rights Reserved */
+/* All Rights Reserved */
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
@@ -121,7 +121,7 @@ setfpregs(klwp_t *lwp, fpregset_t *fp)
/*
* Load up a user's floating point context.
*/
- if (fp->fpu_qcnt > MAXFPQ) /* plug security holes */
+ if (fp->fpu_qcnt > MAXFPQ) /* plug security holes */
fp->fpu_qcnt = MAXFPQ;
fp->fpu_q_entrysize = sizeof (struct _fq);
@@ -819,7 +819,7 @@ setregs(uarg_t *args)
rp->r_y = 0;
curthread->t_post_sys = 1;
lwp->lwp_eosys = JUSTRETURN;
- lwp->lwp_pcb.pcb_trap0addr = NULL; /* no trap 0 handler */
+ lwp->lwp_pcb.pcb_trap0addr = 0; /* no trap 0 handler */
/*
* Clear the fixalignment flag
*/
@@ -1425,7 +1425,7 @@ sendsig32(int sig, k_siginfo_t *sip, void (*hdlr)())
gwp = NULL;
sp += gwin_size;
} else {
- suword32_noerr(&fp->uc.uc_mcontext.gwins, (uint32_t)NULL);
+ suword32_noerr(&fp->uc.uc_mcontext.gwins, 0);
}
if (fpq_size != 0) {
@@ -1455,8 +1455,7 @@ sendsig32(int sig, k_siginfo_t *sip, void (*hdlr)())
mpcb->mpcb_flags |= FP_TRAPPED;
} else {
- suword32_noerr(&fp->uc.uc_mcontext.fpregs.fpu_q,
- (uint32_t)NULL);
+ suword32_noerr(&fp->uc.uc_mcontext.fpregs.fpu_q, 0);
suword8_noerr(&fp->uc.uc_mcontext.fpregs.fpu_qcnt, 0);
}
@@ -1724,7 +1723,7 @@ fpuregset_nto32(const fpregset_t *src, fpregset32_t *dest, struct fq32 *dfq)
bzero(dest, sizeof (*dest));
for (i = 0; i < 32; i++)
dest->fpu_fr.fpu_regs[i] = src->fpu_fr.fpu_regs[i];
- dest->fpu_q = NULL;
+ dest->fpu_q = 0;
dest->fpu_fsr = (uint32_t)src->fpu_fsr;
dest->fpu_qcnt = src->fpu_qcnt;
dest->fpu_q_entrysize = sizeof (struct fpq32);
diff --git a/usr/src/uts/sparc/vnic/Makefile b/usr/src/uts/sparc/vnic/Makefile
index 4eb75ef18b..d1bf97b617 100644
--- a/usr/src/uts/sparc/vnic/Makefile
+++ b/usr/src/uts/sparc/vnic/Makefile
@@ -32,7 +32,6 @@ UTSBASE = ../..
#
MODULE = vnic
OBJECTS = $(VNIC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(VNIC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/vnic
@@ -45,14 +44,13 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Overrides
#
CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Ndrv/dld -Nmisc/mac -Nmisc/dls
+LDFLAGS += -Ndrv/dld -Nmisc/mac -Nmisc/dls
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
@@ -70,12 +68,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/vr/Makefile b/usr/src/uts/sparc/vr/Makefile
index 567d4c4f6b..88f1ea2a47 100644
--- a/usr/src/uts/sparc/vr/Makefile
+++ b/usr/src/uts/sparc/vr/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = vr
OBJECTS = $(VR_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(VR_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -50,7 +49,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,7 +61,7 @@ CERRWARN += $(CNOWARN_UNINIT)
#
# Driver depends on GLD
#
-LDFLAGS += -dy -N misc/mac
+LDFLAGS += -N misc/mac
#
# Default build targets.
@@ -78,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/vscan/Makefile b/usr/src/uts/sparc/vscan/Makefile
index 6123739c34..0dd86a0b2a 100644
--- a/usr/src/uts/sparc/vscan/Makefile
+++ b/usr/src/uts/sparc/vscan/Makefile
@@ -19,11 +19,9 @@
# CDDL HEADER END
#
#
-#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
#
# This makefile drives the production of the vscan service
@@ -40,7 +38,6 @@ UTSBASE = ../..
#
MODULE = vscan
OBJECTS = $(VSCAN_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(VSCAN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/vscan
@@ -52,13 +49,12 @@ include $(UTSBASE)/sparc/Makefile.sparc
#
# Module dependencies
#
-LDFLAGS += -dy -N"fs/sockfs" -N"sys/doorfs"
+LDFLAGS += -Nfs/sockfs -Nsys/doorfs
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
#
@@ -80,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_SYS_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/vuid3ps2/Makefile b/usr/src/uts/sparc/vuid3ps2/Makefile
index ad7ce36c5b..5bf8a7b669 100644
--- a/usr/src/uts/sparc/vuid3ps2/Makefile
+++ b/usr/src/uts/sparc/vuid3ps2/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = vuid3ps2
OBJECTS = $(VUIDPS2_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(VUIDPS2_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
#
@@ -55,7 +54,6 @@ CERRWARN += -_gcc=-Wno-parentheses
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -76,12 +74,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/wc/Makefile b/usr/src/uts/sparc/wc/Makefile
index 37482ac950..afc8ea9527 100644
--- a/usr/src/uts/sparc/wc/Makefile
+++ b/usr/src/uts/sparc/wc/Makefile
@@ -38,7 +38,6 @@ UTSBASE = ../..
#
MODULE = wc
OBJECTS = $(WC_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(WC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sun/io
@@ -51,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -61,13 +59,15 @@ MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS += -DWC_MODULE
CLEANFILES += $(MODSTUBS_O)
-CERRWARN += $(CNOWARN_UNINIT)
-
#
-# lint pass one enforcement
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
#
-CFLAGS += $(CCVERBOSE)
-LDFLAGS += -dy -Nmisc/tem -Ndacf/consconfig_dacf
+CFLAGS += $(CCVERBOSE)
+CERRWARN += $(CNOWARN_UNINIT)
+
+LDFLAGS += -Nmisc/tem -Ndacf/consconfig_dacf
#
# Default build targets.
@@ -82,12 +82,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/winlock/Makefile b/usr/src/uts/sparc/winlock/Makefile
index 10ee83f9eb..e2f182b314 100644
--- a/usr/src/uts/sparc/winlock/Makefile
+++ b/usr/src/uts/sparc/winlock/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = winlock
OBJECTS = $(WINLOCK_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(WINLOCK_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
@@ -53,22 +52,14 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
#
@@ -84,12 +75,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/xge/Makefile b/usr/src/uts/sparc/xge/Makefile
index 5a252dc13d..4335c2cfc8 100644
--- a/usr/src/uts/sparc/xge/Makefile
+++ b/usr/src/uts/sparc/xge/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = xge
OBJECTS = $(XGE_HAL_OBJS:%=$(OBJS_DIR)/%) $(XGE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(XGE_HAL_OBJS:%.o=$(LINTS_DIR)/%.ln) $(XGE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,7 +48,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -76,7 +74,7 @@ HAL_CFLAGS = -DXGE_HAL_USE_MGMT_AUX
#TRACE_CFLAGS = -DXGE_DEBUG_MODULE_MASK=0xffffffff \
# -DXGE_DEBUG_TRACE_MASK=0xffffffff \
# -DXGE_DEBUG_ERR_MASK=0xffffffff
-TRACE_CFLAGS = -DXGE_DEBUG_MODULE_MASK=0x00003010 \
+TRACE_CFLAGS = -DXGE_DEBUG_MODULE_MASK=0x00003010 \
-DXGE_DEBUG_TRACE_MASK=0x00000000 \
-DXGE_DEBUG_ERR_MASK=0x00003010
@@ -91,21 +89,13 @@ CFLAGS64 += $(XGE_CFLAGS) -xO4 -xcrossfile
#
# Driver depends on MAC & IP
#
-LDFLAGS += -dy -N misc/mac -N drv/ip
+LDFLAGS += -N misc/mac -N drv/ip
-# Lint flag
#
-LINTFLAGS += $(XGE_CFLAGS) -Xc99=%all
-
-#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-label
@@ -126,12 +116,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/yge/Makefile b/usr/src/uts/sparc/yge/Makefile
index 8b376f704b..69f3786a40 100644
--- a/usr/src/uts/sparc/yge/Makefile
+++ b/usr/src/uts/sparc/yge/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = yge
OBJECTS = $(YGE_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(YGE_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
@@ -49,17 +48,18 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Driver depends on MAC
#
-LDFLAGS += -dy -N misc/mac -N misc/mii
+LDFLAGS += -N misc/mac -N misc/mii
-# Lint flag
#
-
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
CERRWARN += -_gcc=-Wno-unused-label
#
@@ -76,12 +76,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/zcons/Makefile b/usr/src/uts/sparc/zcons/Makefile
index 5c2d629369..70967385a9 100644
--- a/usr/src/uts/sparc/zcons/Makefile
+++ b/usr/src/uts/sparc/zcons/Makefile
@@ -19,12 +19,10 @@
# CDDL HEADER END
#
#
-# uts/sparc/zcons/Makefile
-#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the production of the zcons driver
#
@@ -41,7 +39,6 @@ UTSBASE = ../..
#
MODULE = zcons
OBJECTS = $(ZCONS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ZCONS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
#
@@ -53,7 +50,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -74,12 +70,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sparc/zfd/Makefile b/usr/src/uts/sparc/zfd/Makefile
index ebdba686b4..6371399988 100644
--- a/usr/src/uts/sparc/zfd/Makefile
+++ b/usr/src/uts/sparc/zfd/Makefile
@@ -18,13 +18,11 @@ UTSBASE = ../..
MODULE = zfd
OBJECTS = $(ZFD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ZFD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
include $(UTSBASE)/sparc/Makefile.sparc
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
CFLAGS += $(CCVERBOSE)
@@ -39,12 +37,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
include $(UTSBASE)/sparc/Makefile.targ
diff --git a/usr/src/uts/sparc/zfs/Makefile b/usr/src/uts/sparc/zfs/Makefile
index 617d495325..f02433fc7c 100644
--- a/usr/src/uts/sparc/zfs/Makefile
+++ b/usr/src/uts/sparc/zfs/Makefile
@@ -44,8 +44,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = zfs
OBJECTS = $(ZFS_OBJS:%=$(OBJS_DIR)/%) $(LUA_OBJS:%=$(OBJS_DIR)/%)
-# LUA_OBJS are intentionally omitted from LINTS
-LINTS = $(ZFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_FS_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/fs/zfs
@@ -59,7 +57,6 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
#
@@ -69,7 +66,7 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
# we can no longer load modules through OBP.
#
MODSTUBS_DIR = $(OBJS_DIR)
-LDFLAGS += -dy -Nfs/specfs -Ncrypto/swrand -Nmisc/idmap \
+LDFLAGS += -Nfs/specfs -Ncrypto/swrand -Nmisc/idmap \
-Nsched/SDC -Nmisc/sha2 -Nmisc/skein -Nmisc/edonr
INC_PATH += -I$(UTSBASE)/common/fs/zfs
@@ -78,19 +75,11 @@ INC_PATH += -I$(SRC)/common
INC_PATH += -I$(COMMONBASE)/zfs
INC_PATH += -I$(UTSBASE)/sun4
-C99LMODE= -Xc99=%all
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-type-limits
CERRWARN += -_gcc=-Wno-switch
@@ -112,12 +101,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_FS_DIR) $(ROOTMODULE)
diff --git a/usr/src/uts/sparc/zfs/spa_boot.c b/usr/src/uts/sparc/zfs/spa_boot.c
index 71a8b9ed51..8109d0e2f9 100644
--- a/usr/src/uts/sparc/zfs/spa_boot.c
+++ b/usr/src/uts/sparc/zfs/spa_boot.c
@@ -26,6 +26,7 @@
/*
* Copyright (c) 2012 by Delphix. All rights reserved.
+ * Copyright 2020 Joshua M. Clulow <josh@sysmgr.org>
*/
#include <sys/zio.h>
@@ -35,7 +36,7 @@
extern int zfs_deadman_enabled;
char *
-spa_get_bootprop(char *propname)
+spa_get_bootprop(const char *propname)
{
int proplen;
char *value;
@@ -54,9 +55,13 @@ spa_get_bootprop(char *propname)
}
void
-spa_free_bootprop(char *propname)
+spa_free_bootprop(char *propval)
{
- kmem_free(propname, strlen(propname) + 1);
+ if (propval == NULL) {
+ return;
+ }
+
+ kmem_free(propval, strlen(propval) + 1);
}
void
diff --git a/usr/src/uts/sparc/zut/Makefile b/usr/src/uts/sparc/zut/Makefile
index 1ec757e8e8..c73ce55297 100644
--- a/usr/src/uts/sparc/zut/Makefile
+++ b/usr/src/uts/sparc/zut/Makefile
@@ -36,7 +36,6 @@ ARCHDIR:sh = cd ..; basename `pwd`
#
MODULE = zut
OBJECTS = $(ZUT_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(ZUT_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/fs/zut
@@ -49,27 +48,22 @@ include ../Makefile.$(ARCHDIR)
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Overrides and depends_on
#
MODSTUBS_DIR = $(OBJS_DIR)
-LDFLAGS += -dy
INC_PATH += -I$(UTSBASE)/common/fs/zut
INC_PATH += -I$(SRC)/common
INC_PATH += -I$(COMMONBASE)/zut
-C99LMODE= -Xc99=%all
-
#
-# For now, disable these lint checks; maintainers should endeavor
-# to investigate and remove these for maximum lint coverage.
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
# Please do not carry these forward to new Makefiles.
#
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
@@ -87,12 +81,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#