x86/microcode/intel: Use appropriate type in microcode_sanity_check()
mainline inclusion from mainline-v6.2-rc1 commit 2e13ab01 category: feature feature: Backport Intel In Field Scan(IFS) multi-blob images support bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I6L337 CVE: N/A Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/ commit/?id=2e13ab01 Intel-SIG: commit 2e13ab01 ("x86/microcode/intel: Use appropriate type in microcode_sanity_check()") ------------------------------------- x86/microcode/intel: Use appropriate type in microcode_sanity_check() The data type of the @print_err parameter used by microcode_sanity_check() is int. In preparation for exporting this function to be used by the IFS driver convert it to a more appropriate bool type for readability. No functional change intended. Suggested-by:Tony Luck <tony.luck@intel.com> Signed-off-by:
Jithu Joseph <jithu.joseph@intel.com> Signed-off-by:
Borislav Petkov <bp@suse.de> Reviewed-by:
Tony Luck <tony.luck@intel.com> Reviewed-by:
Ashok Raj <ashok.raj@intel.com> Reviewed-by:
Sohil Mehta <sohil.mehta@intel.com> Link: https://lore.kernel.org/r/20221117035935.4136738-7-jithu.joseph@intel.com Signed-off-by:
Aichun Shi <aichun.shi@intel.com>
Loading
Please sign in to comment