]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ti_sci: Use %pS printk format for direct addresses
authorHelge Deller <deller@gmx.de>
Mon, 9 Oct 2017 16:54:14 +0000 (09:54 -0700)
committerSantosh Shilimkar <ssantosh@kernel.org>
Mon, 9 Oct 2017 16:54:14 +0000 (09:54 -0700)
Use the %pS printk format for printing symbols from direct addresses.
This is important for the ia64, ppc64 and parisc64 architectures, while on
other architectures there is no difference between %pS and %pF.
Fix it for consistency across the kernel.

Signed-off-by: Helge Deller <deller@gmx.de>
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
drivers/firmware/ti_sci.c

index 00cfed3c3e1a20b7bbea4b1a93e59fcd09afc2dd..23b12d99ddfed61439990ed761df631eb47dd7b4 100644 (file)
@@ -439,7 +439,7 @@ static inline int ti_sci_do_xfer(struct ti_sci_info *info,
        /* And we wait for the response. */
        timeout = msecs_to_jiffies(info->desc->max_rx_timeout_ms);
        if (!wait_for_completion_timeout(&xfer->done, timeout)) {
-               dev_err(dev, "Mbox timedout in resp(caller: %pF)\n",
+               dev_err(dev, "Mbox timedout in resp(caller: %pS)\n",
                        (void *)_RET_IP_);
                ret = -ETIMEDOUT;
        }