[PATCH v1 01/27] VFIO: take reference to the KVM module

Paolo Bonzini pbonzini at redhat.com
Thu Apr 2 02:18:12 PDT 2026


On 4/2/26 06:20, Steffen Eiden wrote:
> @@ -157,6 +158,7 @@ static int kvm_vfio_file_add(struct kvm_device *dev, unsigned int fd)
>   		goto out_fput;
>   	}
>   
> +	module = filp->f_op->owner;

This patch is incorrect because filp->f_op->owner is actually the VFIO 
module.

I'll send a replacement series for the first three patches here.

Paolo




More information about the linux-arm-kernel mailing list