Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1469596rdd; Wed, 10 Jan 2024 23:13:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IEnc0gfLVcD/328NVQX4JA5CJwxuihvz8AMZBCPFVL0v1epALqS4Gi9UhcN10KBiFl+954h X-Received: by 2002:a05:6a00:4c88:b0:6d9:bd28:687 with SMTP id eb8-20020a056a004c8800b006d9bd280687mr853712pfb.40.1704957205666; Wed, 10 Jan 2024 23:13:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704957205; cv=none; d=google.com; s=arc-20160816; b=DU47Fe9xjsH3ocbZmLmnDXh4adzWYKgxlXodnfkPgLfRXhfueUfNWFdhjdnUix/rHc joiahcCx+a3G32R9ywvgknKedqsdlrBTdDU7atg5YY+vtLftz9t/mJcT8qNhYRL2P3yE 7d/W1seqWeCJh4tpprFkPGBcYEK9AwzzG0Tr5n1UgnbXRR++/97gTIVc1c5PhzwPlu9k xuo8NN3hNc2x1BODV2Peiyp+ovuP3HDkSWLEdmrVTIj7ZlLS2j221BYq+d9hCuHzJwyP 4aH8fo28xIqpAomx6y++5kSEb1+jBQmrV8TokZivgKnHU4c5aNPV/o9ESKxOaZs+w5O2 H/cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:cc:to:from:dkim-signature; bh=FRfjuPEp7SDJ4XD3M8xRYyAIebQ9Wi4nXcaxaXpRxH8=; fh=KblkvCCf8L3oeJh8S/4/D4rjxp3HoyNULn6ojiGbYtY=; b=SbRnPvazoPW1mHDGqbjFzAKdsYX4VpIG+y2em39RPrHlK6ImsbSwqmPfzig7k3J+iq 2rHh9Fy3jShf5fDQ5UalFJgaK56kZAA+g4JEmVa1lLjOXe8lTa0C+49M9kTAChfECaq2 HJmccLPiolkpybATLRQoAF4E7YOJL2TxmfuXhHV82KWQ53FEgaP9ftZgP8h0ZIf/U8Ho 7fEsrsoNgS18yOqIpwn35LiV60ZxWZGlF1DTl5Xj6Z88VKrCuIYMJU26ozPMVCqxj9Z6 NzY93gu/q/deXHM8FBo6jbpbMzL1k0JkzK6AwKRxYr0mSmyary8cncaYzlKaHtRNn2s5 B67g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=T5rcyGSR; spf=pass (google.com: domain of linux-kernel+bounces-23129-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23129-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id s66-20020a637745000000b005c6bc10835fsi516026pgc.84.2024.01.10.23.13.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 23:13:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23129-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=T5rcyGSR; spf=pass (google.com: domain of linux-kernel+bounces-23129-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23129-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 28DCAB26C99 for ; Thu, 11 Jan 2024 07:11:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 95075D27D; Thu, 11 Jan 2024 07:11:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b="T5rcyGSR" Received: from m16.mail.163.com (m15.mail.163.com [45.254.50.220]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4BDF4D262 for ; Thu, 11 Jan 2024 07:11:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=163.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=FRfjuPEp7SDJ4XD3M8 xRYyAIebQ9Wi4nXcaxaXpRxH8=; b=T5rcyGSRRbf63M3pk5j3zAvxuwtPbywgdp ahJzFUjwD0t0TILrKH1bqysEGeNSdelENEL7NzyVmj6G04iYsuA4cUYu3zQL8tWU Bhr1ud1a27TMD/uvcIKLhjjG9uykcq54Ca6FSE45NFQqyv/D5BffvMEyik1dZW2V QQzkET2fs= Received: from localhost.localdomain (unknown [182.148.14.173]) by gzga-smtp-mta-g0-1 (Coremail) with SMTP id _____wD3PxKOlJ9lRoMNAA--.3099S2; Thu, 11 Jan 2024 15:11:10 +0800 (CST) From: GuoHua Chen To: mripard@kernel.org, airlied@gmail.com, maarten.lankhorst@linux.intel.com, zackr@vmware.com, tzimmermann@suse.de, daniel@ffwll.ch Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, GuoHua Chen Subject: [PATCH] drm/vmwgfx: Clean up errors in vmwgfx_streamoutput.c Date: Thu, 11 Jan 2024 07:11:09 +0000 Message-Id: <20240111071109.9779-1-chenguohua_716@163.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID:_____wD3PxKOlJ9lRoMNAA--.3099S2 X-Coremail-Antispam: 1Uf129KBjvJXoWrKw15uF48Zryrtr1kJw15twb_yoW8Jr48pr s0k345Kr1SyFy7tFyjkasYqF9093WkAFyI9ry5u3sxZw12kr18tFW5JrWFyr98GF43Zan8 JF48t39rWry8ZrJanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07UF38nUUUUU= X-CM-SenderInfo: xfkh0w5xrk3tbbxrlqqrwthudrp/xtbBEBNi1mVOBk3hWAABsv Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Fix the following errors reported by checkpatch: ERROR: space prohibited before that close parenthesis ')' Signed-off-by: GuoHua Chen --- drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c b/drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c index edcc40659038..3daff9537bf8 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c @@ -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; } } -- 2.17.1