diff options
author | Dan Kimmel <dan.kimmel@delphix.com> | 2016-12-02 12:20:31 -0800 |
---|---|---|
committer | Matthew Ahrens <mahrens@delphix.com> | 2016-12-02 12:32:27 -0800 |
commit | 4ba5b9616327ef64e8abc737d29b3faabc6ae68c (patch) | |
tree | 6baefbf7d40916feec51964371dcea3660be4481 /usr/src/uts/sparc | |
parent | 719d176126cc1c689a469d4c3553d770d1c4e94e (diff) | |
download | illumos-gate-4ba5b9616327ef64e8abc737d29b3faabc6ae68c.tar.gz |
7586 remove #ifdef __lint hack from dmu.h
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/uts/sparc')
-rw-r--r-- | usr/src/uts/sparc/dev/Makefile | 5 | ||||
-rw-r--r-- | usr/src/uts/sparc/stmf_sbd/Makefile | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/usr/src/uts/sparc/dev/Makefile b/usr/src/uts/sparc/dev/Makefile index 1469b37763..e079a824c3 100644 --- a/usr/src/uts/sparc/dev/Makefile +++ b/usr/src/uts/sparc/dev/Makefile @@ -21,6 +21,8 @@ # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # +# Copyright (c) 2016 by Delphix. All rights reserved. +# # uts/sparc/dev/Makefile # This makefile drives the production of the /dev file system # kernel module. @@ -64,6 +66,9 @@ LDFLAGS += -dy -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 CERRWARN += -_gcc=-Wno-uninitialized diff --git a/usr/src/uts/sparc/stmf_sbd/Makefile b/usr/src/uts/sparc/stmf_sbd/Makefile index a57ccaf73d..ac64b10708 100644 --- a/usr/src/uts/sparc/stmf_sbd/Makefile +++ b/usr/src/uts/sparc/stmf_sbd/Makefile @@ -20,8 +20,9 @@ # # # Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016 by Delphix. All rights reserved. # -# This makefile drives the production of the stmf_sbd driver for +# This makefile drives the production of the stmf_sbd driver for # COMSTAR. # @@ -68,6 +69,7 @@ C99LMODE= -Xc99=%all # to investigate and remove these for maximum lint coverage. # LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN +LINTTAGS += -erroff=E_STATIC_UNUSED CERRWARN += -_gcc=-Wno-switch CERRWARN += -_gcc=-Wno-parentheses |