]> git.hungrycats.org Git - linux/commit
KVM: s390: Fix code typo in gmap_protect_asce_top_level()
authorClaudio Imbrenda <imbrenda@linux.ibm.com>
Tue, 23 Jun 2026 15:33:25 +0000 (17:33 +0200)
committerClaudio Imbrenda <imbrenda@linux.ibm.com>
Wed, 24 Jun 2026 08:08:56 +0000 (10:08 +0200)
commit6e976afdfeafeb48f002b977823f67c6a3dd70a0
treed995f4a63d503d0135bc2b062b42396eb02040de
parente6c9b322c8cb3c08270f05e2faabd7c0cc82f809
KVM: s390: Fix code typo in gmap_protect_asce_top_level()

The correct length to pass to kvm_s390_get_guest_pages() is asce.tl + 1,
not asce.dt + 1. It was a typo, which, due to fortuitous circumstances,
did not cause bugs. It should nonetheless be fixed.

Fixes: e5f98a6899bd ("KVM: s390: Add some helper functions needed for vSIE")
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Message-ID: <20260623153331.233784-5-imbrenda@linux.ibm.com>
arch/s390/kvm/gmap.c