Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/common/linux Add missing break.



details:   https://anonhg.NetBSD.org/src/rev/9f0ed4041aaa
branches:  trunk
changeset: 366345:9f0ed4041aaa
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 14:58:57 2018 +0000

description:
Add missing break.

diffstat:

 sys/external/bsd/common/linux/linux_work.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 4c5d084dfa55 -r 9f0ed4041aaa sys/external/bsd/common/linux/linux_work.c
--- a/sys/external/bsd/common/linux/linux_work.c        Mon Aug 27 14:58:40 2018 +0000
+++ b/sys/external/bsd/common/linux/linux_work.c        Mon Aug 27 14:58:57 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_work.c,v 1.15 2018/08/27 14:58:24 riastradh Exp $        */
+/*     $NetBSD: linux_work.c,v 1.16 2018/08/27 14:58:57 riastradh Exp $        */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_work.c,v 1.15 2018/08/27 14:58:24 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_work.c,v 1.16 2018/08/27 14:58:57 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/atomic.h>
@@ -592,6 +592,7 @@
                                dw->dw_state = DELAYED_WORK_IDLE;
                        }
                        cancelled_p = true;
+                       break;
                default:
                        panic("invalid delayed work state: %d",
                            dw->dw_state);



Home | Main Index | Thread Index | Old Index