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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/tcp6/Makefile
          +++ new/usr/src/uts/intel/tcp6/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16  # If applicable, add the following below this CDDL HEADER, with the
  17   17  # fields enclosed by brackets "[]" replaced with your own identifying
  18   18  # information: Portions Copyright [yyyy] [name of copyright owner]
  19   19  #
  20   20  # CDDL HEADER END
  21   21  #
  22   22  #
  23   23  # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26      -# ident "%Z%%M% %I%     %E% SMI"
  27      -#
  28      -#       This makefile drives the production of the tcp6 driver kernel module.
  29      -#
  30      -#       intel implementation architecture dependent
  31      -#
       26 +# Copyright (c) 2018, Joyent, Inc.
  32   27  
  33   28  #
  34   29  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  35   30  #
  36   31  UTSBASE = ../..
  37   32  
  38   33  #
  39   34  #       Define the module and object file sets.
  40   35  #
  41   36  MODULE          = tcp6
↓ open down ↓ 2 lines elided ↑ open up ↑
  44   39  ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  45   40  CONF_SRCDIR     = $(UTSBASE)/common/inet/tcp
  46   41  
  47   42  #
  48   43  # Extra for $(MODULE).check target
  49   44  #
  50   45  # Need to remove ipddi.o since it has non-static defines for _init etc.
  51   46  IP_CHECK_OBJS   = $(IP_OBJS:ipddi.o=ip.o)
  52   47  EXTRA_CHECK_OBJS = $(IP_CHECK_OBJS:%=../ip/$(OBJS_DIR)/%)
  53   48  
       49 +# needs work
       50 +SMOFF += index_overflow
       51 +
  54   52  #
  55   53  #       Include common rules.
  56   54  #
  57   55  include $(UTSBASE)/intel/Makefile.intel
  58   56  
  59   57  #
  60   58  #       Define targets
  61   59  #
  62   60  ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  63   61  LINT_TARGET     = $(MODULE).lint
↓ open down ↓ 32 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX