Commit 354d8a4
committed
x86/xen: silence smatch warning in pmu_msr_chk_emulated()
Commit 8714f7b ("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: 8714f7b ("xen/pv: add fault recovery control to pmu msr accesses")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Juergen Gross <[email protected]>1 parent a383dcb commit 354d8a4
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
| 305 | + | |
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| |||
0 commit comments