diff options
| author | rin <rin@NetBSD.org> | 2019-02-17 04:05:41 +0000 |
|---|---|---|
| committer | rin <rin@NetBSD.org> | 2019-02-17 04:05:41 +0000 |
| commit | 71bfb4ceb853656d03c84316497d998489ddad4c (patch) | |
| tree | b34dfe77bcfc836f168712df194158df9429fa53 /sys/modules/opencrypto/Makefile | |
| parent | c202a4d1ef6f0c152ce8ea00879c0f6b57bf6eec (diff) | |
Bump default value of WARNS for modules from 3 to 5, and
explicitly set WARNS for modules that fail with WARNS=5.
Also, turn on -Wno-missing-noreturn for clang for some files.
At the moment, among ~ 360 modules,
- 2 (lua and zfs) need WARNS=0
- 1 (solaris) needs WARNS=1
- 136 need WARNS=3 (mostly due to sign-compare)
- 4 need WARNS=4
- others can be compiled with WARNS=5
Discussed on tech-kern.
Diffstat (limited to 'sys/modules/opencrypto/Makefile')
| -rw-r--r-- | sys/modules/opencrypto/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/modules/opencrypto/Makefile b/sys/modules/opencrypto/Makefile index 0d6226d7405..167f2e64c49 100644 --- a/sys/modules/opencrypto/Makefile +++ b/sys/modules/opencrypto/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2015/08/20 11:05:01 christos Exp $ +# $NetBSD: Makefile,v 1.3 2019/02/17 04:05:56 rin Exp $ .include "../Makefile.inc" @@ -8,4 +8,6 @@ KMOD= opencrypto IOCONF= opencrypto.ioconf SRCS= criov.c crypto.c xform.c +WARNS= 3 + .include <bsd.kmodule.mk> |
