From: Tero Kristo Date: Wed, 2 Jul 2014 08:47:35 +0000 (+0300) Subject: ARM: OMAP2+: clock/dpll: fix _dpll_test_fint arithmetics overflow X-Git-Tag: omap-for-v3.16/fixes-rc4~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6340c8720ce34f35b41a2e15d69fe3d755cb2104;p=pandora-kernel.git ARM: OMAP2+: clock/dpll: fix _dpll_test_fint arithmetics overflow The divider value provided to the _dpll_test_fint can reach value of 256 with J type DPLLs (USB etc.), which causes an overflow with the u8 datatype. Fix this by changing the parameter to be an int instead. Signed-off-by: Tero Kristo [paul@pwsan.com: changed type of 'n' to unsigned int] Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed