summaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2021-04-13 06:25:48 +0000
committermrg <mrg@NetBSD.org>2021-04-13 06:25:48 +0000
commit9940c1958fb790d5810b95a08724530f97a36fc8 (patch)
treefaf44fe79fafbfa387f30e303f46c5fe336ab00a /sys/modules
parent11d72a937db9cf97a5415017a7aaca306eec69ec (diff)
more GCC 10 fixes.
mDNSResponder: another wrong return local address dhcp: ignore a seemingly impossible stringop overflow hpacel: avoid maybe uninitialised error that is wrong. rsh: avoid impossible malloc(0) udf: cast pointers through (uintptr_t) to fool invalid boundary checks
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/hpacel/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/modules/hpacel/Makefile b/sys/modules/hpacel/Makefile
index 78a0128e4a3..b898871083c 100644
--- a/sys/modules/hpacel/Makefile
+++ b/sys/modules/hpacel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2019/02/17 04:05:50 rin Exp $
+# $NetBSD: Makefile,v 1.3 2021/04/13 06:25:49 mrg Exp $
.include "../Makefile.inc"
@@ -8,4 +8,6 @@ KMOD= hpacel
IOCONF= hpacel.ioconf
SRCS= hpacel_acpi.c
+COPTS.hpacel_acpi.c+= ${GCC_NO_MAYBE_UNINITIALIZED}
+
.include <bsd.kmodule.mk>