git: 08569764e6c9 - stable/14 - arm64: Add a missing MRS_HWCAP_END

From: Andrew Turner <andrew_at_FreeBSD.org>
Date: Mon, 19 Feb 2024 16:45:13 UTC
The branch stable/14 has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=08569764e6c9272dd62ca2ad3ac109bd2fa93538

commit 08569764e6c9272dd62ca2ad3ac109bd2fa93538
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2023-10-25 12:32:04 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2024-02-19 13:11:52 +0000

    arm64: Add a missing MRS_HWCAP_END
    
    Add a missing end marker to stop the arm64 CPU ID code reading past
    the end of an array.
    
    Sponsored by:   Arm Ltd
    
    (cherry picked from commit 1e05cf5f97dee6d7139aa64f14264fb4c2333455)
---
 sys/arm64/arm64/identcpu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/arm64/arm64/identcpu.c b/sys/arm64/arm64/identcpu.c
index 4202cbe7878f..a5c359547981 100644
--- a/sys/arm64/arm64/identcpu.c
+++ b/sys/arm64/arm64/identcpu.c
@@ -1723,6 +1723,7 @@ static const struct mrs_field_value mvfr0_fpdp[] = {
 static const struct mrs_field_hwcap mvfr0_fpdp_caps[] = {
 	MRS_HWCAP(&elf32_hwcap, HWCAP32_VFP, MVFR0_FPDP_VFP_v2),
 	MRS_HWCAP(&elf32_hwcap, HWCAP32_VFPv3, MVFR0_FPDP_VFP_v3_v4),
+	MRS_HWCAP_END
 };
 
 static const struct mrs_field_value mvfr0_fpsp[] = {