summaryrefslogtreecommitdiff
path: root/crypto/ansi_cprng.c
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@altera.com>2014-02-20 01:11:10 +0400
committerMike Turquette <mturquette@linaro.org>2014-02-27 00:23:29 +0400
commit5585f7317573873f95c1bb7748322c62a6c3a919 (patch)
tree91c8230f367233a21a4cdb61c72bbb94a5e27e5a /crypto/ansi_cprng.c
parent2c97ec58420d852f3f0ede905b92fbab1df5961c (diff)
downloadlinux-5585f7317573873f95c1bb7748322c62a6c3a919.tar.xz
clk: socfpga: Fix integer overflow in clock calculation
Use 64-bit integer for calculating clock rate. Also use do_div for the 64-bit division. Signed-off-by: Graham Moore <grmoore@altera.com> Signed-off-by: Dinh Nguyen <dinguyen@altera.com> Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'crypto/ansi_cprng.c')
0 files changed, 0 insertions, 0 deletions