[PATCH v4] i2c: aspeed: fix invalid clock parameters for very large divisors

Wolfram Sang wsa at the-dreams.de
Tue Sep 25 07:51:18 AEST 2018

On Fri, Sep 21, 2018 at 04:30:50PM -0700, Brendan Higgins wrote:
> The function that computes clock parameters from divisors did not
> respect the maximum size of the bitfields that the parameters were
> written to. This fixes the bug.
> This bug can be reproduced with (and this fix verified with) the test
> at: https://kunit-review.googlesource.com/c/linux/+/1035/
> Discovered-by-KUnit: https://kunit-review.googlesource.com/c/linux/+/1035/
> Signed-off-by: Brendan Higgins <brendanhiggins at google.com>
> Reviewed-by: Jae Hyun Yoo <jae.hyun.yoo at linux.intel.com>

Applied to for-next, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linux-aspeed/attachments/20180924/12f6a14f/attachment.sig>

More information about the Linux-aspeed mailing list