On Mon, Jun 21 2021, Heiko Carstens <hca@xxxxxxxxxxxxx> wrote: > do_kvm_notify() and __do_kvm_notify() are an (exact) open-coded variant > of kvm_hypercall3(). Therefore simply make use of kvm_hypercall3(), > and get rid of duplicated code. > > Signed-off-by: Heiko Carstens <hca@xxxxxxxxxxxxx> > --- > drivers/s390/virtio/virtio_ccw.c | 30 ++++-------------------------- > 1 file changed, 4 insertions(+), 26 deletions(-) > Hm, I wonder why I didn't use kvm_hypercall3 in the first place. It's in a header, and therefore should be independent of kvm being configured. I don't think there's anything else virtio-ccw in flight at the moment, so maybe you can apply this one directly? Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>