Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3609613pxj; Tue, 15 Jun 2021 04:55:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlsswR2fJUmeVlNXJiKUhDIPqd0beUZ4cgl/oa1TfePvuTiKPT/yWqS5TZzqbrfCgUSG4v X-Received: by 2002:a92:d08c:: with SMTP id h12mr17381096ilh.294.1623758149790; Tue, 15 Jun 2021 04:55:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623758149; cv=none; d=google.com; s=arc-20160816; b=Y6x25mnhQM0nOuYgTwrG7V1yCKQlE6YTeZV0wct40keAprqGteLGgGgt1yWxER6L14 RSeuBncrE2J3fxxYVElWfCsjWaECcVvtEoO20WJ4gVIJRUGrDzaT/liBKZGr53zt7Acd JTExS7lwyZUU0eA4qOKcissm1QwQLOhBBvqwYVDnFctgS0fc4mj/sJj64uVVzZpQMRwz 9F5S2PKl7sKT3HGEzzFBDt2vWeJifiNBWKkGruWdSdC+mQNqLVlbTPOuhHsAvejqNea4 BWX8Aob5VJIl/g5mlfGqbgQcUYLOkJEMEDVREivaLZvsCMO/NFettutfvXKgLbCBzEkQ DTvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=xmHRxG3m1xsUuLLEsYRjrxPQsscyfqKw81CZEkNKSp4=; b=xlLrgw7H4qXf1tAvPDuWcCG9Igsn58/G/twsKp+FuezF+0QgSbF1OgKyzykXCtE0C8 kM4xdSuniszdFdPGSjcOfsF0O8VmbPL0PtIkmQffMZpwRuKM+I7bQn3SPlXZgJeSILQh lsycpg3eikABsQedJKzvN6rWex9tVFa2OcYvhhztqOc2H/FU+0RLPkPI+CzZqBXpvghr Ez5PwOin1KpeQXtpbVsThWEKbQp2/cV2YQuhuiLUdqAVOg+BhHlM3W8unon3OACdRcIQ dfEPFUARZnglsMI661FQNameDLcR5rGFK5m2cf99jUS63L8c/dmUNVXoWNITJYioNBq8 3r2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@vivo.com header.s=default header.b=PeXQMiK8; 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=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i1si13808475jaj.53.2021.06.15.04.55.36; Tue, 15 Jun 2021 04:55:49 -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=temperror (no key for signature) header.i=@vivo.com header.s=default header.b=PeXQMiK8; 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=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229947AbhFOL4x (ORCPT + 99 others); Tue, 15 Jun 2021 07:56:53 -0400 Received: from mail-m121144.qiye.163.com ([115.236.121.144]:59620 "EHLO mail-m121144.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229909AbhFOL4w (ORCPT ); Tue, 15 Jun 2021 07:56:52 -0400 DKIM-Signature: a=rsa-sha256; b=PeXQMiK833PYRJEXSxaKzTZr1YVKKrNknEpqbzNF8/lYiDfP90V0CA22TNiUB0wDZ2e8+r6WPvtWj0D3z01AtvlSUxfnO8aVVRPGwQ+eHzK0y3WVKx7bITv2v/AiEc9+QiwLlXhanmzjf0ByDb92qNhBm0Kn4UwET9f2VhBVfzw=; c=relaxed/relaxed; s=default; d=vivo.com; v=1; bh=xmHRxG3m1xsUuLLEsYRjrxPQsscyfqKw81CZEkNKSp4=; h=date:mime-version:subject:message-id:from; Received: from Wanjb.localdomain (unknown [36.152.145.182]) by mail-m121144.qiye.163.com (Hmail) with ESMTPA id 213F8AC031D; Tue, 15 Jun 2021 19:54:47 +0800 (CST) From: Wan Jiabing To: Patrice Chotard , Daniel Lezcano , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Wan Jiabing Subject: [PATCH] clocksource: Remove duplicated argument in arm_global_timer Date: Tue, 15 Jun 2021 19:54:40 +0800 Message-Id: <20210615115440.8881-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZGR5OH1YdQx9LGhpMQklLQ0tVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWUFZT0tIVUpKS0 hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Mk06Cio4Qz8RK0hDMU4CKSgY LEoKCihVSlVKTUlITE5DS0NMTk5IVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKQklMNwY+ X-HM-Tid: 0a7a0f862454b039kuuu213f8ac031d Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following coccicheck warning: drivers/clocksource/arm_global_timer.c:107:4-23: duplicated argument to & or | Signed-off-by: Wan Jiabing --- 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 60a8047fd32e..fdf32a0c86d1 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); -- 2.20.1