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

@@ -21,17 +21,11 @@
 #
 #
 # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident "%Z%%M% %I%     %E% SMI"
-#
-#       This makefile drives the production of the ip6 driver 
-#       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 = ../..

@@ -60,10 +54,13 @@
 #
 #       depends on ip
 #
 LDFLAGS         += -dy -Ndrv/ip
 
+# needs work
+$(OBJS_DIR)/ip6ddi.o := SMOFF += index_overflow
+
 #
 #       Default build targets.
 #
 .KEEP_STATE: