summaryrefslogtreecommitdiff
path: root/usr/src/uts/sparc
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/sparc')
-rw-r--r--usr/src/uts/sparc/audio/Makefile8
-rw-r--r--usr/src/uts/sparc/gld/Makefile4
-rw-r--r--usr/src/uts/sparc/io/pciex/pcie_sparc.c2
-rw-r--r--usr/src/uts/sparc/os/cpr_sparc.c6
4 files changed, 6 insertions, 14 deletions
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/gld/Makefile b/usr/src/uts/sparc/gld/Makefile
index d56548e81b..ad3519c146 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
@@ -56,6 +56,8 @@ ALL_TARGET = $(BINARY)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
+LDFLAGS += -dy -Nmisc/mac
+
#
# Overrides.
#
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/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);