projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
755219b
)
clk: clk-bcm2835: Use %zd when printing size_t
author
Dave Stevenson
<dave.stevenson@raspberrypi.org>
Thu, 24 Jan 2019 15:09:28 +0000
(15:09 +0000)
committer
popcornmix
<popcornmix@gmail.com>
Wed, 1 Jul 2020 15:32:51 +0000
(16:32 +0100)
The debug text for how many clocks have been registered
uses "%d" with a size_t. Correct it to "%zd".
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
drivers/clk/bcm/clk-bcm2835.c
patch
|
blob
|
history
diff --git
a/drivers/clk/bcm/clk-bcm2835.c
b/drivers/clk/bcm/clk-bcm2835.c
index
8aa967e
..
ffb3d19
100644
(file)
--- a/
drivers/clk/bcm/clk-bcm2835.c
+++ b/
drivers/clk/bcm/clk-bcm2835.c
@@
-2335,7
+2335,7
@@
static int bcm2835_clk_probe(struct platform_device *pdev)
return ret;
/* note that we have registered all the clocks */
- dev_dbg(dev, "registered %d clocks\n", asize);
+ dev_dbg(dev, "registered %
z
d clocks\n", asize);
return 0;
}