KVM: s390: Fix FOLL_*/FAULT_FLAG_* confusion
Pass the right type of flag to vcpu_dat_fault_handler(); it expects a FOLL_* flag (in particular FOLL_WRITE), but FAULT_FLAG_WRITE is passed instead. This still works because they happen to have the same integer value, but it's a mistake, thus the fix. Signed-off-by:Claudio Imbrenda <imbrenda@linux.ibm.com> Fixes: 05066caf ("s390/mm/fault: Handle guest-related program interrupts in KVM") Acked-by:
Christian Borntraeger <borntraeger@linux.ibm.com> Reviewed-by:
David Hildenbrand <david@redhat.com> Reviewed-by:
Steffen Eiden <seiden@linux.ibm.com> Reviewed-by:
Christoph Schlameuss <schlameuss@linux.ibm.com> Signed-off-by:
Janosch Frank <frankja@linux.ibm.com>
Loading
Please sign in to comment