OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0b4f4e
)
watchdog: cadence: Skip printing pointer value
author
Srinivas Neeli
<srinivas.neeli@xilinx.com>
Fri, 20 Dec 2019 06:58:16 +0000
(12:28 +0530)
committer
Wim Van Sebroeck
<wim@linux-watchdog.org>
Mon, 27 Jan 2020 14:55:46 +0000
(15:55 +0100)
"%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>
Link:
https://lore.kernel.org/r/1576825096-26605-1-git-send-email-srinivas.neeli@xilinx.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/cadence_wdt.c
patch
|
blob
|
history
diff --git
a/drivers/watchdog/cadence_wdt.c
b/drivers/watchdog/cadence_wdt.c
index
06bd4e1
..
672b184
100644
(file)
--- 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;
}