Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 19,28 ****
--- 19,29 ----
# CDDL HEADER END
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
+ # Copyright (c) 2018, Joyent, Inc.
#
# This makefile drives the production of the emul64 kernel
# driver to testing hotplugging operations
#
*** 68,77 ****
--- 69,81 ----
LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-uninitialized
+ # needs work
+ SMOFF += indenting,shift_to_zero
+
#
# Depends on scsi
#
LDFLAGS += -dy -N misc/scsi