diff options
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/sun4u/epic/Makefile | 15 | ||||
-rw-r--r-- | usr/src/uts/sun4u/io/epic.c | 4 |
2 files changed, 2 insertions, 17 deletions
diff --git a/usr/src/uts/sun4u/epic/Makefile b/usr/src/uts/sun4u/epic/Makefile index 5271a38d3e..7430e152e3 100644 --- a/usr/src/uts/sun4u/epic/Makefile +++ b/usr/src/uts/sun4u/epic/Makefile @@ -24,8 +24,6 @@ # Copyright 2005 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 epic driver # # sun4u implementation architecture dependent @@ -41,7 +39,6 @@ UTSBASE = ../.. # MODULE = epic OBJECTS = $(EPIC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(EPIC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) # @@ -53,15 +50,9 @@ include $(UTSBASE)/sun4u/Makefile.sun4u # 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 @@ -79,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/sun4u/io/epic.c b/usr/src/uts/sun4u/io/epic.c index f982e26406..edb211daaf 100644 --- a/usr/src/uts/sun4u/io/epic.c +++ b/usr/src/uts/sun4u/io/epic.c @@ -210,7 +210,7 @@ epic_attach(dev_info_t *dip, ddi_attach_cmd_t cmd) (void) sprintf(name, "env-monitor%d", inst); minor = inst; if (ddi_create_minor_node(dip, name, S_IFCHR, minor, - DDI_PSEUDO, NULL) == DDI_FAILURE) { + DDI_PSEUDO, 0) == DDI_FAILURE) { cmn_err(CE_WARN, "ddi_create_minor_node() failed for inst %d\n", inst); @@ -325,7 +325,7 @@ epic_close(dev_t dev, int flag, int otyp, cred_t *credp) /*ARGSUSED*/ static int epic_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, -int *rvalp) + int *rvalp) { _NOTE(ARGUNUSED(credp)) |