Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 20,30 ****
--- 20,32 ----
#
#
# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
+ # Copyright (c) 2018, Joyent, Inc.
+
#
# uts/intel/sda/Makefile
#
# This makefile drives the production of the sda "misc"
# kernel module.
*** 74,83 ****
--- 76,88 ----
#
MAPFILE = $(UTSBASE)/common/io/sdcard/impl/mapfile
LDFLAGS += -dy -Ndrv/blkdev -B reduce -M $(MAPFILE)
CTFMRGFLAGS += -f
+ # needs work
+ SMOFF += all_func_returns
+
#
# Default build targets.
#
.KEEP_STATE: