summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-divider.c
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2015-10-02 06:49:53 +0200
committerStephen Boyd <sboyd@codeaurora.org>2016-01-30 01:43:58 +0100
commit090341b0a95d1f6d762915a75c13b393366f4ab3 (patch)
tree2acd04488b4cdc85a9b38cbdc55ea48426efaf42 /drivers/clk/clk-divider.c
parentclk: add clk_unregister_fixed_rate() (diff)
downloadlinux-090341b0a95d1f6d762915a75c13b393366f4ab3.tar.xz
linux-090341b0a95d1f6d762915a75c13b393366f4ab3.zip
clk: vt8500: fix sign of possible PLL values
With unsigned values underflow in loops can occur resulting in theoretically infinite loops. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk-divider.c')
0 files changed, 0 insertions, 0 deletions