]> git.baikalelectronics.ru Git - kernel.git/commit
x86/microcode/AMD: Cleanup verify_patch_size() more
authorBorislav Petkov <bp@suse.de>
Thu, 18 Oct 2018 15:55:45 +0000 (17:55 +0200)
committerBorislav Petkov <bp@suse.de>
Mon, 19 Nov 2018 09:51:05 +0000 (10:51 +0100)
commit6ebc5a7cc8e21c05e3a80bef829f6cd04a111538
treee9a1b58fe59b52d840a3a3f2ab17669ff3104e5e
parenta8471e46683eec540f4b45f5e9c5da3f8607429d
x86/microcode/AMD: Cleanup verify_patch_size() more

Rename the variable which contains the patch size read out from the
section header to sh_psize for better differentiation of all the "sizes"
in that function.

Also, improve the comment above it.

No functional changes.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: x86@kernel.org
Link: https://lkml.kernel.org/r/20181107170218.7596-6-bp@alien8.de
arch/x86/kernel/cpu/microcode/amd.c