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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/xge/Makefile
          +++ new/usr/src/uts/intel/xge/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  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  #
  23   23  # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26      -#       This makefile drives the production of the Neterion Xframe
  27      -#       10G Ethernet (XGE) driver module in x86 systems
  28      -#
       26 +# Copyright (c) 2018, Joyent, Inc.
  29   27  
  30   28  #
  31   29  #       Paths to the base of the uts directory trees
  32   30  #
  33   31  UTSBASE   = ../..
  34   32  
  35   33  #
  36   34  #       Define the module and object file sets.
  37   35  #
  38   36  MODULE          = xge
↓ open down ↓ 66 lines elided ↑ open up ↑
 105  103  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
 106  104  LINTTAGS        += -erroff=E_STATIC_UNUSED
 107  105  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
 108  106  
 109  107  CERRWARN        += -_gcc=-Wno-parentheses
 110  108  CERRWARN        += -_gcc=-Wno-unused-variable
 111  109  CERRWARN        += -_gcc=-Wno-unused-label
 112  110  CERRWARN        += -_gcc=-Wno-empty-body
 113  111  CERRWARN        += -_gcc=-Wno-uninitialized
 114  112  
      113 +# needs work
      114 +SMOFF += indenting,all_func_returns,no_if_block
      115 +
 115  116  #
 116  117  #
 117  118  #       Default build targets.
 118  119  #
 119  120  .KEEP_STATE:
 120  121  
 121  122  def:            $(DEF_DEPS)
 122  123  
 123  124  all:            $(ALL_DEPS)
 124  125  
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX