From 87799c5f85dc0aed7e53ca841504e3b2ffc88498 Mon Sep 17 00:00:00 2001 From: Dan Nelson Date: Mon, 14 Jun 2021 15:28:16 -0400 Subject: [PATCH] cpucontrol: fix extended signature matching code to avoid fallthough PR: 256502 MFC after: 1 week --- usr.sbin/cpucontrol/intel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/cpucontrol/intel.c b/usr.sbin/cpucontrol/intel.c index dfe86f7185c6..f4700898d5eb 100644 --- a/usr.sbin/cpucontrol/intel.c +++ b/usr.sbin/cpucontrol/intel.c @@ -242,8 +242,8 @@ intel_update(const struct ucode_update_params *params) (flags & ext_table[i].cpu_flags) != 0) goto matched; } - } else - goto fail; + } + goto fail; matched: if (revision >= fw_header->revision) {