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

*** 19,29 **** # CDDL HEADER END # # # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. # ! # # # Path to the base of the uts directory tree (usually /usr/src/uts). # UTSBASE = ../.. --- 19,29 ---- # CDDL HEADER END # # # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. # ! # Copyright (c) 2018, Joyent, Inc. # # Path to the base of the uts directory tree (usually /usr/src/uts). # UTSBASE = ../..
*** 62,71 **** --- 62,74 ---- # LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW LINTTAGS += -erroff=E_STATIC_UNUSED + # needs work + SMOFF += all_func_returns,logical_instead_of_bitwise + # # Default build targets. # .KEEP_STATE: