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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/klmmod/Makefile
          +++ new/usr/src/uts/intel/klmmod/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  # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25   25  # Copyright (c) 2012 by Delphix. All rights reserved.
  26   26  #
  27      -#       This makefile drives the production of the network lock manager server
  28      -#       specific kernel module.
  29      -#
  30      -#       intel implementation architecture dependent
  31      -#
       27 +# Copyright (c) 2018, Joyent, Inc.
  32   28  
  33   29  #
  34   30  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  35   31  #
  36   32  UTSBASE = ../..
  37   33  
  38   34  #
  39   35  #       Define the module and object file sets.
  40   36  #
  41   37  MODULE          = klmmod
↓ open down ↓ 18 lines elided ↑ open up ↑
  60   56  #
  61   57  LDFLAGS         += -dy -Nstrmod/rpcmod -Nfs/nfs
  62   58  LDFLAGS         += -M $(UTSBASE)/common/klm/mapfile-mod
  63   59  CTFMRGFLAGS     += -f
  64   60  
  65   61  #
  66   62  # Code generated by rpcgen triggers the -Wswitch warning.
  67   63  #
  68   64  CERRWARN        += -_gcc=-Wno-switch
  69   65  
       66 +# needs work
       67 +$(OBJS_DIR)/nlm_service.o := SMOFF += signed_integer_overflow_check
       68 +
  70   69  #
  71   70  #       Default build targets.
  72   71  #
  73   72  .KEEP_STATE:
  74   73  
  75   74  def:            $(DEF_DEPS)
  76   75  
  77   76  all:            $(ALL_DEPS)
  78   77  
  79   78  clean:          $(CLEAN_DEPS)
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX