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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/timerfd/Makefile
          +++ new/usr/src/uts/intel/timerfd/Makefile
↓ open down ↓ 2 lines elided ↑ open up ↑
   3    3  # Common Development and Distribution License ("CDDL"), version 1.0.
   4    4  # You may only use this file in accordance with the terms of version
   5    5  # 1.0 of the CDDL.
   6    6  #
   7    7  # A full copy of the text of the CDDL should have accompanied this
   8    8  # source.  A copy of the CDDL is also available via the Internet at
   9    9  # http://www.illumos.org/license/CDDL.
  10   10  #
  11   11  
  12   12  #
  13      -# Copyright (c) 2015 Joyent, Inc.  All rights reserved.
       13 +# Copyright (c) 2018, Joyent, Inc.
  14   14  #
  15   15  
  16   16  #
  17   17  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  18   18  #
  19   19  UTSBASE = ../..
  20   20  
  21   21  #
  22   22  #       Define the module and object file sets.
  23   23  #
↓ open down ↓ 3 lines elided ↑ open up ↑
  27   27  ROOTMODULE      = $(USR_DRV_DIR)/$(MODULE)
  28   28  CONF_SRCDIR     = $(UTSBASE)/common/io
  29   29  
  30   30  #
  31   31  #       Include common rules.
  32   32  #
  33   33  include $(UTSBASE)/intel/Makefile.intel
  34   34  
  35   35  CERRWARN        += -_gcc=-Wno-parentheses
  36   36  
       37 +# needs work
       38 +SMOFF += all_func_returns
       39 +
  37   40  #
  38   41  #       Define targets
  39   42  #
  40   43  ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  41   44  LINT_TARGET     = $(MODULE).lint
  42   45  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  43   46  
  44   47  #
  45   48  #       Default build targets.
  46   49  #
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX