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

*** 20,36 **** # # # Copyright 2010 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # uts/intel/igb/Makefile ! # ! # This makefile drives the production of the igb ! # network driver kernel module. ! # ! # intel architecture dependent ! # # # Paths to the base of the uts directory trees # UTSBASE = ../.. --- 20,30 ---- # # # Copyright 2010 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # Copyright (c) 2018, Joyent, Inc. # # Paths to the base of the uts directory trees # UTSBASE = ../..
*** 56,65 **** --- 50,62 ---- CERRWARN += -_gcc=-Wno-switch CERRWARN += -_gcc=-Wno-uninitialized CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED + # needs work + SMOFF += all_func_returns,indenting + CFLAGS += -I$(UTSBASE)/common/io/e1000api CFLAGS += -I$(UTSBASE)/common/io/igb # # Define targets