git: d8d0df35b353 - stable/12 - cpucontrol: fix extended signature matching code to avoid fallthough
Mark Johnston
markj at FreeBSD.org
Sun Jun 20 19:11:24 UTC 2021
The branch stable/12 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=d8d0df35b353f9f0ae507d40b699a689a06ac252
commit d8d0df35b353f9f0ae507d40b699a689a06ac252
Author: Dan Nelson <dnelson_1901 at yahoo.com>
AuthorDate: 2021-06-14 19:28:16 +0000
Commit: Mark Johnston <markj at FreeBSD.org>
CommitDate: 2021-06-20 19:10:28 +0000
cpucontrol: fix extended signature matching code to avoid fallthough
PR: 256502
(cherry picked from commit 87799c5f85dc0aed7e53ca841504e3b2ffc88498)
---
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 @@ no_table:
(flags & ext_table[i].cpu_flags) != 0)
goto matched;
}
- } else
- goto fail;
+ }
+ goto fail;
matched:
if (revision >= fw_header->revision) {
More information about the dev-commits-src-all
mailing list