diff options
author | Andy Fiddaman <omnios@citrus-it.co.uk> | 2021-12-01 10:34:53 +0000 |
---|---|---|
committer | Andy Fiddaman <omnios@citrus-it.co.uk> | 2022-01-13 00:08:12 +0000 |
commit | fd5e5f438a15881f651587df3e961609eb00778d (patch) | |
tree | 63302ae814651752e887ac96729e2836995e2235 /usr/src/uts/intel | |
parent | c12f119108dcac3bfe73ac01ce1bbc643a733ca2 (diff) | |
download | illumos-gate-fd5e5f438a15881f651587df3e961609eb00778d.tar.gz |
14282 Warn when an inline function isn't
Reviewed by: Rich Lowe <richlowe@richlowe.net>
Reviewed by: Toomas Soome <tsoome@me.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/uts/intel')
-rw-r--r-- | usr/src/uts/intel/chxge/Makefile | 1 | ||||
-rw-r--r-- | usr/src/uts/intel/ipf/Makefile | 1 | ||||
-rw-r--r-- | usr/src/uts/intel/qede/Makefile | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/uts/intel/chxge/Makefile b/usr/src/uts/intel/chxge/Makefile index 49c94ee364..5a85e416ee 100644 --- a/usr/src/uts/intel/chxge/Makefile +++ b/usr/src/uts/intel/chxge/Makefile @@ -83,6 +83,7 @@ CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-unused-function CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-parentheses +CCWARNINLINE = SMOFF += indenting,all_func_returns,no_if_block diff --git a/usr/src/uts/intel/ipf/Makefile b/usr/src/uts/intel/ipf/Makefile index 8fd371a841..4dde1e0034 100644 --- a/usr/src/uts/intel/ipf/Makefile +++ b/usr/src/uts/intel/ipf/Makefile @@ -66,6 +66,7 @@ CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-parentheses CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-empty-body +CCWARNINLINE = # needs work SMATCH=off diff --git a/usr/src/uts/intel/qede/Makefile b/usr/src/uts/intel/qede/Makefile index 4dddb613a1..a0897a6527 100644 --- a/usr/src/uts/intel/qede/Makefile +++ b/usr/src/uts/intel/qede/Makefile @@ -47,6 +47,7 @@ CPPFLAGS += -I$(UTSBASE)/common/io/qede/579xx/hsi/mcp # CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-unused-function +CCWARNINLINE = # 3rd party module SMOFF += all_func_returns,indenting,no_if_block,deref_check,testing_index_after_use |