Module Name: src
Committed By: mrg
Date: Tue Feb 5 11:33:13 UTC 2019
Modified Files:
src/sys/dev: mm.c
Log Message:
appease the gcc7 fallthru checker.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/mm.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/mm.c
diff -u src/sys/dev/mm.c:1.23 src/sys/dev/mm.c:1.24
--- src/sys/dev/mm.c:1.23 Wed Dec 5 18:16:51 2018
+++ src/sys/dev/mm.c Tue Feb 5 11:33:13 2019
@@ -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 @@ mm_readwrite(dev_t dev, struct uio *uio,
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;