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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/cxgbe/t4nex/Makefile
          +++ new/usr/src/uts/intel/cxgbe/t4nex/Makefile
↓ open down ↓ 4 lines elided ↑ open up ↑
   5    5  # 1.0 of the CDDL.
   6    6  #
   7    7  # A full copy of the text of the CDDL should have accompanied this
   8    8  # source.  A copy of the CDDL is also available via the Internet at
   9    9  # http://www.illumos.org/license/CDDL.
  10   10  #
  11   11  
  12   12  #
  13   13  # Copyright (c) 2013 by Chelsio Communications, Inc. All rights reserved.
  14   14  #
       15 +# Copyright (c) 2018, Joyent, Inc.
  15   16  
  16   17  #
  17   18  # This makefile drives the production of the Chelsio Terminator 4 10G Ethernet
  18   19  # (CXGBE) driver nexus modules on x86 systems.
  19   20  #
  20   21  
  21   22  #
  22   23  # Paths to the base of the uts directory trees
  23   24  #
  24   25  UTSBASE = ../../..
↓ open down ↓ 58 lines elided ↑ open up ↑
  83   84  LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
  84   85  LINTTAGS += -erroff=E_ENUM_VAL_OVERFLOWS_INT_MAX
  85   86  LINTTAGS += -erroff=E_FUNC_NO_RET_VAL
  86   87  LINTTAGS += -erroff=E_NOP_IF_STMT
  87   88  LINTTAGS += -erroff=E_FUNC_SET_NOT_USED
  88   89  LINTTAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
  89   90  LINTTAGS += -erroff=E_FUNC_RET_MAYBE_IGNORED2
  90   91  LINTTAGS += -erroff=E_CASE_FALLTHRU
  91   92  LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
  92   93  
       94 +# needs work
       95 +SMATCH=off
       96 +
  93   97  #
  94   98  # Default build targets.
  95   99  #
  96  100  .KEEP_STATE:
  97  101  
  98  102  def:            $(DEF_DEPS)
  99  103  
 100  104  all:            $(ALL_DEPS)
 101  105  
 102  106  clean:          $(CLEAN_DEPS)
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX