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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/scsa2usb/Makefile
          +++ new/usr/src/uts/intel/scsa2usb/Makefile
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # uts/intel/scsa2usb/Makefile
  23   23  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26   26  # Copyright 2014 Garrett D'Amore <garrett@damore.org>
  27   27  #
  28      -#       This makefile drives the production of the scsa2usb driver
  29      -#       kernel module. intel architecture dependent
  30      -#
       28 +# Copyright (c) 2018, Joyent, Inc.
  31   29  
  32   30  #
  33   31  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  34   32  #
  35   33  UTSBASE = ../..
  36   34  
  37   35  #
  38   36  #       Define the module and object file sets.
  39   37  #
  40   38  MODULE          = scsa2usb
↓ open down ↓ 28 lines elided ↑ open up ↑
  69   67  #
  70   68  # For now, disable these lint checks; maintainers should endeavor
  71   69  # to investigate and remove these for maximum lint coverage.
  72   70  # Please do not carry these forward to new Makefiles.
  73   71  #
  74   72  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  75   73  
  76   74  CERRWARN        += -_gcc=-Wno-unused-label
  77   75  CERRWARN        += -_gcc=-Wno-uninitialized
  78   76  
       77 +# needs work
       78 +$(OBJS_DIR)/scsa2usb.o := SMOFF += deref_check
       79 +
  79   80  #
  80   81  #       Default build targets.
  81   82  #
  82   83  .KEEP_STATE:
  83   84  
  84   85  def:            $(DEF_DEPS)
  85   86  
  86   87  all:            $(ALL_DEPS)
  87   88  
  88   89  clean:          $(CLEAN_DEPS)
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX