summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2026-05-20 11:01:55 +0100
committerMarc Zyngier <maz@kernel.org>2026-05-21 08:08:48 +0100
commit68a612d4dbc7f2b9dac731c79676a21fce573d29 (patch)
treebd6b8bd6d02dd63f2b85714e69c8128a3ae57dce /scripts/const_structs.checkpatch
parent5d6919055dec134de3c40167a490f33c74c12581 (diff)
KVM: arm64: timer: Repaint kvm_timer_{should,irq_can}_fire() to kvm_timer_{pending,enabled}()
kvm_timer_should_fire() seems to date back to a time where the author of the timer code didn't seem to have made the word "pending" part of their vocabulary. Having since slightly improved on that front, let's rename this predicate to kvm_timer_pending(), which clearly indicates whether the timer interrupt is pending or not. Similarly, kvm_timer_irq_can_fire() is renamed to kvm_timer_enabled(). Reviewed-by: Joey Gouly <joey.gouly@arm.com> Reviewed-by: Oliver Upton <oupton@kernel.org> Link: https://patch.msgid.link/20260520100200.543845-2-maz@kernel.org Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions