From: Guenter Roeck <linux@roeck-us.net>
To: Srinivas Neeli <srinivas.neeli@xilinx.com>
Cc: shubhraj@xilinx.com, sgoud@xilinx.com, michal.simek@xilinx.com,
wim@linux-watchdog.org, linux-watchdog@vger.kernel.org,
linux-kernel@vger.kernel.org, git@xilinx.com
Subject: Re: [PATCH] watchdog: cadence: Skip printing pointer value
Date: Fri, 20 Dec 2019 10:52:40 -0800 [thread overview]
Message-ID: <20191220185240.GF26293@roeck-us.net> (raw)
In-Reply-To: <1576825096-26605-1-git-send-email-srinivas.neeli@xilinx.com>
On Fri, Dec 20, 2019 at 12:28:16PM +0530, Srinivas Neeli wrote:
> "%p" is not printing the pointer value.
> In driver, printing pointer value is not useful so avoiding print.
>
> Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
> ---
> drivers/watchdog/cadence_wdt.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/watchdog/cadence_wdt.c b/drivers/watchdog/cadence_wdt.c
> index 06bd4e1a5923..672b184da875 100644
> --- a/drivers/watchdog/cadence_wdt.c
> +++ b/drivers/watchdog/cadence_wdt.c
> @@ -369,9 +369,8 @@ static int cdns_wdt_probe(struct platform_device *pdev)
> return ret;
> platform_set_drvdata(pdev, wdt);
>
> - dev_info(dev, "Xilinx Watchdog Timer at %p with timeout %ds%s\n",
> - wdt->regs, cdns_wdt_device->timeout,
> - nowayout ? ", nowayout" : "");
> + dev_info(dev, "Xilinx Watchdog Timer with timeout %ds%s\n",
> + cdns_wdt_device->timeout, nowayout ? ", nowayout" : "");
>
> return 0;
> }
> --
> 2.7.4
>
next prev parent reply other threads:[~2019-12-20 18:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-20 6:58 [PATCH] watchdog: cadence: Skip printing pointer value Srinivas Neeli
2019-12-20 18:52 ` Guenter Roeck [this message]
2020-01-04 16:34 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191220185240.GF26293@roeck-us.net \
--to=linux@roeck-us.net \
--cc=git@xilinx.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=michal.simek@xilinx.com \
--cc=sgoud@xilinx.com \
--cc=shubhraj@xilinx.com \
--cc=srinivas.neeli@xilinx.com \
--cc=wim@linux-watchdog.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).