Skip to content

Commit

Permalink
pcmcia: use proper printk format for resource
Browse files Browse the repository at this point in the history
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 <linux@dominikbrodowski.net>
  • Loading branch information
Dominik Brodowski committed Jan 24, 2018
1 parent af87fae commit 3490a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pcmcia/rsrc_nonstatic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3490a69

Please sign in to comment.