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

@@ -20,19 +20,13 @@
 #
 #
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
-# ident "%Z%%M% %I%     %E% SMI"
 #
-# This makefile drives the production of the ipw driver kernel module.
-#
-# i86pc architecture dependent
-#
-
-#
 #       Path to the base of the uts directory tree (usually /usr/src/uts).
 #
 UTSBASE = ../..
 
 #

@@ -56,10 +50,13 @@
 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
 
 CPPFLAGS        += -I. -D_KERNEL
 LDFLAGS         += -dy -Nmisc/mac -Nmisc/net80211 -Ndrv/random -Ndrv/ip 
 
+# needs work
+$(OBJS_DIR)/ipw2200.o := SMOFF += deref_check
+
 #
 #       Default build targets.
 #
 .KEEP_STATE: