Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/gpib Improve fallthrough statement wording in dev/gp...
details: https://anonhg.NetBSD.org/src/rev/6e31718034e5
branches: trunk
changeset: 449118:6e31718034e5
user: kamil <kamil%NetBSD.org@localhost>
date: Sat Feb 23 11:33:31 2019 +0000
description:
Improve fallthrough statement wording in dev/gpib/ct.c
Fixes build with kUBSan on NetBSD/i386.
diffstat:
sys/dev/gpib/ct.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r db6faaab9909 -r 6e31718034e5 sys/dev/gpib/ct.c
--- a/sys/dev/gpib/ct.c Sat Feb 23 11:24:53 2019 +0000
+++ b/sys/dev/gpib/ct.c Sat Feb 23 11:33:31 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ct.c,v 1.29 2017/10/28 04:53:56 riastradh Exp $ */
+/* $NetBSD: ct.c,v 1.30 2019/02/23 11:33:31 kamil Exp $ */
/*-
* Copyright (c) 1996-2003 The NetBSD Foundation, Inc.
@@ -82,7 +82,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ct.c,v 1.29 2017/10/28 04:53:56 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ct.c,v 1.30 2019/02/23 11:33:31 kamil Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -308,7 +308,7 @@
case CT7946ID:
if (memcmp(name, "079450", 6) == 0)
return; /* not really a 7946 */
- /* fall into... */
+ /* FALLTHROUGH */
case CT9144ID:
case CT9145ID:
case CT35401ID:
Home |
Main Index |
Thread Index |
Old Index