aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorOliver Upton <[email protected]>2021-09-21 17:11:20 +0000
committerPaolo Bonzini <[email protected]>2021-09-22 10:33:08 -0400
commit90b54129e8df909ccca527b2d69bcb1f0216aa8f (patch)
treedb5e92b83387c4f8cf6a4ddd87c9580923eeb78d /tools/perf/util/trace-event-scripting.c
parent03a6e84069d1870f5b3d360e64cb330b66f76dee (diff)
selftests: KVM: Fix check for !POLLIN in demand_paging_test
The logical not operator applies only to the left hand side of a bitwise operator. As such, the check for POLLIN not being set in revents wrong. Fix it by adding parentheses around the bitwise expression. Fixes: 4f72180eb4da ("KVM: selftests: Add demand paging content to the demand paging test") Reviewed-by: Andrew Jones <[email protected]> Signed-off-by: Oliver Upton <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions