Received: by 10.223.185.116 with SMTP id b49csp152693wrg; Thu, 8 Mar 2018 14:40:17 -0800 (PST) X-Google-Smtp-Source: AG47ELvN2MkpYzfW6pZSmMEe3nWokoHszoSUzuCaRPixr3nw7sU2vjMh2obAHgBcJJQkv+nBbUoJ X-Received: by 10.98.137.147 with SMTP id n19mr28109350pfk.193.1520548817284; Thu, 08 Mar 2018 14:40:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520548817; cv=none; d=google.com; s=arc-20160816; b=q/mTjijJj9FSWbOzp99LKfk4UTV+41TdONFJ3YbI5k1c5hLwXKJqFj9NjeQeol1620 QkHT/4nxcAgJUv4KuljZN1FH1R3MWyv5AzuYllhBZe0+FlR7NKQGYFG+bc2ZuyWRlrCG x6ccTBeIEPaolbsWj774dE+6RIsUvrTPjXHIBJ4TxBY16jLIGVsbP4ju5V3SSwRGd0Ng Eru/xY8VUNS2+yFAKHvd/h93/YDkuDOFfF4UCuZZZJbJqrLQquoD8Rdv49156pMhQ8E4 1ECKfWrPi/hOxPiCGnHevMPmvDkE/sV9DBIemv0ckoq6edX2OeMfjDUkL0y+dhaZITwV IjMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=TeOI6T4/M6oWzSzMFcK50l7uZEnrSR63aK/dMXN4p/8=; b=OS+nrvHs2pEPJRpVEblrLNn6Gs6wne3skx9wM3ON9TK09qd9i3sS39TdGmuqL21p+R 4ftObHwMcWJBmoPdKb83C83Rxy4GKV8LW+8nLixJM4regHQJQeXAaAEjTQySUc6yRlxy X6CaJKdQDXxuKnYL01dmQHocwaW7M863TE8EXmYT8kfGJd3STdVna4vstB5czTBoZEYo XNgFyvaeTceRX2eHePUfThPqMTQOovbht6qczOUaExJp4lhGUxu6pKUeOnhKCFX1j4ny Ew4mOb3RRDT6+B4s7mEYfYDEdLRXpC9Om3Sr80s5kcoIko/dIauipVtHONnD/99VuEyb lRpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bRKIM8JV; 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 v32-v6si15346247plb.631.2018.03.08.14.40.01; Thu, 08 Mar 2018 14:40:17 -0800 (PST) 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=bRKIM8JV; 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 S1751048AbeCHWhu (ORCPT + 99 others); Thu, 8 Mar 2018 17:37:50 -0500 Received: from mail-it0-f66.google.com ([209.85.214.66]:36522 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750878AbeCHWhs (ORCPT ); Thu, 8 Mar 2018 17:37:48 -0500 Received: by mail-it0-f66.google.com with SMTP id u5-v6so543013itc.1; Thu, 08 Mar 2018 14:37:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=TeOI6T4/M6oWzSzMFcK50l7uZEnrSR63aK/dMXN4p/8=; b=bRKIM8JVluIWWolrPuUeKSNrwy1wSQsbLKKEdNnC0QbJ6jiIM5Wb9pbLA0hDsQwRej v4XEbJqSjLOouEwZ7qhnqudFv8vB03fKE4p755IuCfBys79FnBR7kD6obND8gtcMrzDw vnkxMKpG6Q4y8XzOtOlDKNK4MMb+TbRQ4ts7zKHvqOOzmybvDDjAGKs6FkgzWpGC2ugU TN/kM8HgemxwJkDdGRh94UbQBryi4FijyLjCcf2UIEmZnbCnoGj/O18crzS1tIKXS9DB q8TqhOHt6gZ+Rlbjb6CvCkME3zgwmwhL3VxRzB71liZMYyJWPBumjRYomSLIklTITNi/ UjLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=TeOI6T4/M6oWzSzMFcK50l7uZEnrSR63aK/dMXN4p/8=; b=mc7TNZWi/GGtpTo03bXVjduUzsC4Pj7R6NdKZZ1qom6QUvjuWSOGQG1YQLjGOw9sY+ DmH/NLdNZwWHnFIOlmj6GLyHJLiQJSR/qmbi/9yJnzA7RXENa5xJnucnA+Z5lG86Oqmp b+ZFFeI+toKuiN0i2+7Dmg4Q3x1jMnI5SJ6+MHNqZRSKwbZVFDaqszsA4FdPJGrWnFUv YFk4YqhFYzgUWO6bXWCVvUtsowQjHlvm/nhs0Rkt3Zyjq8WuJPXk/lzvphBttIOOD5AC LTcQBUGEKCYz6QRysWd6OyKCzO0LmLpbnnsuLd2xvqzgtV/UqLJjGsge2ZOFf/AXr5jP bTng== X-Gm-Message-State: AElRT7ERwzqQZS1lzFh63SkbTKltHUwPqxybdR9Szd5golAU3fFRjpm6 IHctxyLSgCVa5nMYjagr8z+nDt3S5kkJLyEeoKw= X-Received: by 10.36.245.138 with SMTP id k132mr649205ith.96.1520548668062; Thu, 08 Mar 2018 14:37:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.183.17 with HTTP; Thu, 8 Mar 2018 14:37:47 -0800 (PST) In-Reply-To: <2a83eb83-10a9-54f3-e0da-bd6cf32b5ac1@linaro.org> References: <1520522698-16153-1-git-send-email-tmaimon77@gmail.com> <1520522698-16153-3-git-send-email-tmaimon77@gmail.com> <2a83eb83-10a9-54f3-e0da-bd6cf32b5ac1@linaro.org> From: Tomer Maimon Date: Fri, 9 Mar 2018 00:37:47 +0200 Message-ID: Subject: Re: [PATCH v5 2/2] clocksource/drivers/npcm: Add NPCM7xx timer driver To: Daniel Lezcano Cc: Rob Herring , Mark Rutland , Thomas Gleixner , Avi Fishman , Brendan Higgins , venture@google.com, Joel Stanley , devicetree , Linux Kernel Mailing List , OpenBMC Maillist Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8 March 2018 at 17:33, Daniel Lezcano wrote: > On 08/03/2018 16:24, Tomer Maimon wrote: >> Add Nuvoton BMC NPCM7xx timer driver. >> >> The clocksource Enable 24-bit TIMER0 and TIMER1 counters, >> while TIMER0 serve as clockevent and TIMER1 serve as clocksource. >> >> Signed-off-by: Tomer Maimon >> Reviewed-by: Brendan Higgins >> --- > > [ ... ] > >> + >> + pr_info("Enabling NPCM7xx clocksource timer base: 0x%x, IRQ: %d ", >> + (int)timer_of_base(&npcm7xx_to), timer_of_irq(&npcm7xx_to)= ); > > You can use '%p' instead of '0x%x' and remove the (int) cast. I think we need to use in the pr_info %px, if I use %p I get in the kernel boot print "(ptrval)" instead of the address. please refer: https://lwn.net/Articles/740249/ > > I'm fine with the driver. If there is no comment, I will take it and do > the change (if you are ok), no need on this case to resend a v6. Yes great, Thank a lot! > > > > -- > Linaro.org =E2=94=82 Open source software for A= RM SoCs > > Follow Linaro: Facebook | > Twitter | > Blog >