[PATCH 2/3] drm/i915: Add braces around the else block in clflush_write32()

Andi Shyti andi.shyti at kernel.org
Wed Jul 16 13:51:47 UTC 2025


On Wed, Jul 16, 2025 at 09:37:18AM +0000, Sebastian Brzezinka wrote:

You could write a few words here in the description to avoid
complaints.

No need to resend, just send me the description you want and i
will add it before applying. This patch is already good to go.

Andi

> Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka at intel.com>
> ---
>  drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
> index b2d940e89bbb..b2660445bb51 100644
> --- a/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
> +++ b/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
> @@ -1382,8 +1382,9 @@ static void clflush_write32(u32 *addr, u32 value, unsigned int flushes)
>  		 */
>  		if (flushes & CLFLUSH_AFTER)
>  			drm_clflush_virt_range(addr, sizeof(*addr));
> -	} else
> +	} else {
>  		*addr = value;
> +	}
>  }
>  
>  static u64
> -- 
> 2.34.1
> 


More information about the Intel-gfx mailing list