diff options
author | Peter Chen <peter.chen@nxp.com> | 2020-03-26 16:26:22 +0800 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2020-03-30 14:42:34 +0800 |
commit | 86b17c7f14ed1a442246a332c90df0e81003a2d3 (patch) | |
tree | cb6f21f9952b3ed1b76a36a85272387128fea406 /drivers | |
parent | 80990f3fdc0a9e7cf9c86f13ce6ab89a616c3551 (diff) | |
download | linux-86b17c7f14ed1a442246a332c90df0e81003a2d3.tar.gz |
usb: chipidea: core: show the real pointer value for register
The pointer value is "ptrval" like below at current code:
ci_hdrc ci_hdrc.0: ChipIdea HDRC found, revision: 25, lpm: 0;
cap: (ptrval) op: (ptrval)
According to Documentation/core-api/printk-formats.rst, we change
it from %p to %px for real value.
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/chipidea/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c index 12971c96c19e..ea8ac4a54a8d 100644 --- a/drivers/usb/chipidea/core.c +++ b/drivers/usb/chipidea/core.c @@ -246,7 +246,7 @@ static int hw_device_init(struct ci_hdrc *ci, void __iomem *base) ci->rev = ci_get_revision(ci); dev_dbg(ci->dev, - "ChipIdea HDRC found, revision: %d, lpm: %d; cap: %p op: %p\n", + "revision: %d, lpm: %d; cap: %px op: %px\n", ci->rev, ci->hw_bank.lpm, ci->hw_bank.cap, ci->hw_bank.op); /* setup lock mode ? */ |