Skip to content

Commit

Permalink
drm/i915/gt: Add a space before '('
Browse files Browse the repository at this point in the history
Checkpatch noticed a while(0) and complains about the lack of space.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210122192913.4518-9-chris@chris-wilson.co.uk
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
ickle authored and danvet committed Mar 24, 2021
1 parent 70b0f07 commit 32ce590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/gt/intel_renderstate.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ render_state_get_rodata(const struct intel_engine_cs *engine)
if ((i) >= PAGE_SIZE / sizeof(u32)) \
goto out; \
(batch)[(i)++] = (val); \
} while(0)
} while (0)

static int render_state_setup(struct intel_renderstate *so,
struct drm_i915_private *i915)
Expand Down

0 comments on commit 32ce590

Please sign in to comment.