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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/pcihp/Makefile
          +++ new/usr/src/uts/intel/pcihp/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  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/pcihp/Makefile
  23   23  # Copyright 2006 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 kernel/misc/pcihp module
  29      -#       for PCI hotplug support in PCI nexus drivers.
  30      -#
  31      -#       intel implementation architecture dependent
  32      -#
       26 +# Copyright (c) 2018, Joyent, Inc.
  33   27  
  34   28  #
  35   29  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  36   30  #
  37   31  UTSBASE = ../..
  38   32  
  39   33  #
  40   34  #       Define the module and object file sets.
  41   35  #
  42   36  MODULE          = pcihp
↓ open down ↓ 19 lines elided ↑ open up ↑
  62   56  LDFLAGS         += -dy -Nmisc/busra -Nmisc/hpcsvc
  63   57  
  64   58  #
  65   59  # For now, disable these lint checks; maintainers should endeavor
  66   60  # to investigate and remove these for maximum lint coverage.
  67   61  # Please do not carry these forward to new Makefiles.
  68   62  #
  69   63  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  70   64  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  71   65  
       66 +# needs work
       67 +SMOFF += indenting
       68 +
  72   69  #
  73   70  #       Default build targets.
  74   71  #
  75   72  .KEEP_STATE:
  76   73  
  77   74  def:            $(DEF_DEPS)
  78   75  
  79   76  all:            $(ALL_DEPS)
  80   77  
  81   78  clean:          $(CLEAN_DEPS)
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX