Message ID | 1502461061-28065-1-git-send-email-daniel.lezcano@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8C73960325 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 11 Aug 2017 14:19:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E75B28408 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 11 Aug 2017 14:19:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 72FBC28538; Fri, 11 Aug 2017 14:19:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E74F228408 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 11 Aug 2017 14:19:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=+BMwjP7KBJrOqTFdr3XCEvOGcTdsPeMOJG/D4DDy5go=; b=mJ0skdKMrrxhj3irqSVRqbkS8J MXjcl5q7Z0wbQ9ZPna3p0pAUoAbAODkuUONESBdCD7TH7drlWb4h9GB+kQyZkKC73XJ8plNyXPUy8 d6jj9QNsiI4SyiRLA42aNrDfOv3u4HWahh7W7DrbpJCuUBwy0UoG6hhPAo0r2slj/MdxsE0tzmnw3 yUPWkb+oT+ociYS+h7bNtqh3+nO1XGWUM7S2AGfaFJJPG7qiioZts7bLYGBg8gY245dvtHb8i8eCd A7p4q826/AnnPC9DbRsKZ8iT+AaoANYOCoWm5QHH1agDJk0MtoMujqYIOQe4YrQEPJT+8Cpf9pLk0 rjzX30xQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dgAmI-0005OH-PI; Fri, 11 Aug 2017 14:19:06 +0000 Received: from mail-wr0-x22a.google.com ([2a00:1450:400c:c0c::22a]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dgAmE-0005LR-Cz for linux-arm-kernel@lists.infradead.org; Fri, 11 Aug 2017 14:19:04 +0000 Received: by mail-wr0-x22a.google.com with SMTP id v105so14065007wrb.0 for <linux-arm-kernel@lists.infradead.org>; Fri, 11 Aug 2017 07:18:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZEBSzxresO3yCQPbIls58geWaHdWCqoKlghrtZ/IdQ4=; b=QgpuB5MKCyJxx+Aak6EDjTl9DS55oPpALLSK/ohe4OMbbS/HrgCy1BdzxA5EBGDH5+ ZzdT5W0rN+WnNkii7HNeCR4dpUyvi9Y/oknf6ML4E3QE7WcuOw8bKRvcvY82PaMHMYOh tBV+cfz2PZnwkyC/n48/YvQfBmEVfPLb/bUfo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZEBSzxresO3yCQPbIls58geWaHdWCqoKlghrtZ/IdQ4=; b=EWEJG3DhPDbfjz1WL08i6r39NQuGF0ZwfpMfTtL5kLCMkV8VJf3duaKNVMmUv077yM Yebws7FNoHhVPtWSzCUePqgYiWc6v6sO6LSC/ApQi/hZ2Q1FEFgcriXlLuIyvzHwbOOk 2tAnYPd1hxGp5d8WsfM+m5E+8koHDsSIOkZ6j/fFtrz3Bmi24PYJmFwXKZNqvJgsgR9N orlwO1IU222fF31Bfn+V+sD6DGk52gSKB5P5zJ50poavEKB2JhgvcKJH1XnqiZR9r6rU ShIJmtcH9a9B2ohQxgRn+faGh5A1iaA8jm48pvA5yijG8i/+YiAnqa13HLoyDILknfDe XkTg== X-Gm-Message-State: AHYfb5hGB+zdX7+TxJjv2nlXpa3KjW4Fz8N9qjdi/xcb1pP2L13iX8lV Qrv/BMe2UwaWs9qi X-Received: by 10.223.138.167 with SMTP id y36mr11983135wry.176.1502461119447; Fri, 11 Aug 2017 07:18:39 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:879a:6cd0:e0e8:7a5e:bd6d:f842]) by smtp.gmail.com with ESMTPSA id v22sm868383wra.70.2017.08.11.07.18.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 11 Aug 2017 07:18:38 -0700 (PDT) From: Daniel Lezcano <daniel.lezcano@linaro.org> To: tglx@linutronix.de, mingo@kernel.org Subject: [PATCH 1/5] clocksource/drivers/arm_arch_timer: Fix mem frame loop initialization Date: Fri, 11 Aug 2017 16:17:37 +0200 Message-Id: <1502461061-28065-1-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <20170811141520.GA795@mai> References: <20170811141520.GA795@mai> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170811_071902_590045_97044C8F X-CRM114-Status: GOOD ( 12.55 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Mark Rutland <mark.rutland@arm.com>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, Marc Zyngier <marc.zyngier@arm.com>, linux-kernel@vger.kernel.org, mka@chromium.org, garsilva@embeddedor.com, "moderated list:ARM ARCHITECTED TIMER DRIVER" <linux-arm-kernel@lists.infradead.org>, dingtianhong@huawei.com, matt.redfearn@imgtec.com, dan.carpenter@oracle.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c index aae87c4..72bbfcc 100644 --- a/drivers/clocksource/arm_arch_timer.c +++ b/drivers/clocksource/arm_arch_timer.c @@ -1440,7 +1440,7 @@ static int __init arch_timer_mem_acpi_init(int platform_timer_count) * While unlikely, it's theoretically possible that none of the frames * in a timer expose the combination of feature we want. */ - for (i = i; i < timer_count; i++) { + for (i = 0; i < timer_count; i++) { timer = &timers[i]; frame = arch_timer_mem_find_best_frame(timer);