summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_lock.c6
-rw-r--r--sys/kern/uipc_socket.c4
-rw-r--r--sys/kern/vfs_subr.c4
3 files changed, 7 insertions, 7 deletions
diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c
index f52906b2d01..1701c0ce7f2 100644
--- a/sys/kern/kern_lock.c
+++ b/sys/kern/kern_lock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_lock.c,v 1.23 2007/02/03 16:48:23 miod Exp $ */
+/* $OpenBSD: kern_lock.c,v 1.24 2007/02/14 00:53:48 jsg Exp $ */
/*
* Copyright (c) 1995
@@ -308,7 +308,7 @@ lockmgr(__volatile struct lock *lkp, u_int flags, struct simplelock *interlkp)
*/
lkp->lk_sharecount++;
COUNT(lkp, p, cpu_id, 1);
- /* fall into downgrade */
+ /* FALLTHROUGH */
case LK_DOWNGRADE:
if (WEHOLDIT(lkp, pid, cpu_id) == 0 ||
@@ -379,7 +379,7 @@ lockmgr(__volatile struct lock *lkp, u_int flags, struct simplelock *interlkp)
*/
if (lkp->lk_sharecount == 0)
WAKEUP_WAITER(lkp);
- /* fall into exclusive request */
+ /* FALLTHROUGH */
case LK_EXCLUSIVE:
if (WEHOLDIT(lkp, pid, cpu_id)) {
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c
index 4c63f749fba..093298d5a70 100644
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_socket.c,v 1.64 2006/06/10 17:05:17 beck Exp $ */
+/* $OpenBSD: uipc_socket.c,v 1.65 2007/02/14 00:53:48 jsg Exp $ */
/* $NetBSD: uipc_socket.c,v 1.21 1996/02/04 02:17:52 christos Exp $ */
/*
@@ -989,7 +989,7 @@ sosetopt(struct socket *so, int level, int optname, struct mbuf *m0)
goto bad;
}
so->so_linger = mtod(m, struct linger *)->l_linger;
- /* fall thru... */
+ /* FALLTHROUGH */
case SO_DEBUG:
case SO_KEEPALIVE:
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 0e578357804..7a2642d39f0 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_subr.c,v 1.136 2007/02/13 17:04:14 mickey Exp $ */
+/* $OpenBSD: vfs_subr.c,v 1.137 2007/02/14 00:53:48 jsg Exp $ */
/* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */
/*
@@ -2178,7 +2178,7 @@ reassignbuf(struct buf *bp)
delay = syncdelay / 3;
break;
}
- /* fall through */
+ /* FALLTHROUGH */
default:
delay = syncdelay;
}