Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8949759ybi; Wed, 10 Jul 2019 02:10:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqz3n3mcaR3dcWqlMLrSFDW+tLRwyr/Yj3PYn5o8vPC3lsHdZ7yd8eF8BqgM9v8pXSb8LLO5 X-Received: by 2002:a17:90a:d998:: with SMTP id d24mr5594667pjv.89.1562749858274; Wed, 10 Jul 2019 02:10:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562749858; cv=none; d=google.com; s=arc-20160816; b=i90tUUzQKBa9F9AaN9sov2JrDSFWoE6dYaRrOmf8Iv/zllBZ17bVNBuuDcOEQJGRoG PsAPyItXp3PCVLCHgZBZ+lAHc6WvhI4nDoL6CQeh0/u4Q2m3x0phLrVCaHK34AjcpyGW Lg+sleohukyav+uTpWLAn6vqSTUxz/R0mxcyOWeOTzd4U9JvsUF1c17VpcEK4VVKxMDa pekP7yH1uO1/MyN1znPODH+G178aSjY+VtjsWSEXTmgfyK//WaatsTfZRYTDBGWYkIZn LFpMbb+mM7F+IZNgbLVz3V9wEbSRgBHebvRVDP6qk4NT9eFnvDMU30JXA+SkyshUhWr1 BabA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:dkim-signature:dkim-filter; bh=Ga0hiwpxMHtqeVSBV5pF7381TYukT9gg0R4ViGA1Xg0=; b=dvwKAVHWIR7+Yxkuh7bVqGuJHZuEaa2Z17rqIEth2dcMCD5LYGQB+FrGL+Js41Fwh+ 2+typZD05XVCZzWyTkpse/sr9Zaj+L8TkGrIqzROIjuLLrMo4APIRtQe3WKw4U6ioAmR RCOZX0Qf8FqUXLEfZao9iYyei4ZagsCSETmkDjY1uEGHTs2V4kbkMBh6xL/62dhzxggr 6AX0sCLHLS8S9ns5h+JLsefpt2ktu9ZowQMSQGOWGcTYTFyVe7NLhqcKUlkA6ck5aoqY LmAjT94BUvmTEDDusBlPF6UbNg7qm4uyhdS+GJnF5QwuJvJYQKwq4wc9YG7sOKoc7jg3 MP4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zytor.com header.s=2019061801 header.b=Y78Fo7bq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zytor.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m11si1618108pla.154.2019.07.10.02.10.42; Wed, 10 Jul 2019 02:10:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@zytor.com header.s=2019061801 header.b=Y78Fo7bq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zytor.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727749AbfGJJKL (ORCPT + 99 others); Wed, 10 Jul 2019 05:10:11 -0400 Received: from terminus.zytor.com ([198.137.202.136]:59313 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727215AbfGJJKL (ORCPT ); Wed, 10 Jul 2019 05:10:11 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id x6A9A3im2347178 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 10 Jul 2019 02:10:03 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 terminus.zytor.com x6A9A3im2347178 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2019061801; t=1562749803; bh=Ga0hiwpxMHtqeVSBV5pF7381TYukT9gg0R4ViGA1Xg0=; h=Date:From:Cc:Reply-To:In-Reply-To:References:To:Subject:From; b=Y78Fo7bq1O9t95W7mewQpMsZ6ep4h0TBL5kJBV4Va6Y7i6tqYPDbwL7DHCpC49QKd unLP514zp9GNPzfuVNC6DbMjNF3qITePICgiFOLtD//xYiJKFrZPYVMqvWAQfEYgMA qct90F745yOZYm+sx+e2Hrms+HffMO1+7rG/kVxFvlSFFseAN+7bIq0KWOwyV6Se/U Y02NszqmIfi3vbs6ZI20kOafN3MzkkgpfAy17TG5tC6w/0vTvhrdvmL3ea6lp/Pqne xfD2F8N+SQYNpvFBxISSmz63Jv+7DInk1tXBSkLSmWQhvg7OR99xrN27bkTrue+dOy NslTpXv49hGFA== Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id x6A9A2022347175; Wed, 10 Jul 2019 02:10:02 -0700 Date: Wed, 10 Jul 2019 02:10:02 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Joe Perches Message-ID: Cc: joe@perches.com, mingo@kernel.org, hpa@zytor.com, linux-kernel@vger.kernel.org, tglx@linutronix.de Reply-To: mingo@kernel.org, joe@perches.com, tglx@linutronix.de, linux-kernel@vger.kernel.org, hpa@zytor.com In-Reply-To: References: To: linux-tip-commits@vger.kernel.org Subject: [tip:timers/urgent] clocksource/drivers/npcm: Fix misuse of GENMASK macro Git-Commit-ID: 9bdd7bb3a8447fe841cd37ddd9e0a6974b06a0bb X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,BAYES_00, DATE_IN_FUTURE_06_12,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU, DKIM_VALID_EF autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 9bdd7bb3a8447fe841cd37ddd9e0a6974b06a0bb Gitweb: https://git.kernel.org/tip/9bdd7bb3a8447fe841cd37ddd9e0a6974b06a0bb Author: Joe Perches AuthorDate: Tue, 9 Jul 2019 22:04:15 -0700 Committer: Thomas Gleixner CommitDate: Wed, 10 Jul 2019 11:05:26 +0200 clocksource/drivers/npcm: Fix misuse of GENMASK macro Arguments are supposed to be ordered high then low. Signed-off-by: Joe Perches Signed-off-by: Thomas Gleixner Link: https://lkml.kernel.org/r/d6a9d49c9837d38816b71d783f5aed7235e8ca94.1562734889.git.joe@perches.com --- drivers/clocksource/timer-npcm7xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/timer-npcm7xx.c b/drivers/clocksource/timer-npcm7xx.c index 7a9bb5532d99..8a30da7f083b 100644 --- a/drivers/clocksource/timer-npcm7xx.c +++ b/drivers/clocksource/timer-npcm7xx.c @@ -32,7 +32,7 @@ #define NPCM7XX_Tx_INTEN BIT(29) #define NPCM7XX_Tx_COUNTEN BIT(30) #define NPCM7XX_Tx_ONESHOT 0x0 -#define NPCM7XX_Tx_OPER GENMASK(3, 27) +#define NPCM7XX_Tx_OPER GENMASK(27, 3) #define NPCM7XX_Tx_MIN_PRESCALE 0x1 #define NPCM7XX_Tx_TDR_MASK_BITS 24 #define NPCM7XX_Tx_MAX_CNT 0xFFFFFF