Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 22,36 ****
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Copyright (c) 2012 by Delphix. All rights reserved.
#
! # This makefile drives the production of the network lock manager server
! # specific kernel module.
! #
! # intel implementation architecture dependent
! #
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
--- 22,32 ----
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Copyright (c) 2012 by Delphix. All rights reserved.
#
! # Copyright (c) 2018, Joyent, Inc.
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
*** 65,74 ****
--- 61,73 ----
#
# Code generated by rpcgen triggers the -Wswitch warning.
#
CERRWARN += -_gcc=-Wno-switch
+ # needs work
+ $(OBJS_DIR)/nlm_service.o := SMOFF += signed_integer_overflow_check
+
#
# Default build targets.
#
.KEEP_STATE: