Print this page
10077 usr/src/uts/ Makefile changes for smatch

@@ -22,15 +22,11 @@
 # 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
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 #
 #       Path to the base of the uts directory tree (usually /usr/src/uts).
 #
 UTSBASE = ../..

@@ -65,10 +61,13 @@
 #
 # 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: