]> Gentwo Git Trees - linux/.git/commit
drm/i915: Add braces around the else block in clflush_write32()
authorSebastian Brzezinka <sebastian.brzezinka@intel.com>
Fri, 18 Jul 2025 10:28:04 +0000 (10:28 +0000)
committerAndi Shyti <andi.shyti@linux.intel.com>
Thu, 24 Jul 2025 13:05:23 +0000 (15:05 +0200)
commitbf91bac3ef027852b3e7698af6a00e4df124072c
treef7c3d70c135d6d8eb2dadb1ebb6f8a770c1e896a
parent4e65d104129e8be001d561410f6402135f6f8a45
drm/i915: Add braces around the else block in clflush_write32()

According to the kernel coding style, if only one branch of a
conditional statement is a single statement, braces should
still be used in both branches.

Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com>
Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://lore.kernel.org/r/20250718102752.684975-2-sebastian.brzezinka@intel.com
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c