Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1644079pxj; Fri, 18 Jun 2021 11:32:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxXhIWhda+2Lz+e+3ZToPNXkhExudDVnar4IlpLNjE/RlQhp4rhf2SfEXZU7attn6G/DA+ X-Received: by 2002:a5e:da0c:: with SMTP id x12mr8921419ioj.93.1624041171969; Fri, 18 Jun 2021 11:32:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624041171; cv=none; d=google.com; s=arc-20160816; b=q1oPfX0gUqj5tX8BVzv6hxbc8ZN+Ld8TYWVwMI9lA7uXjbd5kCsYGFNOc5B/JPMkxw kycK1QY9U9MOPvADntvtfsfgHLlpLeemO//kJG49abwC1dP1nidyf7PYFfpPdZzSCQCs XQ8FfuNa/ukHWBBG1Up6PtYlauQyegeT/BznvvBPhcVlC572riN6ddgZw1M1zH+lWFUJ hG01SH3qs8GnguGlbtDAD+XmYqt6SZhf46A8NrY1+B7AKpyMymU1aQNTDiMFZji+X6o5 kL/q8Ek9WoGXJ2CH9Dt7Iog8vER5OQyU224gCQY6fBx6MCFdK+GH9UKOcHTDdWva23zW PKVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=xqyE3BtOKENtxAO9mzegNHwVPtpSpatO6DJrfAeObo0=; b=xMNdH9rKd0ee3OeIM5im00ZVCvOUUlutqKFX6tlDANJoxRbR2beCI7QPKNG9+vzs+U RQkqAcA1ABfBBcWhr4H4MU73GoIT8zkfvMjs1T0Hn7LFJ+/e14npJneVdBvPQW1Hd/c6 cRX3Kj6gVDFTX9TN3EMdohllEP5O4i+448BBRJ3x22Vt5/CaaSIxGLXMJ3tKRI1+AmLU WNkBpeZIKwNyvF+AFDNXXF/Z9mofGCo2PcHclbbVeyS866yfOs1oi7RS8BOj30WtUpkU 9PvOeBbwSC8RjWhY9tbttetXwLbdrV76X73fwwPSpwOlXOUt4GyxZTejt+ocrmvKAf8M /M2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="r1/nRo8F"; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v4si10891710jan.104.2021.06.18.11.32.39; Fri, 18 Jun 2021 11:32:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="r1/nRo8F"; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235662AbhFRQFz (ORCPT + 99 others); Fri, 18 Jun 2021 12:05:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232418AbhFRQFs (ORCPT ); Fri, 18 Jun 2021 12:05:48 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D7D0C061574; Fri, 18 Jun 2021 09:03:39 -0700 (PDT) Date: Fri, 18 Jun 2021 16:03:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1624032218; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xqyE3BtOKENtxAO9mzegNHwVPtpSpatO6DJrfAeObo0=; b=r1/nRo8FpmWeklBC0oo2PzSGBeB8P4MVVdOKFwnGEKFgxVzhlsyGKYXYPxP68BWanmtpfS ogy+ZqFHzqcB54AlAq38pONUYkF/aImKm9XYW9hCdhTWKiV8vREzaTST8Af/4Q5aUPZNoq J21KkMC36AYOLwOH4aPHIzEVIZoTbacBlKFGVWSyrxc54w93L0jAydtasCPX4bJfON2XcT h/pdi+Z4TdA7evhSY6M7UG0jk9TztH3oF2+926Ub8+rPlG8hBV8Wwdiaw7f48AKSSTTqvB 00Ir007DP22BGiVjxdyjswWFMiHLzWtrz6TQ4vI0gOuAmU3RQoJayyTsj7LI+w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1624032218; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xqyE3BtOKENtxAO9mzegNHwVPtpSpatO6DJrfAeObo0=; b=ffqTYIOSuPa/OYB7jL53OiwnR7Ezu2VfSghj8vLbRWF/f1XY0ZHDbPmAL/TCCwjv19Swt2 Igupy2npWULIhjAA== From: "tip-bot2 for Wan Jiabing" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] clocksource/drivers/arm_global_timer: Remove duplicated argument in arm_global_timer Cc: Wan Jiabing , Patrice Chotard , Daniel Lezcano , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20210615115440.8881-1-wanjiabing@vivo.com> References: <20210615115440.8881-1-wanjiabing@vivo.com> MIME-Version: 1.0 Message-ID: <162403221739.19906.6087766341626697388.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the timers/core branch of tip: Commit-ID: f94bc2667fb204d7c131ac39d9ea342bd16116dc Gitweb: https://git.kernel.org/tip/f94bc2667fb204d7c131ac39d9ea342bd16116dc Author: Wan Jiabing AuthorDate: Tue, 15 Jun 2021 19:54:40 +08:00 Committer: Daniel Lezcano CommitterDate: Wed, 16 Jun 2021 17:33:04 +02:00 clocksource/drivers/arm_global_timer: Remove duplicated argument in arm_global_timer Fix the following coccicheck warning: drivers/clocksource/arm_global_timer.c:107:4-23: duplicated argument to & or | Signed-off-by: Wan Jiabing Reviewed-by: Patrice Chotard Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20210615115440.8881-1-wanjiabing@vivo.com --- drivers/clocksource/arm_global_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/arm_global_timer.c b/drivers/clocksource/arm_global_timer.c index 68b1d14..44a61dc 100644 --- a/drivers/clocksource/arm_global_timer.c +++ b/drivers/clocksource/arm_global_timer.c @@ -104,7 +104,7 @@ static void gt_compare_set(unsigned long delta, int periodic) counter += delta; ctrl = readl(gt_base + GT_CONTROL); ctrl &= ~(GT_CONTROL_COMP_ENABLE | GT_CONTROL_IRQ_ENABLE | - GT_CONTROL_AUTO_INC | GT_CONTROL_AUTO_INC); + GT_CONTROL_AUTO_INC); ctrl |= GT_CONTROL_TIMER_ENABLE; writel_relaxed(ctrl, gt_base + GT_CONTROL); writel_relaxed(lower_32_bits(counter), gt_base + GT_COMP0);