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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/nca/Makefile
          +++ new/usr/src/uts/intel/nca/Makefile
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # uts/intel/nca/Makefile
  23   23  #
  24   24  # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  25   25  # Use is subject to license terms.
  26   26  #
  27      -# ident "%Z%%M% %I%     %E% SMI"
  28      -#
  29      -#       This makefile drives the production of the nca driver 
  30      -#       kernel module.
  31      -#
  32      -#       Intel architecture dependent
  33      -#
       27 +# Copyright (c) 2018, Joyent, Inc.
  34   28  
  35   29  #
  36   30  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  37   31  #
  38   32  UTSBASE = ../..
  39   33  
  40   34  #
  41   35  #       Define the module and object file sets.
  42   36  #
  43   37  MODULE          = nca
↓ open down ↓ 20 lines elided ↑ open up ↑
  64   58  #
  65   59  LDFLAGS += -dy -Nfs/sockfs -Ndrv/ip
  66   60  
  67   61  #
  68   62  # For now, disable these lint checks; maintainers should endeavor
  69   63  # to investigate and remove these for maximum lint coverage.
  70   64  # Please do not carry these forward to new Makefiles.
  71   65  #
  72   66  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  73   67  
       68 +# needs work
       69 +$(OBJS_DIR)/ncaddi.o := SMOFF += index_overflow
       70 +
  74   71  #
  75   72  #       Default build targets.
  76   73  #
  77   74  .KEEP_STATE:
  78   75  
  79   76  def:            $(DEF_DEPS)
  80   77  
  81   78  all:            $(ALL_DEPS)
  82   79  
  83   80  clean:          $(CLEAN_DEPS)
↓ open down ↓ 18 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX