[PATCH v3 4/4] drm/i915: Use dedicated return variable in eb_relocate_vma()

Andi Shyti andi.shyti at linux.intel.com
Fri Jul 18 14:52:50 UTC 2025


Hi,

On Fri, Jul 18, 2025 at 01:21:53PM +0200, Chris Wilson wrote:
> Quoting Sebastian Brzezinka (2025-07-18 12:28:26)
> > Introduce a separate `ret` variable to hold the return value in
> > `eb_relocate_vma()`, instead of overloading `remain` for both loop
> > control and error reporting.
> 
> No need.

I was about to ack this patch as I don't have anything against it
and I want to reward the effort. But, as I said, this is patch is
more on the personal taste rather tha real simplification.

Andi


More information about the Intel-gfx mailing list