[PATCH] drm/i915/selftests: Keep mock file open during unfaultable migrate with fill

Krzysztof Karas krzysztof.karas at intel.com
Wed Jun 11 07:39:14 UTC 2025


Hi Sebastian,

[...]
> >  	if (err) {
> > -		addr = err;
> > -		goto out_file;
> > +		fput(*file);
> I'll try to avoid calling fput() here and instead handle it where the
> file is created. This will simplify tracking the file's lifecycle.
>
Yup, you are right, I should do that instead.

Best Regards,
Krzysztof


More information about the Intel-gfx mailing list