mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
sh: clkfwk: fix up compiler warnings.
CC drivers/sh/clk/core.o drivers/sh/clk/core.c: In function 'clk_round_parent': drivers/sh/clk/core.c:574: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'unsigned int' drivers/sh/clk/core.c:594: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'unsigned int' Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
a7bcf21e60
commit
ed10b490ea
@ -571,7 +571,7 @@ long clk_round_parent(struct clk *clk, unsigned long target,
|
||||
*best_freq = freq_max;
|
||||
}
|
||||
|
||||
pr_debug("too low freq %lu, error %lu\n", freq->frequency,
|
||||
pr_debug("too low freq %u, error %lu\n", freq->frequency,
|
||||
target - freq_max);
|
||||
|
||||
if (!error)
|
||||
@ -591,7 +591,7 @@ long clk_round_parent(struct clk *clk, unsigned long target,
|
||||
*best_freq = freq_min;
|
||||
}
|
||||
|
||||
pr_debug("too high freq %lu, error %lu\n", freq->frequency,
|
||||
pr_debug("too high freq %u, error %lu\n", freq->frequency,
|
||||
freq_min - target);
|
||||
|
||||
if (!error)
|
||||
|
Loading…
Reference in New Issue
Block a user