Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev appease the gcc7 fallthru checker.
details: https://anonhg.NetBSD.org/src/rev/e70d053a3c53
branches: trunk
changeset: 448581:e70d053a3c53
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Feb 05 11:33:13 2019 +0000
description:
appease the gcc7 fallthru checker.
diffstat:
sys/dev/mm.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (31 lines):
diff -r 06a321de3561 -r e70d053a3c53 sys/dev/mm.c
--- a/sys/dev/mm.c Tue Feb 05 11:30:07 2019 +0000
+++ b/sys/dev/mm.c Tue Feb 05 11:33:13 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mm.c,v 1.23 2018/12/05 18:16:51 christos Exp $ */
+/* $NetBSD: mm.c,v 1.24 2019/02/05 11:33:13 mrg Exp $ */
/*-
* Copyright (c) 2002, 2008, 2010 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mm.c,v 1.23 2018/12/05 18:16:51 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mm.c,v 1.24 2019/02/05 11:33:13 mrg Exp $");
#include "opt_compat_netbsd.h"
@@ -359,10 +359,11 @@
if (uio->uio_rw == UIO_WRITE) {
return ENOSPC;
}
- /*FALLTHROUGH*/
#if defined(COMPAT_16) && defined(__arm)
+ /* FALLTHROUGH */
case _DEV_ZERO_oARM:
#endif
+ /* FALLTHROUGH */
case DEV_ZERO:
error = dev_zero_readwrite(uio, iov);
break;
Home |
Main Index |
Thread Index |
Old Index