Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 10,19 ****
--- 10,20 ----
#
#
# Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
#
+ # Copyright (c) 2018, Joyent, Inc.
#
# This makefile drives the production of the iwn driver kernel module.
#
# intel architecture dependent
*** 53,62 ****
--- 54,66 ----
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTFIRMWARE)
LDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 -Ndrv/random -Ndrv/ip
+ # needs work
+ SMOFF += all_func_returns
+
#
# Default build targets.
#
.KEEP_STATE: