Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1478138rdd; Wed, 10 Jan 2024 23:38:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IHdtZ93uHjIkZdPeZpyAM07xfoaotnHdSdQeZu8dWVNDuZ3s0uS+V7QZkUnzrKPceYcV5ii X-Received: by 2002:a17:906:c39f:b0:a28:ad3e:7071 with SMTP id t31-20020a170906c39f00b00a28ad3e7071mr271276ejz.118.1704958737093; Wed, 10 Jan 2024 23:38:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704958737; cv=none; d=google.com; s=arc-20160816; b=ywdH/9Kis3NWFxgoIFgRhrut2qrJLJgHc9PZdsm0MIFPnTlEcN26AyDZ+wlLeM8qUv xfDyHwGHTE7CByrV5+1BHRVjTvLRQTwsyrV79PobY5kvkGGRyXUsp///q+IABjXZKiTQ rylAkheViIlyJBpJmRRCVuqLS8D4wFv8apHqQ6esYHqRDfqrnYv2qldnUTaV//M3n+Sa 0P9F3hqaOYN77K+q5VsZbE600Y78GwC/1gJ9e1m/QmPWWq7TpCzbFwBvzmTnBQlRgkHe nT/N612VXMlgpyJOk34X17k0FKFNIB8MVf7nRtAo4+mXij4EbtGdTaT9kVBYtnZ9FKsm sZSQ== 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=5T0AHkxZ0BUdC30HXle6vf8EoCWrpjRutkeHm3gI4X8=; fh=UUD9beM69Au7Qwz6m9wyKdgHdaSGHRPChCEGEbftc6w=; b=egecsIBwkuv7HNxTpW+vabDJkF1h4x2pD6W9zyMW5ATH7uDSZhzQdtM9Goc7PHYvUu KqMgZRZmUmDs7fus4cPo7lwK3ADGR4gAEQfQf6/MGNqha+v/GCp8svTsbi95wZY3tczK 6xxRR/ZI7lJOlCe0bJpKCspxF821L7FoXUIExiBAJZa0UBN4GZ07fjV+RnfxXdX3YE1v 5TFDel+AJ5rS4LM7l4ypGNMQTXUAVLGJipXQIqr8rrmBZnk+GnZdwzHfoSHALrc0sXKk sVfyeCSUkSvQ2wUGyHdLA7J3OWyLm5aFggq6vzzPAtg/YBqPuV2u+ewpm47Kzb2zxmQg /Frw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=Hezbn2R0; spf=pass (google.com: domain of linux-kernel+bounces-23159-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23159-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id x23-20020a170906711700b00a2ad11828c6si248323ejj.663.2024.01.10.23.38.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 23:38:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23159-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=Hezbn2R0; spf=pass (google.com: domain of linux-kernel+bounces-23159-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23159-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 am.mirrors.kernel.org (Postfix) with ESMTPS id D40A31F24782 for ; Thu, 11 Jan 2024 07:38:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BF514DDC1; Thu, 11 Jan 2024 07:38:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b="Hezbn2R0" Received: from m16.mail.163.com (m16.mail.163.com [220.197.31.2]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5A8E9DDA6 for ; Thu, 11 Jan 2024 07:38:44 +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=5T0AHkxZ0BUdC30HXl e6vf8EoCWrpjRutkeHm3gI4X8=; b=Hezbn2R0UcTrThAh2Y53WDMxRlrS4Z7jUm PJEwiMvDRuUhi/iLp4vhNX5WnV0nBRidvhWmd+pWEiQuy8us3OOtG++6Cd1iabJa fioOfn+nCQ1nwiVdIdSkmf+Y9uvWzPO3kBUkoRXSOS7Xn7S+ql6XqmQ2xpCRHxSG M/Vh1FJ/8= Received: from localhost.localdomain (unknown [182.148.14.173]) by gzga-smtp-mta-g0-4 (Coremail) with SMTP id _____wD3P5Dhmp9l+sqRAA--.14643S2; Thu, 11 Jan 2024 15:38:09 +0800 (CST) From: GuoHua Chen To: daniel@ffwll.ch, Xinhui.Pan@amd.com, airlied@gmail.com, christian.koenig@amd.com, alexander.deucher@amd.com Cc: linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, GuoHua Chen Subject: [PATCH] drm/radeon/r100: Clean up errors in r100.c Date: Thu, 11 Jan 2024 07:38:07 +0000 Message-Id: <20240111073807.10577-1-chenguohua_716@163.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID:_____wD3P5Dhmp9l+sqRAA--.14643S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrZFy8tFWUGrWfWr48ZrW3Awb_yoW3ArcEgF 18XFsFqas29F9IgF1j9FWvvryIvr45urs5Cr1Iya4fKF1xZryxZ3sak39xXws5Aa9IqFWD Jw4ktFy3ArsFgjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUUtC7UUUUUU== X-CM-SenderInfo: xfkh0w5xrk3tbbxrlqqrwthudrp/xtbBEBpi1mVOBk6DhgADsb Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Fix the following errors reported by checkpatch: ERROR: spaces required around that '+=' (ctx:VxV)o Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/r100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c index cfeca2694d5f..86b8b770af19 100644 --- a/drivers/gpu/drm/radeon/r100.c +++ b/drivers/gpu/drm/radeon/r100.c @@ -1327,7 +1327,7 @@ int r100_packet3_load_vbpntr(struct radeon_cs_parser *p, return -EINVAL; } track->num_arrays = c; - for (i = 0; i < (c - 1); i+=2, idx+=3) { + for (i = 0; i < (c - 1); i += 2, idx += 3) { r = radeon_cs_packet_next_reloc(p, &reloc, 0); if (r) { DRM_ERROR("No reloc for packet3 %d\n", -- 2.17.1