drm/vmwgfx: Clean up errors in vmwgfx_streamoutput.c
Subsystems (3)
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 ')'
Signed-off-by GuoHua Chen <[email protected]>
--- drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c +2 -2
@@ -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