From nobody Thu Nov 6 19:05:52 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1488392867188579.971256280756; Wed, 1 Mar 2017 10:27:47 -0800 (PST) Received: from localhost ([::1]:48144 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cj8yX-00055N-0o for importer@patchew.org; Wed, 01 Mar 2017 13:27:45 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cj8xf-00050s-Av for qemu-devel@nongnu.org; Wed, 01 Mar 2017 13:26:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cj8xe-0006yw-JT for qemu-devel@nongnu.org; Wed, 01 Mar 2017 13:26:51 -0500 Received: from mail.kernel.org ([198.145.29.136]:41378) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cj8xc-0006x9-CG; Wed, 01 Mar 2017 13:26:48 -0500 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8A96120218; Wed, 1 Mar 2017 18:26:46 +0000 (UTC) Received: from localhost.localdomain (bzq-109-67-52-244.red.bezeqint.net [109.67.52.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 43BC32038A; Wed, 1 Mar 2017 18:26:43 +0000 (UTC) From: Krzysztof Kozlowski To: Peter Maydell , qemu-arm@nongnu.org, qemu-devel@nongnu.org Date: Wed, 1 Mar 2017 20:26:17 +0200 Message-Id: <20170301182618.22395-5-krzk@kernel.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170301182618.22395-1-krzk@kernel.org> References: <20170301182618.22395-1-krzk@kernel.org> X-Virus-Scanned: ClamAV using ClamSMTP X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 198.145.29.136 Subject: [Qemu-devel] [PATCH 4/5] hw/timer/exynos4210_mct: Fix checkpatch style errors X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Igor Mitsyanko , Shannon Zhao , Krzysztof Kozlowski Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Fix checkpatch errors: 1. ERROR: spaces required around that '+' (ctx:VxV) 2. ERROR: spaces required around that '&' (ctx:VxV) No functional changes. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Peter Maydell --- hw/timer/exynos4210_mct.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/timer/exynos4210_mct.c b/hw/timer/exynos4210_mct.c index 76634fb1b4fd..4dd3e441e2e6 100644 --- a/hw/timer/exynos4210_mct.c +++ b/hw/timer/exynos4210_mct.c @@ -936,7 +936,7 @@ static void exynos4210_mct_update_freq(Exynos4210MCTSta= te *s) { uint32_t freq =3D s->freq; s->freq =3D 24000000 / - ((MCT_CFG_GET_PRESCALER(s->reg_mct_cfg)+1) * + ((MCT_CFG_GET_PRESCALER(s->reg_mct_cfg) + 1) * MCT_CFG_GET_DIVIDER(s->reg_mct_cfg)); =20 if (freq !=3D s->freq) { @@ -1160,7 +1160,7 @@ static void exynos4210_mct_write(void *opaque, hwaddr= offset, =20 DPRINTF("comparator %d write 0x%llx val << %d\n", index, value, sh= ift); =20 - if (offset&0x4) { + if (offset & 0x4) { s->g_timer.reg.wstat |=3D G_WSTAT_COMP_U(index); } else { s->g_timer.reg.wstat |=3D G_WSTAT_COMP_L(index); --=20 2.9.3