libx86: Proactively initialise error pointers
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 12 Sep 2019 12:03:44 +0000 (13:03 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 26 Sep 2019 12:40:18 +0000 (13:40 +0100)
commitf00157928865c80f082d6f83c04efedfb96135bb
treed62e49c6cac67dc1abe38000e7813a61adf41037
parentff78e500844429ca1b0c2f8220e4fc263499b1ed
libx86: Proactively initialise error pointers

This results in better behaviour for the caller.

Suggested-by: Jan Beulich <JBeulich@suse.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
tools/tests/cpu-policy/test-cpu-policy.c
xen/include/xen/lib/x86/cpuid.h
xen/include/xen/lib/x86/msr.h
xen/lib/x86/cpuid.c
xen/lib/x86/msr.c