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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/ixgbe/Makefile
          +++ new/usr/src/uts/intel/ixgbe/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 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  # Copyright 2016 OmniTI Computer Consulting, Inc.  All rights reserved.
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  #
  26   27  # uts/intel/ixgbe/Makefile
  27   28  #
  28   29  #       This makefile drives the production of the ixgbe
  29   30  #       network driver kernel module.
  30   31  #
  31   32  #       intel architecture dependent
  32   33  #
  33   34  
  34   35  #
↓ open down ↓ 18 lines elided ↑ open up ↑
  53   54  
  54   55  INC_PATH        += -I$(UTSBASE)/common/io/ixgbe
  55   56  INC_PATH        += -I$(UTSBASE)/common/io/ixgbe/core
  56   57  
  57   58  CERRWARN        += -_gcc=-Wno-parentheses
  58   59  CERRWARN        += -_gcc=-Wno-switch
  59   60  CERRWARN        += -_gcc=-Wno-uninitialized
  60   61  CERRWARN        += -_gcc=-Wno-unused-value
  61   62  CERRWARN        += -_cc=-erroff=E_STATEMENT_NOT_REACHED
  62   63  
       64 +# 3rd party code
       65 +SMOFF += all_func_returns
       66 +
  63   67  #
  64   68  #       Define targets
  65   69  #
  66   70  ALL_TARGET      = $(BINARY) $(CONFMOD)
  67   71  LINT_TARGET     = $(MODULE).lint
  68   72  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  69   73  
  70   74  #
  71   75  # Driver depends on MAC
  72   76  #
↓ open down ↓ 27 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX