Skip to content
Commit 354d8a4b authored by Juergen Gross's avatar Juergen Gross
Browse files

x86/xen: silence smatch warning in pmu_msr_chk_emulated()



Commit 8714f7bc ("xen/pv: add fault recovery control to pmu msr
accesses") introduced code resulting in a warning issued by the smatch
static checker, claiming to use an uninitialized variable.

This is a false positive, but work around the warning nevertheless.

Fixes: 8714f7bc ("xen/pv: add fault recovery control to pmu msr accesses")
Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
parent a383dcb1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment