Skip to content
Commit f0df00eb authored by Dave Hansen's avatar Dave Hansen
Browse files

x86/cpu: Avoid running off the end of an AMD erratum table



The NULL array terminator at the end of erratum_1386_microcode was
removed during the switch from x86_cpu_desc to x86_cpu_id. This
causes readers to run off the end of the array.

Replace the NULL.

Fixes: f3f32515 ("x86/cpu: Move AMD erratum 1386 table over to 'x86_cpu_id'")
Reported-by: default avatarJiri Slaby <jirislaby@kernel.org>
Signed-off-by: default avatarDave Hansen <dave.hansen@linux.intel.com>
parent 254a6d14
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment