diff options
author | Ben Dooks <ben-linux@fluff.org> | 2005-10-20 23:21:18 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-20 23:21:18 +0100 |
commit | a7ce8edc8232da51dc3a804ec9c734019d115b40 (patch) | |
tree | 05d79d60b96b59d62709b11c2b1c1b497cb70902 /drivers/scsi/dc395x.h | |
parent | b2640b420a806c91f6b8799314ca96bb88a246d2 (diff) |
[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 <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/scsi/dc395x.h')
0 files changed, 0 insertions, 0 deletions