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

@@ -21,10 +21,11 @@
 #
 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY =       libefi.a
 VERS =          .1
 OBJECTS =       rdwr_efi.o crc32_efi.o
 

@@ -40,10 +41,12 @@
 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
 CFLAGS +=       $(CCVERBOSE)
 
 LINTFLAGS64 +=  -errchk=longptr64
 
+SMOFF += kmalloc_wrong_size
+
 .KEEP_STATE:
 
 all: $(LIBS)
 
 lint: lintcheck