diff options
author | Juergen Gross <jgross@suse.com> | 2022-10-20 13:21:43 +0200 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2022-11-03 10:23:26 +0100 |
commit | 354d8a4b165697e6da9585b3f651d87735f30415 (patch) | |
tree | bd2d807061679ee2d18d03fe9cef2c1ca52a2bc5 /drivers/platform/x86/intel/pmc/core.h | |
parent | a383dcb1cca8305497877119fba0a320f41fe853 (diff) | |
download | linux-354d8a4b165697e6da9585b3f651d87735f30415.tar.bz2 |
x86/xen: silence smatch warning in pmu_msr_chk_emulated()
Commit 8714f7bcd3c2 ("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: 8714f7bcd3c2 ("xen/pv: add fault recovery control to pmu msr accesses")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/platform/x86/intel/pmc/core.h')
0 files changed, 0 insertions, 0 deletions