Print this page
10077 usr/src/uts/ Makefile changes for smatch
@@ -20,12 +20,11 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# uts/intel/cardbus/Makefile
-#
+# Copyright (c) 2018, Joyent, Inc.
#
# This makefile drives the production of the cardbus kernel module.
#
# intel architecture dependent
@@ -85,10 +84,12 @@
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-unused-variable
+SMOFF += indenting,no_if_block
+
#
# Default build targets.
#
.KEEP_STATE: