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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/devfs/Makefile
          +++ new/usr/src/uts/intel/devfs/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  # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  
  26   27  #
  27   28  # uts/intel/devfs/Makefile
  28   29  #       This makefile drives the production of the devfs file system
  29   30  #       kernel module.
  30   31  #
  31   32  #       intel implementation architecture dependent
  32   33  #
  33   34  
  34   35  #
↓ open down ↓ 9 lines elided ↑ open up ↑
  44   45  LINTS           = $(DEVFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
  45   46  ROOTMODULE      = $(ROOT_FS_DIR)/$(MODULE)
  46   47  
  47   48  #
  48   49  #       Include common rules.
  49   50  #
  50   51  include $(UTSBASE)/intel/Makefile.intel
  51   52  
  52   53  CERRWARN        += -_gcc=-Wno-parentheses
  53   54  
       55 +# needs work
       56 +$(OBJS_DIR)/devfs_vnops.o := SMOFF += signed
       57 +
  54   58  #
  55   59  #       Define targets
  56   60  #
  57   61  ALL_TARGET      = $(BINARY)
  58   62  LINT_TARGET     = $(MODULE).lint
  59   63  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  60   64  
  61   65  #
  62   66  #       Overrides.
  63   67  #
↓ open down ↓ 29 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX