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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/sda/Makefile
          +++ new/usr/src/uts/intel/sda/Makefile
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  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  #
  23   23  # Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24  #
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  
       27 +
  26   28  #
  27   29  # uts/intel/sda/Makefile
  28   30  #
  29   31  #       This makefile drives the production of the sda "misc"
  30   32  #       kernel module.
  31   33  #
  32   34  #       intel architecture dependent
  33   35  #
  34   36  
  35   37  #
↓ open down ↓ 33 lines elided ↑ open up ↑
  69   71  CFLAGS += $(CCVERBOSE)
  70   72  
  71   73  #
  72   74  # dependency on blkdev module, scope limiting mapfile
  73   75  # Note that we have to allow CTFMERGE to use fuzzy matching
  74   76  #
  75   77  MAPFILE         = $(UTSBASE)/common/io/sdcard/impl/mapfile
  76   78  LDFLAGS         += -dy -Ndrv/blkdev -B reduce -M $(MAPFILE)
  77   79  CTFMRGFLAGS     += -f
  78   80  
       81 +# needs work
       82 +SMOFF += all_func_returns
       83 +
  79   84  #
  80   85  #       Default build targets.
  81   86  #
  82   87  .KEEP_STATE:
  83   88  
  84   89  def:            $(DEF_DEPS)
  85   90  
  86   91  all:            $(ALL_DEPS)
  87   92  
  88   93  clean:          $(CLEAN_DEPS)
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX