Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 21,30 ****
--- 21,31 ----
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
#
# This makefile drives the production of the aac driver kernel module.
#
# intel implementation architecture dependent
*** 69,78 ****
--- 70,82 ----
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-value
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-switch
+ # needs work
+ $(OBJS_DIR)/aac.o := SMOFF += shift_to_zero
+
#
# Default build targets.
#
.KEEP_STATE: