summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/lib/sun_fc/Makefile.com4
-rw-r--r--usr/src/lib/sun_fc/common/Listener.cc17
-rw-r--r--usr/src/uts/sun4u/io/i2c/clients/ltc1427.c12
-rw-r--r--usr/src/uts/sun4u/io/i2c/clients/max1617.c19
-rw-r--r--usr/src/uts/sun4u/io/iommu.c2
-rw-r--r--usr/src/uts/sun4u/io/sysiosbus.c86
-rw-r--r--usr/src/uts/sun4u/ltc1427/Makefile17
-rw-r--r--usr/src/uts/sun4u/max1617/Makefile13
-rw-r--r--usr/src/uts/sun4u/sbus/Makefile22
9 files changed, 61 insertions, 131 deletions
diff --git a/usr/src/lib/sun_fc/Makefile.com b/usr/src/lib/sun_fc/Makefile.com
index 8866389598..3d0e2d3ab8 100644
--- a/usr/src/lib/sun_fc/Makefile.com
+++ b/usr/src/lib/sun_fc/Makefile.com
@@ -145,10 +145,6 @@ CCERRWARN += -_gcc=-Wno-unused-function
CCERRWARN += -_gcc=-Wno-type-limits
CCERRWARN += -_gcc=-Wno-return-type
-CCERRWARN += -_gcc7=-Wno-c++11-compat
-CCERRWARN += -_gcc8=-Wno-c++11-compat
-CCERRWARN += -_gcc9=-Wno-c++11-compat
-
LDLIBS += -ldevinfo
LDLIBS += -lsysevent
LDLIBS += -lnvpair
diff --git a/usr/src/lib/sun_fc/common/Listener.cc b/usr/src/lib/sun_fc/common/Listener.cc
index cc862aff9e..9b9f4b3fe3 100644
--- a/usr/src/lib/sun_fc/common/Listener.cc
+++ b/usr/src/lib/sun_fc/common/Listener.cc
@@ -50,7 +50,7 @@ typedef vector<Listener *>::iterator ListenerIterator;
* @memo Create a new generic listener
* @exception ... underlying exceptions will be thrown
* @param userData The opaque user data for event callback
- *
+ *
*/
Listener::Listener(void *userData) {
data = userData;
@@ -66,22 +66,15 @@ Listener::Listener(void *userData) {
/**
* @memo Free up a generic listener, keeping global list in sync.
- * @exception ... underlying exceptions will be thrown
*/
Listener::~Listener() {
Lockable::lock(&staticLock);
- try {
- for (ListenerIterator tmp = listeners.begin();
- tmp != listeners.end(); tmp++) {
+ for (ListenerIterator tmp = listeners.begin();
+ tmp != listeners.end(); tmp++) {
if (*tmp == this) {
- listeners.erase(tmp);
- Lockable::unlock(&staticLock);
- return;
+ listeners.erase(tmp);
+ break;
}
- }
- } catch (...) {
- Lockable::unlock(&staticLock);
- throw;
}
Lockable::unlock(&staticLock);
}
diff --git a/usr/src/uts/sun4u/io/i2c/clients/ltc1427.c b/usr/src/uts/sun4u/io/i2c/clients/ltc1427.c
index a68be45600..a61bf76a25 100644
--- a/usr/src/uts/sun4u/io/i2c/clients/ltc1427.c
+++ b/usr/src/uts/sun4u/io/i2c/clients/ltc1427.c
@@ -218,17 +218,17 @@ ltc1427_close(dev_t dev, int flags, int otyp, cred_t *credp)
static int
ltc1427_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
- cred_t *credp, int *rvalp)
+ cred_t *credp, int *rvalp)
{
_NOTE(ARGUNUSED(credp, rvalp))
- struct ltc1427_unit *unitp;
- int instance;
- int err = 0;
+ struct ltc1427_unit *unitp;
+ int instance;
+ int err = 0;
i2c_transfer_t *i2c_tran_pointer;
int32_t fan_speed;
- if (arg == NULL) {
+ if (arg == (intptr_t)NULL) {
D2CMN_ERR((CE_WARN, "LTC1427: ioctl: arg passed in to ioctl "
"= NULL\n"));
err = EINVAL;
@@ -358,7 +358,7 @@ ltc1427_do_attach(dev_info_t *dip)
"%s%d", ddi_node_name(dip), instance);
if (ddi_create_minor_node(dip, "ltc1427", S_IFCHR, instance,
- "ddi_i2c:adio", NULL) == DDI_FAILURE) {
+ "ddi_i2c:adio", 0) == DDI_FAILURE) {
cmn_err(CE_WARN, "%s ddi_create_minor_node failed for "
"%s\n", unitp->ltc1427_name, "ltc1427");
ddi_soft_state_free(ltc1427soft_statep, instance);
diff --git a/usr/src/uts/sun4u/io/i2c/clients/max1617.c b/usr/src/uts/sun4u/io/i2c/clients/max1617.c
index 00282c9c53..adf306ef7a 100644
--- a/usr/src/uts/sun4u/io/i2c/clients/max1617.c
+++ b/usr/src/uts/sun4u/io/i2c/clients/max1617.c
@@ -191,10 +191,10 @@ max1617_do_attach(dev_info_t *dip)
MAX1617_FCN_TO_MINOR(MAX1617_CPU_TEMP);
if (ddi_create_minor_node(dip, minor_name, S_IFCHR,
- minor_number, MAX1617_NODE_TYPE, NULL) == DDI_FAILURE) {
+ minor_number, MAX1617_NODE_TYPE, 0) == DDI_FAILURE) {
cmn_err(CE_WARN, "%s ddi_create_minor_node failed for minor "
" name '%s'", unitp->max1617_name, minor_name);
- ddi_soft_state_free(max1617_soft_statep, instance);
+ ddi_soft_state_free(max1617_soft_statep, instance);
return (DDI_FAILURE);
}
@@ -204,7 +204,7 @@ max1617_do_attach(dev_info_t *dip)
MAX1617_FCN_TO_MINOR(MAX1617_AMB_TEMP);
if (ddi_create_minor_node(dip, minor_name, S_IFCHR,
- minor_number, MAX1617_NODE_TYPE, NULL) == DDI_FAILURE) {
+ minor_number, MAX1617_NODE_TYPE, 0) == DDI_FAILURE) {
cmn_err(CE_WARN, "%s ddi_create_minor_node failed for %s",
unitp->max1617_name, minor_name);
ddi_remove_minor_node(dip, NULL);
@@ -525,10 +525,8 @@ max1617_close(dev_t dev, int flags, int otyp, cred_t *credp)
}
int
-set_temp_limit(struct max1617_unit *unitp,
- uchar_t device_reg,
- caddr_t arg,
- int mode)
+set_temp_limit(struct max1617_unit *unitp, uchar_t device_reg, caddr_t arg,
+ int mode)
{
int err = 0;
i2c_transfer_t *i2ctp;
@@ -558,10 +556,7 @@ set_temp_limit(struct max1617_unit *unitp,
}
int
-get_temp_limit(struct max1617_unit *unitp,
- uchar_t reg,
- caddr_t arg,
- int mode)
+get_temp_limit(struct max1617_unit *unitp, uchar_t reg, caddr_t arg, int mode)
{
int err = 0;
i2c_transfer_t *i2ctp;
@@ -591,7 +586,7 @@ get_temp_limit(struct max1617_unit *unitp,
static int
max1617_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
- cred_t *credp, int *rvalp)
+ cred_t *credp, int *rvalp)
{
_NOTE(ARGUNUSED(credp, rvalp))
struct max1617_unit *unitp;
diff --git a/usr/src/uts/sun4u/io/iommu.c b/usr/src/uts/sun4u/io/iommu.c
index 75937f0b0f..5b916ee116 100644
--- a/usr/src/uts/sun4u/io/iommu.c
+++ b/usr/src/uts/sun4u/io/iommu.c
@@ -898,7 +898,7 @@ iommu_dma_bindhdl(dev_info_t *dip, dev_info_t *rdip,
/* We don't need the addr anymore if we have a shadow list */
if (pplist != NULL)
- addr = NULL;
+ addr = (uintptr_t)NULL;
pp = NULL;
break;
diff --git a/usr/src/uts/sun4u/io/sysiosbus.c b/usr/src/uts/sun4u/io/sysiosbus.c
index 20b75c8a0b..e2310fc5af 100644
--- a/usr/src/uts/sun4u/io/sysiosbus.c
+++ b/usr/src/uts/sun4u/io/sysiosbus.c
@@ -71,61 +71,61 @@
* table.
*/
static struct sbus_slot_entry ino_1 = {SBUS_SLOT0_CONFIG, SBUS_SLOT0_MAPREG,
- SBUS_SLOT0_L1_CLEAR, NULL};
+ SBUS_SLOT0_L1_CLEAR, 0};
static struct sbus_slot_entry ino_2 = {SBUS_SLOT0_CONFIG, SBUS_SLOT0_MAPREG,
- SBUS_SLOT0_L2_CLEAR, NULL};
+ SBUS_SLOT0_L2_CLEAR, 0};
static struct sbus_slot_entry ino_3 = {SBUS_SLOT0_CONFIG, SBUS_SLOT0_MAPREG,
- SBUS_SLOT0_L3_CLEAR, NULL};
+ SBUS_SLOT0_L3_CLEAR, 0};
static struct sbus_slot_entry ino_4 = {SBUS_SLOT0_CONFIG, SBUS_SLOT0_MAPREG,
- SBUS_SLOT0_L4_CLEAR, NULL};
+ SBUS_SLOT0_L4_CLEAR, 0};
static struct sbus_slot_entry ino_5 = {SBUS_SLOT0_CONFIG, SBUS_SLOT0_MAPREG,
- SBUS_SLOT0_L5_CLEAR, NULL};
+ SBUS_SLOT0_L5_CLEAR, 0};
static struct sbus_slot_entry ino_6 = {SBUS_SLOT0_CONFIG, SBUS_SLOT0_MAPREG,
- SBUS_SLOT0_L6_CLEAR, NULL};
+ SBUS_SLOT0_L6_CLEAR, 0};
static struct sbus_slot_entry ino_7 = {SBUS_SLOT0_CONFIG, SBUS_SLOT0_MAPREG,
- SBUS_SLOT0_L7_CLEAR, NULL};
+ SBUS_SLOT0_L7_CLEAR, 0};
static struct sbus_slot_entry ino_9 = {SBUS_SLOT1_CONFIG, SBUS_SLOT1_MAPREG,
- SBUS_SLOT1_L1_CLEAR, NULL};
+ SBUS_SLOT1_L1_CLEAR, 0};
static struct sbus_slot_entry ino_10 = {SBUS_SLOT1_CONFIG, SBUS_SLOT1_MAPREG,
- SBUS_SLOT1_L2_CLEAR, NULL};
+ SBUS_SLOT1_L2_CLEAR, 0};
static struct sbus_slot_entry ino_11 = {SBUS_SLOT1_CONFIG, SBUS_SLOT1_MAPREG,
- SBUS_SLOT1_L3_CLEAR, NULL};
+ SBUS_SLOT1_L3_CLEAR, 0};
static struct sbus_slot_entry ino_12 = {SBUS_SLOT1_CONFIG, SBUS_SLOT1_MAPREG,
- SBUS_SLOT1_L4_CLEAR, NULL};
+ SBUS_SLOT1_L4_CLEAR, 0};
static struct sbus_slot_entry ino_13 = {SBUS_SLOT1_CONFIG, SBUS_SLOT1_MAPREG,
- SBUS_SLOT1_L5_CLEAR, NULL};
+ SBUS_SLOT1_L5_CLEAR, 0};
static struct sbus_slot_entry ino_14 = {SBUS_SLOT1_CONFIG, SBUS_SLOT1_MAPREG,
- SBUS_SLOT1_L6_CLEAR, NULL};
+ SBUS_SLOT1_L6_CLEAR, 0};
static struct sbus_slot_entry ino_15 = {SBUS_SLOT1_CONFIG, SBUS_SLOT1_MAPREG,
- SBUS_SLOT1_L7_CLEAR, NULL};
+ SBUS_SLOT1_L7_CLEAR, 0};
static struct sbus_slot_entry ino_17 = {SBUS_SLOT2_CONFIG, SBUS_SLOT2_MAPREG,
- SBUS_SLOT2_L1_CLEAR, NULL};
+ SBUS_SLOT2_L1_CLEAR, 0};
static struct sbus_slot_entry ino_18 = {SBUS_SLOT2_CONFIG, SBUS_SLOT2_MAPREG,
- SBUS_SLOT2_L2_CLEAR, NULL};
+ SBUS_SLOT2_L2_CLEAR, 0};
static struct sbus_slot_entry ino_19 = {SBUS_SLOT2_CONFIG, SBUS_SLOT2_MAPREG,
- SBUS_SLOT2_L3_CLEAR, NULL};
+ SBUS_SLOT2_L3_CLEAR, 0};
static struct sbus_slot_entry ino_20 = {SBUS_SLOT2_CONFIG, SBUS_SLOT2_MAPREG,
- SBUS_SLOT2_L4_CLEAR, NULL};
+ SBUS_SLOT2_L4_CLEAR, 0};
static struct sbus_slot_entry ino_21 = {SBUS_SLOT2_CONFIG, SBUS_SLOT2_MAPREG,
- SBUS_SLOT2_L5_CLEAR, NULL};
+ SBUS_SLOT2_L5_CLEAR, 0};
static struct sbus_slot_entry ino_22 = {SBUS_SLOT2_CONFIG, SBUS_SLOT2_MAPREG,
- SBUS_SLOT2_L6_CLEAR, NULL};
+ SBUS_SLOT2_L6_CLEAR, 0};
static struct sbus_slot_entry ino_23 = {SBUS_SLOT2_CONFIG, SBUS_SLOT2_MAPREG,
- SBUS_SLOT2_L7_CLEAR, NULL};
+ SBUS_SLOT2_L7_CLEAR, 0};
static struct sbus_slot_entry ino_25 = {SBUS_SLOT3_CONFIG, SBUS_SLOT3_MAPREG,
- SBUS_SLOT3_L1_CLEAR, NULL};
+ SBUS_SLOT3_L1_CLEAR, 0};
static struct sbus_slot_entry ino_26 = {SBUS_SLOT3_CONFIG, SBUS_SLOT3_MAPREG,
- SBUS_SLOT3_L2_CLEAR, NULL};
+ SBUS_SLOT3_L2_CLEAR, 0};
static struct sbus_slot_entry ino_27 = {SBUS_SLOT3_CONFIG, SBUS_SLOT3_MAPREG,
- SBUS_SLOT3_L3_CLEAR, NULL};
+ SBUS_SLOT3_L3_CLEAR, 0};
static struct sbus_slot_entry ino_28 = {SBUS_SLOT3_CONFIG, SBUS_SLOT3_MAPREG,
- SBUS_SLOT3_L4_CLEAR, NULL};
+ SBUS_SLOT3_L4_CLEAR, 0};
static struct sbus_slot_entry ino_29 = {SBUS_SLOT3_CONFIG, SBUS_SLOT3_MAPREG,
- SBUS_SLOT3_L5_CLEAR, NULL};
+ SBUS_SLOT3_L5_CLEAR, 0};
static struct sbus_slot_entry ino_30 = {SBUS_SLOT3_CONFIG, SBUS_SLOT3_MAPREG,
- SBUS_SLOT3_L6_CLEAR, NULL};
+ SBUS_SLOT3_L6_CLEAR, 0};
static struct sbus_slot_entry ino_31 = {SBUS_SLOT3_CONFIG, SBUS_SLOT3_MAPREG,
- SBUS_SLOT3_L7_CLEAR, NULL};
+ SBUS_SLOT3_L7_CLEAR, 0};
static struct sbus_slot_entry ino_32 = {SBUS_SLOT5_CONFIG, ESP_MAPREG,
ESP_CLEAR, ESP_INTR_STATE_SHIFT};
static struct sbus_slot_entry ino_33 = {SBUS_SLOT5_CONFIG, ETHER_MAPREG,
@@ -154,8 +154,8 @@ static struct sbus_slot_entry ino_54 = {SBUS_SLOT6_CONFIG, SBUS_ERR_MAPREG,
SBUS_ERR_CLEAR, SERR_INTR_STATE_SHIFT};
static struct sbus_slot_entry ino_55 = {SBUS_SLOT6_CONFIG, PM_WAKEUP_MAPREG,
PM_WAKEUP_CLEAR, PM_INTR_STATE_SHIFT};
-static struct sbus_slot_entry ino_ffb = {NULL, FFB_MAPPING_REG, NULL, NULL};
-static struct sbus_slot_entry ino_exp = {NULL, EXP_MAPPING_REG, NULL, NULL};
+static struct sbus_slot_entry ino_ffb = {0, FFB_MAPPING_REG, 0, 0};
+static struct sbus_slot_entry ino_exp = {0, EXP_MAPPING_REG, 0, 0};
/* Construct the interrupt number array */
struct sbus_slot_entry *ino_table[] = {
@@ -370,7 +370,7 @@ static kmutex_t sbus_attachcnt_mutex; /* sbus_attachcnt lock - attach/detach */
extern struct mod_ops mod_driverops;
static struct modldrv modldrv = {
- &mod_driverops, /* Type of module. This one is a driver */
+ &mod_driverops, /* Type of module. This one is a driver */
"SBus (sysio) nexus driver", /* Name of module. */
&sbus_ops, /* driver ops */
};
@@ -1648,14 +1648,14 @@ sbus_add_intr_impl(dev_info_t *dip, dev_info_t *rdip,
uint_t cpu_id;
struct sbus_wrapper_arg *sbus_arg;
struct sbus_intr_handler *intr_handler;
- uint32_t slot;
+ int slot;
/* Interrupt state machine reset flag */
int reset_ism_register = 1;
int ret = DDI_SUCCESS;
/* Check if we have a valid sbus slot address */
- if (((slot = (uint_t)find_sbus_slot(dip, rdip)) >=
- MAX_SBUS_SLOT_ADDR) || (slot < (uint_t)0)) {
+ slot = find_sbus_slot(dip, rdip);
+ if (slot >= MAX_SBUS_SLOT_ADDR || slot < 0) {
cmn_err(CE_WARN, "Invalid sbus slot 0x%x during add intr\n",
slot);
return (DDI_FAILURE);
@@ -2284,8 +2284,7 @@ sbus_intr_reset(void *arg)
for (mondo = 0; mondo < SZ_INO_TABLE; mondo++) {
if (ino_table[mondo] == NULL ||
- ino_table[mondo]->clear_reg == NULL) {
-
+ ino_table[mondo]->clear_reg == 0) {
continue;
}
@@ -2350,8 +2349,8 @@ sbus_add_picN_kstats(dev_info_t *dip)
};
struct kstat_named *sbus_pic_named_data;
- int event, pic;
- char pic_name[30];
+ int event, pic;
+ char pic_name[30];
int instance = ddi_get_instance(dip);
int pic_shift = 0;
@@ -2363,9 +2362,9 @@ sbus_add_picN_kstats(dev_info_t *dip)
(void) sprintf(pic_name, "pic%d", pic); /* pic0, pic1 ... */
if ((sbus_picN_ksp[pic] = kstat_create("sbus",
instance, pic_name, "bus", KSTAT_TYPE_NAMED,
- SBUS_NUM_EVENTS + 1, NULL)) == NULL) {
- cmn_err(CE_WARN, "sbus %s: kstat_create failed",
- pic_name);
+ SBUS_NUM_EVENTS + 1, 0)) == NULL) {
+ cmn_err(CE_WARN, "sbus %s: kstat_create failed",
+ pic_name);
/* remove pic0 kstat if pic1 create fails */
if (pic == 1) {
@@ -2448,9 +2447,8 @@ sbus_add_kstats(struct sbus_soft_state *softsp)
ddi_get_instance(softsp->dip), "counters",
"bus", KSTAT_TYPE_NAMED, SBUS_NUM_PICS + 1,
KSTAT_FLAG_WRITABLE)) == NULL) {
-
- cmn_err(CE_WARN, "sbus%d counters: kstat_create"
- " failed", ddi_get_instance(softsp->dip));
+ cmn_err(CE_WARN, "sbus%d counters: kstat_create"
+ " failed", ddi_get_instance(softsp->dip));
return;
}
diff --git a/usr/src/uts/sun4u/ltc1427/Makefile b/usr/src/uts/sun4u/ltc1427/Makefile
index dd9b438c27..c15d8c2de1 100644
--- a/usr/src/uts/sun4u/ltc1427/Makefile
+++ b/usr/src/uts/sun4u/ltc1427/Makefile
@@ -22,10 +22,6 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
# This makefile drives the ltc1427 build.
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
@@ -37,7 +33,6 @@ UTSBASE = ../..
#
MODULE = ltc1427
OBJECTS = $(LTC1427_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(LTC1427_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
#
@@ -45,18 +40,12 @@ ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
#
include $(UTSBASE)/sun4u/Makefile.sun4u
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
LDFLAGS += -dy -N misc/i2c_svc
#
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -69,12 +58,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#
diff --git a/usr/src/uts/sun4u/max1617/Makefile b/usr/src/uts/sun4u/max1617/Makefile
index fa8367fd6b..1c5104f147 100644
--- a/usr/src/uts/sun4u/max1617/Makefile
+++ b/usr/src/uts/sun4u/max1617/Makefile
@@ -35,7 +35,6 @@ UTSBASE = ../..
#
MODULE = max1617
OBJECTS = $(MAX1617_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(MAX1617_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
#
@@ -43,11 +42,6 @@ ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
#
include $(UTSBASE)/sun4u/Makefile.sun4u
-#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
CERRWARN += -_gcc=-Wno-unused-label
LDFLAGS += -dy -N misc/i2c_svc
@@ -56,7 +50,6 @@ LDFLAGS += -dy -N misc/i2c_svc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.KEEP_STATE:
@@ -69,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/sun4u/sbus/Makefile b/usr/src/uts/sun4u/sbus/Makefile
index 0d222c5c3c..f950751b24 100644
--- a/usr/src/uts/sun4u/sbus/Makefile
+++ b/usr/src/uts/sun4u/sbus/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = sbus
OBJECTS = $(SYSIO_SBUS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SYSIO_SBUS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
#
@@ -53,31 +52,16 @@ include $(UTSBASE)/sun4u/Makefile.sun4u
# 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/iommu.il
#
-# 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.
-# 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
-
CERRWARN += -_gcc=-Wno-type-limits
CERRWARN += $(CNOWARN_UNINIT)
@@ -94,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#