summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2021-02-11 16:22:07 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2021-02-11 16:22:07 +0000
commit026ac575aa702625fbdbdfed303ad4b8a1f45b66 (patch)
tree517a14ef12fe15b3b9c86b0893b7a676eedcd1f4 /sys/dev/pci
parented461fb4f8a5facdbf871f4f2f0bbc699a955096 (diff)
Add missing break in switch statement of rge_activate().
CID 1501716 ok kevlo@ and mestre@ had the same diff
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_rge.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_rge.c b/sys/dev/pci/if_rge.c
index 36a9d13fb37..1b8d0b6183c 100644
--- a/sys/dev/pci/if_rge.c
+++ b/sys/dev/pci/if_rge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_rge.c,v 1.11 2020/12/24 06:34:03 deraadt Exp $ */
+/* $OpenBSD: if_rge.c,v 1.12 2021/02/11 16:22:06 stsp Exp $ */
/*
* Copyright (c) 2019, 2020 Kevin Lo <kevlo@openbsd.org>
@@ -311,6 +311,7 @@ rge_activate(struct device *self, int act)
#ifndef SMALL_KERNEL
rge_wol_power(sc);
#endif
+ break;
default:
rv = config_activate_children(self, act);
break;