]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
clk: Fix __set_clk_rates error print-string
authorBryan O'Donoghue <pure.logic@nexus-software.ie>
Mon, 15 May 2017 10:58:59 +0000 (11:58 +0100)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 1 Jun 2017 09:13:44 +0000 (02:13 -0700)
commitee177c5d6369f8e5d3e4793dce501cf4431313a1
tree7bd33ae6ef596b98f525b7ad393781b1088d45b3
parent7374aec95636ca39409545eba4ef5ff3125c2346
clk: Fix __set_clk_rates error print-string

When failing to set a clock the printout emitted is incorrect.
"u32 rate" is formatted as %d and should be %u whereas "unsigned long
clk_set_rate()" is formatted as %ld and should be %lu as per
Documentation/printk-formats.txt.

Fixes: 2885c3b2a3da ("clk: Show correct information when fail to set clock rate")
Signed-off-by: Bryan O'Donoghue <pure.logic@nexus-software.ie>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-conf.c