Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet Fix dtrace kernel module build.
details: https://anonhg.NetBSD.org/src/rev/0e0e92af3b18
branches: trunk
changeset: 797732:0e0e92af3b18
user: ryoon <ryoon%NetBSD.org@localhost>
date: Sat Jul 26 04:54:20 2014 +0000
description:
Fix dtrace kernel module build.
Add nodiscard to cdevsw.
They are not fixed in fallocate/fdiscard changes.
diffstat:
external/cddl/osnet/dev/fbt/fbt.c | 4 ++--
external/cddl/osnet/dev/sdt/sdt.c | 4 ++--
external/cddl/osnet/dist/uts/common/dtrace/dtrace.c | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diffs (48 lines):
diff -r 5b590a03a66b -r 0e0e92af3b18 external/cddl/osnet/dev/fbt/fbt.c
--- a/external/cddl/osnet/dev/fbt/fbt.c Sat Jul 26 00:17:57 2014 +0000
+++ b/external/cddl/osnet/dev/fbt/fbt.c Sat Jul 26 04:54:20 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fbt.c,v 1.15 2014/03/19 11:14:12 ozaki-r Exp $ */
+/* $NetBSD: fbt.c,v 1.16 2014/07/26 04:54:20 ryoon Exp $ */
/*
* CDDL HEADER START
@@ -153,7 +153,7 @@
static const struct cdevsw fbt_cdevsw = {
fbt_open, noclose, noread, nowrite, noioctl,
- nostop, notty, nopoll, nommap, nokqfilter,
+ nostop, notty, nopoll, nommap, nokqfilter, nodiscard,
D_OTHER
};
diff -r 5b590a03a66b -r 0e0e92af3b18 external/cddl/osnet/dev/sdt/sdt.c
--- a/external/cddl/osnet/dev/sdt/sdt.c Sat Jul 26 00:17:57 2014 +0000
+++ b/external/cddl/osnet/dev/sdt/sdt.c Sat Jul 26 04:54:20 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sdt.c,v 1.8 2011/07/30 10:12:14 uebayasi Exp $ */
+/* $NetBSD: sdt.c,v 1.9 2014/07/26 04:54:20 ryoon Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -63,7 +63,7 @@
static const struct cdevsw sdt_cdevsw = {
sdt_open, noclose, noread, nowrite, noioctl,
- nostop, notty, nopoll, nommap, nokqfilter,
+ nostop, notty, nopoll, nommap, nokqfilter, nodiscard,
D_OTHER
};
diff -r 5b590a03a66b -r 0e0e92af3b18 external/cddl/osnet/dist/uts/common/dtrace/dtrace.c
--- a/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c Sat Jul 26 00:17:57 2014 +0000
+++ b/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c Sat Jul 26 04:54:20 2014 +0000
@@ -15349,7 +15349,7 @@
/* Just opens, clones to the fileops below */
const struct cdevsw dtrace_cdevsw = {
dtrace_open, noclose, noread, nowrite, noioctl,
- nostop, notty, nopoll, nommap, nokqfilter,
+ nostop, notty, nopoll, nommap, nokqfilter, nodiscard,
D_OTHER | D_MPSAFE
};
Home |
Main Index |
Thread Index |
Old Index