Print this page
10688 gfx_private needs smatch fixes

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/gfx_private/Makefile
          +++ new/usr/src/uts/i86pc/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  # uts/i86pc/gfx_private/Makefile
  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  #       i86pc platform dependent
  30   31  #
  31   32  
  32   33  #
  33   34  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  34   35  #
  35   36  UTSBASE = ../..
↓ open down ↓ 30 lines elided ↑ open up ↑
  66   67  # to investigate and remove these for maximum lint coverage.
  67   68  # Please do not carry these forward to new Makefiles.
  68   69  #
  69   70  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  70   71  LINTTAGS        += -erroff=E_STATIC_UNUSED
  71   72  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  72   73  
  73   74  CERRWARN        += -_gcc=-Wno-uninitialized
  74   75  CERRWARN        += -_gcc=-Wno-parentheses
  75   76  
       77 +# needs work
       78 +SMOFF           += all_func_returns,deref_check
       79 +
  76   80  #
  77   81  #       Default build targets.
  78   82  #
  79   83  .KEEP_STATE:
  80   84  
  81   85  def:            $(DEF_DEPS)
  82   86  
  83   87  all:            $(ALL_DEPS)
  84   88  
  85   89  clean:          $(CLEAN_DEPS)
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX