diff options
author | Ricardo Koller <ricarkol@google.com> | 2022-01-27 06:08:54 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-02-08 18:18:58 +0300 |
commit | cc94d47ce16d4147d546e47c8248e8bd12ba5fe5 (patch) | |
tree | 66abaa5dd93fbbf2499f808669dfabe745d5075f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | dfd42facf1e4ada021b939b4e19c935dcdd55566 (diff) | |
download | linux-cc94d47ce16d4147d546e47c8248e8bd12ba5fe5.tar.xz |
kvm: selftests: aarch64: fix assert in gicv3_access_reg
The val argument in gicv3_access_reg can have any value when used for a
read, not necessarily 0. Fix the assert by checking val only for
writes.
Signed-off-by: Ricardo Koller <ricarkol@google.com>
Reported-by: Reiji Watanabe <reijiw@google.com>
Cc: Andrew Jones <drjones@redhat.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220127030858.3269036-2-ricarkol@google.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions