From patchwork Tue Jun 13 14:06:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 105368 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp438382qgd; Tue, 13 Jun 2017 07:37:41 -0700 (PDT) X-Received: by 10.223.153.114 with SMTP id x105mr2170984wrb.18.1497364661793; Tue, 13 Jun 2017 07:37:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497364661; cv=none; d=google.com; s=arc-20160816; b=wePAcGU/6w0J3UZOCr1NqLkA9ZgAudCUes3+pjetEGTpY9Vk3xQjZJLLFwoqTyZul6 hoyCOjZd+QNzmJ0FEesiWjVcDcMyGTYgSE682qehNbc9tNzFS4BbwpdsTyumGPSV8Qof kr1VIVdU7OdPpEZm+RRwlYtKdDuWFhG0PoEygehygd4eROl4+K8oCfqM3p83K3f+N+53 eu2WIAOHhTHa+Vo0BcgYBAG4xhpNnwltnFIL1fkOZq0vysxYl7XAM/BUdxuYr57SeX/X ZzQe6rcBal/+JgacqzOwJd025VerIcI4NqWJH9NIG62eKYMxdltMxHZhj+OneA01FAYc Cehg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:arc-authentication-results; bh=uv2xONiX+AH1RnkFuies96sqGbeg/2lO+uoaa6TmVPw=; b=zsi3LWZ+xNGvsI8VtaA4ptgfCKmSFoFu92LSA0MIoT/9BKabzSKrf121k95/jXO+hB VnRlgD4wavMmWNUhAfo2fT7gbw/Q9vTIqai0FJjbL5ZWXwSs7UnQ4Toito5YwEe0udEI ROBdPtSjeCfZ15jFHGfEqri7XYBYWOH6dN+5XXLW1NqhO4TVy87vviz3rzgDEMpAFWaF xA+yT4m0FycfTlpGDDlygB/X1rTfPqbchCQUcuNjHkjeUCKmqXc7I34uU32kwDIBToWZ GunnBsMuRfwR0ZAVUqB1lTqlu/XnqNylRMegz4MetY+JcJ+t7Y7LFUQZkK2s/+fKGFlh yp5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id k10si113506wrc.86.2017.06.13.07.37.41 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 13 Jun 2017 07:37:41 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:43643 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKmwu-00044P-Kn for patch@linaro.org; Tue, 13 Jun 2017 10:37:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKmTh-0005NC-D2 for qemu-devel@nongnu.org; Tue, 13 Jun 2017 10:07:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKmTf-0006lD-5g for qemu-devel@nongnu.org; Tue, 13 Jun 2017 10:07:29 -0400 Received: from orth.archaic.org.uk ([2001:8b0:1d0::2]:37257) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dKmTe-0006cz-Tr for qemu-devel@nongnu.org; Tue, 13 Jun 2017 10:07:27 -0400 Received: from pm215 by orth.archaic.org.uk with local (Exim 4.84_2) (envelope-from ) id 1dKmTN-00011R-El for qemu-devel@nongnu.org; Tue, 13 Jun 2017 15:07:09 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Tue, 13 Jun 2017 15:06:51 +0100 Message-Id: <1497362826-21125-3-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497362826-21125-1-git-send-email-peter.maydell@linaro.org> References: <1497362826-21125-1-git-send-email-peter.maydell@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:8b0:1d0::2 Subject: [Qemu-devel] [PULL 02/17] 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: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Krzysztof Kozlowski 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 Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Peter Maydell --- hw/timer/exynos4210_mct.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 diff --git a/hw/timer/exynos4210_mct.c b/hw/timer/exynos4210_mct.c index a2ec392..2404fb7 100644 --- a/hw/timer/exynos4210_mct.c +++ b/hw/timer/exynos4210_mct.c @@ -937,7 +937,7 @@ static void exynos4210_mct_update_freq(Exynos4210MCTState *s) { uint32_t freq = s->freq; s->freq = 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)); if (freq != s->freq) { @@ -1162,7 +1162,7 @@ static void exynos4210_mct_write(void *opaque, hwaddr offset, DPRINTF("comparator %d write 0x%llx val << %d\n", index, value, shift); - if (offset&0x4) { + if (offset & 0x4) { s->g_timer.reg.wstat |= G_WSTAT_COMP_U(index); } else { s->g_timer.reg.wstat |= G_WSTAT_COMP_L(index);