Print this page
10079 smatch Makefile changes for usr/src/lib

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY =       libdhcpagent.a
 VERS =          .1
 OBJECTS =       dhcp_hostconf.o dhcpagent_ipc.o dhcpagent_util.o dhcp_stable.o
 

@@ -40,10 +41,13 @@
 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
 
 CFLAGS +=       $(CCVERBOSE) 
 CERRWARN +=     -_gcc=-Wno-type-limits
 
+# needs work
+SMOFF += allocating_enough_data
+
 .KEEP_STATE:
 
 all: $(LIBS)
 
 lint: lintcheck