x86/tboot: adjust UUID check
authorJan Beulich <jbeulich@suse.com>
Mon, 31 May 2021 10:46:48 +0000 (12:46 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 31 May 2021 10:46:48 +0000 (12:46 +0200)
commite95c243f67a95bca8b4be62b4e024c64ab082e56
tree64f97ae08517ea549d3b95e94541869a033842df
parent8701f68d26afc641527c775d2e56a8709f535ffd
x86/tboot: adjust UUID check

Replace a bogus cast, move the static variable into the only function
using it, and add __initconst. While there, also remove a pointless NULL
check.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Lukasz Hawrylko <lukasz.hawrylko@linux.intel.com>
xen/arch/x86/tboot.c