1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00

cpucontrol: fix extended signature matching code to avoid fallthough

PR:		256502

(cherry picked from commit 87799c5f85)
This commit is contained in:
Dan Nelson 2021-06-14 15:28:16 -04:00 committed by Mark Johnston
parent 765c6eb395
commit 659f777660

View File

@ -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) {