Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 20,30 ****
#
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # uts/intel/usbser/Makefile
#
# This makefile drives the production of the usbser kernel module.
#
--- 20,30 ----
#
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
#
# This makefile drives the production of the usbser kernel module.
#
*** 63,72 ****
--- 63,75 ----
# 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)