pcmcia: use proper printk format for resource

"Linux Kernel Mailing List" <[email protected]>
Newsgroups gmane.linux.kernel.commits.head
Message-ID <[email protected]>
Web:        https://git.kernel.org/torvalds/c/3490a69bdd815ab38230c993b3a6e02937237ac8
Commit:     3490a69bdd815ab38230c993b3a6e02937237ac8
Parent:     af87fae7c1cd9c3f1caf8e3f12067c5a951280b0
Refname:    refs/heads/master
Author:     Dominik Brodowski <[email protected]>
AuthorDate: Mon Jan 22 21:36:27 2018 +0100
Committer:  Dominik Brodowski <[email protected]>
CommitDate: Wed Jan 24 19:24:38 2018 +0100

    pcmcia: use proper printk format for resource
    
    Even though it is just in a dev_dbg statement, improve the printk format
    to use %pr instead of plain %p.
    
    Signed-off-by: Dominik Brodowski <[email protected]>
---
 drivers/pcmcia/rsrc_nonstatic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pcmcia/rsrc_nonstatic.c b/drivers/pcmcia/rsrc_nonstatic.c
index 5ef7b46a2578..49377d502b74 100644
--- a/drivers/pcmcia/rsrc_nonstatic.c
+++ b/drivers/pcmcia/rsrc_nonstatic.c
@@ -367,7 +367,7 @@ static int do_validate_mem(struct pcmcia_socket *s,
 		}
 	}
 
-	dev_dbg(&s->dev, "cs: memory probe 0x%06lx-0x%06lx: %p %p %u %u %u",
+	dev_dbg(&s->dev, "cs: memory probe 0x%06lx-0x%06lx: %pr %pr %u %u %u",
 		base, base+size-1, res1, res2, ret, info1, info2);
 
 	free_region(res2);
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.