diff options
author | Ricardo Koller <[email protected]> | 2022-01-26 19:08:54 -0800 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2022-02-08 15:18:58 +0000 |
commit | cc94d47ce16d4147d546e47c8248e8bd12ba5fe5 (patch) | |
tree | 66abaa5dd93fbbf2499f808669dfabe745d5075f /net/lapb/lapb_timer.c | |
parent | dfd42facf1e4ada021b939b4e19c935dcdd55566 (diff) |
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 <[email protected]>
Reported-by: Reiji Watanabe <[email protected]>
Cc: Andrew Jones <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions