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

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 #
 # uts/intel/devfs/Makefile
 #       This makefile drives the production of the devfs file system
 #       kernel module.

@@ -49,10 +50,13 @@
 #
 include $(UTSBASE)/intel/Makefile.intel
 
 CERRWARN        += -_gcc=-Wno-parentheses
 
+# needs work
+$(OBJS_DIR)/devfs_vnops.o := SMOFF += signed
+
 #
 #       Define targets
 #
 ALL_TARGET      = $(BINARY)
 LINT_TARGET     = $(MODULE).lint