Skip to contentSkip to conversation

drm/vmwgfx: Clean up errors in vmwgfx_streamoutput.c

PATCH New GuoHua Chen 1 participant 1 message Jan 11, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/vmwgfx: Clean up errors in vmwgfx_streamoutput.c

Fix the following errors reported by checkpatch:

ERROR: space prohibited before that close parenthesis ')'

---
 drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c +2 -2
index edcc40659038..3daff9537bf8 100644
@@ -96,7 +96,7 @@ static int vmw_dx_streamoutput_unscrub(struct vmw_resource *res)
 		SVGA3dCmdDXBindStreamOutput body;
 	} *cmd;
 
-	if (!list_empty(&so->cotable_head) || !so->committed )
+	if (!list_empty(&so->cotable_head) || !so->committed)
 		return 0;
 
 	cmd = VMW_CMD_CTX_RESERVE(dev_priv, sizeof(*cmd), so->ctx->id);
@@ -363,6 +363,6 @@ void vmw_dx_streamoutput_cotable_list_scrub(struct vmw_private *dev_priv,
 	list_for_each_entry_safe(entry, next, list, cotable_head) {
 		WARN_ON(vmw_dx_streamoutput_scrub(&entry->res));
 		if (!readback)
-			entry->committed =false;
+			entry->committed = false;
 	}
 }
Signature · 1 line
2.17.1