Print this page
new smatch

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/mac/Makefile
          +++ new/usr/src/uts/intel/mac/Makefile
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25      -# Copyright (c) 2018, Joyent, Inc.
       25 +# Copyright 2019 Joyent, Inc.
  26   26  
  27   27  #
  28   28  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  29   29  #
  30   30  UTSBASE = ../..
  31   31  
  32   32  #
  33   33  #       Define the module and object file sets.
  34   34  #
  35   35  MODULE          = mac
↓ open down ↓ 24 lines elided ↑ open up ↑
  60   60  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  61   61  
  62   62  CERRWARN        += -_gcc=-Wno-unused-label
  63   63  CERRWARN        += $(CNOWARN_UNINIT)
  64   64  CERRWARN        += -_gcc=-Wno-type-limits
  65   65  CERRWARN        += -_gcc=-Wno-switch
  66   66  CERRWARN        += -_gcc=-Wno-unused-variable
  67   67  
  68   68  # needs work
  69   69  SMOFF += all_func_returns
  70      -$(OBJS_DIR)/mac.o := SMOFF += deref_check
  71   70  $(OBJS_DIR)/mac_util.o := SMOFF += signed
  72   71  
  73      -# false positive
  74      -$(OBJS_DIR)/mac_sched.o := SMOFF += assign_vs_compare
  75   72  #
  76   73  #       Default build targets.
  77   74  #
  78   75  .KEEP_STATE:
  79   76  
  80   77  def:            $(DEF_DEPS)
  81   78  
  82   79  all:            $(ALL_DEPS)
  83   80  
  84   81  clean:          $(CLEAN_DEPS)
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX