Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4046808ybi; Mon, 15 Jul 2019 03:02:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqybkNFjbObrUOZcryr9UBb4C5TDJMm9AmtgLP1OhyluieV04HjPBaDw53fKJoOVduhLS0B8 X-Received: by 2002:a63:1f1f:: with SMTP id f31mr25710219pgf.353.1563184975005; Mon, 15 Jul 2019 03:02:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563184974; cv=none; d=google.com; s=arc-20160816; b=BY7zBBNJ1PISV7nOLeFZ6Y3SUfOZvvqCsBMyxH53fxnquq3kwaY6ohe8S5SOu2JAuy 5v0FQvXf9ihhKXMRCJK7VurAwxZjNRCj7WkCEp2mcPYVyZZh9Cb5J0iQBeX5dgd1+ZlG bcAuMbmn/T1UZQ/im4ZoX++NKOnh701N3G5C1CCJ7IDK8KYebT6vYFk5QLkFkZ55R1/M KQ40IyVXmAsTKdq3sdRvZuSmYjV1KMHZwXsyoN9W60OQpbqn+0xlUociOafEa53eSLp6 k2JOaDFqKaQYuvRZ9KjOFvOV+mn16ru22T0jOrQOHN68xYXDrmmCCqF2Sz2dLNOZaqRe 1cMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=r72g4AHaLYsLu+ECpLbOshR1f0RyFtH3KsKDeo19VX4=; b=050Zdthji08BpWEbztfZKZbLmBrDkfpaIyS+Ncf1nxtpimEI5eHfKgBdQW04qNnH/i B7MCVc2XynmD8/ibmF5yJVRpgIhw2ny5Sn3YPdOiKyNlWpK23qw2lRy1YL7v/d4MoC8Z BW0lb+/7aX052wnwZcyVtoQ3w9JjYjfgIzZOXDLQAXNvBsHLgBMSt0OmzqDilk3tpiqF n5mHUOFdZjPFBIqMzfJR59pEvsWtXeoGMf6vvuUCMaaMuO8hMnaw661xkyZere1bS5ii SoJrJnkrGH8flgW/1ohTQn9NWRpWEKrRm+XSMcEm1hhGVBc20OyhcJUJRkzhBO8kSz6L 9zjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qenKTZRr; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w21si14707892plq.91.2019.07.15.03.02.34; Mon, 15 Jul 2019 03:02:54 -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=@gmail.com header.s=20161025 header.b=qenKTZRr; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729747AbfGOKBs (ORCPT + 99 others); Mon, 15 Jul 2019 06:01:48 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:37836 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729591AbfGOKBr (ORCPT ); Mon, 15 Jul 2019 06:01:47 -0400 Received: by mail-io1-f65.google.com with SMTP id q22so33111724iog.4 for ; Mon, 15 Jul 2019 03:01:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=r72g4AHaLYsLu+ECpLbOshR1f0RyFtH3KsKDeo19VX4=; b=qenKTZRrwpA3m+Rvbzx7aJwKJ3c6QULx3EbIlYCuUP6y9OJLFfkELnN0GQ/XE2odVL yIB1XSFQnovfhkxpEqaRycjKX3caAYS2FtuVD0eC3YW+pBSrpR/vg8NFSVCrob/4sDGj LPWYOFOa7kC0B21jLpmaGjoKHqFxCK/v2wJUrYC1pqHugJSepfhUAcl//vuILlwm5QPs nSJSnlUEJq1TIeDGRQf9NTu9jzN2mWakvrHwjiZEIUN6bKkJX71XJKOgOG9neBPMM0MR 14W9NSRp6O54zRfMj+LUNzA9jNTKwD4Uh4bEP0ZUzkFyhvTDcW4gooJN0X5JFPvNt5Ht PNQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=r72g4AHaLYsLu+ECpLbOshR1f0RyFtH3KsKDeo19VX4=; b=FNJtM0u2NaFx1E8SExst1jsTjrQTv9rQoElDYQ4wCXgpobNuaTUzaYERpXStoEDVo9 iIjdJpn/FGaNGGPAAmHxxOihXsLvmcbQ/8SpLvLe8OOSffXvbSrjVSuTdPGii0HPwq4S h7ZPNGhu8rk0TwmYMaVmYc2SoNNMLjQvz/o1nQ8AwT+tpdZuMdgzP91vqTDfCX9SjHBX iyiKnq+7yt4W7rpWi4A8HYmxGHWxniI+DLyLGeAYpgDZe7tnDpEeGwhHIP8nc6uCh8SJ davK5T6+mKzo1ASNyIfYg718fXbDSvSxa6IGhH9LOvSMqKvSen+R2PAxCRKseqcUTVZo HDGQ== X-Gm-Message-State: APjAAAUORad3vh6epZqok9Zi1911L4qpekO0BbhsefdkOhbiSTIymD/R HdUFoHqh2dPk4tudJ5yAHwOHFsBr4z1cry5msg== X-Received: by 2002:a5d:9f07:: with SMTP id q7mr22524327iot.21.1563184907080; Mon, 15 Jul 2019 03:01:47 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Avi Fishman Date: Mon, 15 Jul 2019 13:00:59 +0300 Message-ID: Subject: Re: [PATCH 02/12] clocksource/drivers/npcm: Fix misuse of GENMASK macro To: Joe Perches Cc: Andrew Morton , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Daniel Lezcano , Thomas Gleixner , OpenBMC Maillist , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I noticed that this is totaly wrong, so I will fix here. If you wan I will put a separate patch. On Wed, Jul 10, 2019 at 8:04 AM Joe Perches wrote: > > Arguments are supposed to be ordered high then low. > > Signed-off-by: Joe Perches > --- > 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) It should be: +#define NPCM7XX_Tx_OPER GENMASK(28, 27) but I need to do another change. > #define NPCM7XX_Tx_MIN_PRESCALE 0x1 > #define NPCM7XX_Tx_TDR_MASK_BITS 24 > #define NPCM7XX_Tx_MAX_CNT 0xFFFFFF > -- > 2.15.0 > -- Regards, Avi