Print this page
10077 usr/src/uts/ Makefile changes for smatch
@@ -20,11 +20,11 @@
#
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# uts/intel/usbser/Makefile
+# Copyright (c) 2018, Joyent, Inc.
#
# This makefile drives the production of the usbser kernel module.
#
@@ -63,10 +63,13 @@
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
#
LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+# needs work
+SMOFF += all_func_returns
+
.KEEP_STATE:
all: $(ALL_DEPS)
def: $(DEF_DEPS)