x86/microcode/intel: Use appropriate type in microcode_sanity_check()
authorJithu Joseph <jithu.joseph@intel.com>
Thu, 17 Nov 2022 03:59:25 +0000 (19:59 -0800)
committerBorislav Petkov <bp@suse.de>
Fri, 18 Nov 2022 20:51:56 +0000 (21:51 +0100)
commit2e13ab0158dd4a033d61a5baa8f9b5b7c9ea8431
tree86b45a5fc6fef526cb8914292511187414c2a60b
parent716f380275866350ee44447b3c7c999f39c3178d
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
arch/x86/kernel/cpu/microcode/intel.c