Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 2021 21:34:38 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 87799c5f85dc - main - cpucontrol: fix extended signature matching code to avoid fallthough
Message-ID:  <202106142134.15ELYcc7067536@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=87799c5f85dc0aed7e53ca841504e3b2ffc88498

commit 87799c5f85dc0aed7e53ca841504e3b2ffc88498
Author:     Dan Nelson <dnelson_1901@yahoo.com>
AuthorDate: 2021-06-14 19:28:16 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2021-06-14 21:34:07 +0000

    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 @@ no_table:
 			    (flags & ext_table[i].cpu_flags) != 0)
 				goto matched;
 		}
-	} else
-		goto fail;
+	}
+	goto fail;
 
 matched:
 	if (revision >= fw_header->revision) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106142134.15ELYcc7067536>