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

*** 1,10 **** # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # Copyright 2016 Joyent, Inc. # # # This makefile drives the production of the ACPI CA services # kernel module. # --- 1,10 ---- # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # Copyright (c) 2018, Joyent, Inc. # # # This makefile drives the production of the ACPI CA services # kernel module. #
*** 52,61 **** --- 52,63 ---- # # 3rd party code is not lint clean # CERRWARN += -erroff=E_STATEMENT_NOT_REACHED + SMOFF += all_func_returns + LINTFLAGS += -errchk=%none LINTFLAGS += -errhdr=%none LINTFLAGS += -erroff=%all LINTFLAGS += -errwarn=%none