From df6c2a29262dcf371c31eb118ad1a127435e8443 Mon Sep 17 00:00:00 2001 From: stsp Date: Thu, 11 Feb 2021 16:22:06 +0000 Subject: [PATCH] Add missing break in switch statement of rge_activate(). CID 1501716 ok kevlo@ and mestre@ had the same diff --- sys/dev/pci/if_rge.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ -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; -- 2.20.1