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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/hsfs/Makefile
          +++ new/usr/src/uts/intel/hsfs/Makefile
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # uts/intel/hsfs/Makefile
  23   23  #
  24   24  # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  25   25  # Use is subject to license terms.
  26   26  # Copyright (c) 2011 Bayard G. Bell. All rights reserved.
  27   27  #
  28      -#       This makefile drives the production of the hsfs file system
  29      -#       kernel module.
  30      -#
  31      -#       intel architecture dependent
  32      -#
       28 +# Copyright (c) 2018, Joyent, Inc.
  33   29  
  34   30  #
  35   31  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  36   32  #
  37   33  UTSBASE = ../..
  38   34  
  39   35  #
  40   36  #       Define the module and object file sets.
  41   37  #
  42   38  MODULE          = hsfs
↓ open down ↓ 29 lines elided ↑ open up ↑
  72   68  LINTTAGS        += -erroff=E_STATIC_UNUSED
  73   69  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  74   70  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  75   71  
  76   72  CERRWARN        += -_gcc=-Wno-parentheses
  77   73  CERRWARN        += -_gcc=-Wno-uninitialized
  78   74  CERRWARN        += -_gcc=-Wno-unused-function
  79   75  CERRWARN        += -_gcc=-Wno-type-limits
  80   76  CERRWARN        += -_gcc=-Wno-switch
  81   77  
       78 +# needs work
       79 +$(OBJS_DIR)/hsfs_vnops.o := SMOFF += 64bit_shift,signed
       80 +
  82   81  #
  83   82  #       Default build targets.
  84   83  #
  85   84  .KEEP_STATE:
  86   85  
  87   86  def:            $(DEF_DEPS)
  88   87  
  89   88  all:            $(ALL_DEPS)
  90   89  
  91   90  clean:          $(CLEAN_DEPS)
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX