Print this page
10688 gfx_private needs smatch fixes

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86xpv/gfx_private/Makefile
          +++ new/usr/src/uts/i86xpv/gfx_private/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 2007 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  # Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
       26 +# Copyright 2019, Joyent, Inc.
  26   27  #
  27   28  
  28   29  #
  29   30  #       This makefile drives the production of the graphics private
  30   31  #       interface kernel module.
  31   32  #
  32   33  #       i86xpv platform dependent
  33   34  #
  34   35  
  35   36  #
↓ open down ↓ 26 lines elided ↑ open up ↑
  62   63  LINT_TARGET     = $(MODULE).lint
  63   64  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  64   65  
  65   66  LINTTAGS +=     -erroff=E_ASSIGN_NARROW_CONV
  66   67  LINTTAGS +=     -erroff=E_BAD_PTR_CAST_ALIGN
  67   68  LINTTAGS +=     -erroff=E_STATIC_UNUSED
  68   69  
  69   70  CERRWARN        += -_gcc=-Wno-uninitialized
  70   71  CERRWARN        += -_gcc=-Wno-parentheses
  71   72  
       73 +# needs work
       74 +SMOFF           += all_func_returns,deref_check
       75 +
  72   76  #
  73   77  #       Default build targets.
  74   78  #
  75   79  .KEEP_STATE:
  76   80  
  77   81  def:            $(DEF_DEPS)
  78   82  
  79   83  all:            $(ALL_DEPS)
  80   84  
  81   85  clean:          $(CLEAN_DEPS)
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX