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

@@ -21,11 +21,11 @@
 
 #
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# Copyright 2016 Joyent, Inc.
+# Copyright (c) 2018, Joyent, Inc.
 #
 
 #       This makefile drives the production of the acpi_drv 
 #       driver kernel module.
 #

@@ -63,10 +63,13 @@
 
 CPPFLAGS        += -DSUNDDI
 
 CERRWARN        += -_gcc=-Wno-unused-function
 
+# needs work
+$(OBJS_DIR)/acpi_video.o := SMOFF += all_func_returns
+
 LDFLAGS         += -dy -N misc/acpica
 
 #
 # For now, disable these lint checks; maintainers should endeavor
 # to investigate and remove these for maximum lint coverage.