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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/sfxge/Makefile
          +++ new/usr/src/uts/intel/sfxge/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 2016 Garrett D'Amore <garrett@damore.org>
  14   14  #
       15 +# Copyright (c) 2018, Joyent, Inc.
  15   16  
  16   17  UTSBASE         = ../..
  17   18  
  18   19  MODULE          = sfxge
  19   20  OBJECTS         = $(SFXGE_OBJS:%=$(OBJS_DIR)/%)
  20   21  OBJECTS         += $(SFXGE_SF_OBJS:%=$(OBJS_DIR)/%)
  21   22  LINTS           = $(SFXGE_OBJS:%.o=$(LINTS_DIR)/%.ln)
  22   23  LINTS           += $(SFXGE_SF_OBJS:%.o=$(LINTS_DIR)/%.ln)
  23   24  ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  24   25  
↓ open down ↓ 20 lines elided ↑ open up ↑
  45   46  #
  46   47  CPPFLAGS += -U_USE_MTU_UPDATE
  47   48  
  48   49  CFLAGS += $(CCVERBOSE)
  49   50  
  50   51  #
  51   52  # Driver depends on GLDv3 (mac)
  52   53  #
  53   54  LDFLAGS         += -dy -N misc/mac
  54   55  
       56 +# needs work
       57 +$(OBJS_DIR)/sfxge_ev.o := SMOFF += index_overflow
       58 +SMOFF += all_func_returns
       59 +
  55   60  #
  56   61  # Default build targets.
  57   62  #
  58   63  .KEEP_STATE:
  59   64  
  60   65  def:            $(DEF_DEPS)
  61   66  
  62   67  all:            $(ALL_DEPS)
  63   68  
  64   69  clean:          $(CLEAN_DEPS)
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX