From: Ben Dooks Date: Thu, 20 Oct 2005 22:21:18 +0000 (+0100) Subject: [ARM] 3026/1: S3C2410 - avoid possible overflow in pll calculations X-Git-Tag: v2.6.14~50^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7ce8edc8232da51dc3a804ec9c734019d115b40;p=pandora-kernel.git [ARM] 3026/1: S3C2410 - avoid possible overflow in pll calculations Patch from Ben Dooks Avoid the possiblity that if the board is using a 16.9334 or higher crystal with a high PLL multiplier, then the pll value could overflow the capability of an int. Also fix the value types of the intermediate variables to unsigned int. Rewrite of patch from Guillaume Gourat Signed-off-by: Ben Dooks Signed-off-by: Russell King --- Reading git-diff-tree failed