From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfram Sang Subject: Re: [PATCH v4] i2c: aspeed: fix invalid clock parameters for very large divisors Date: Mon, 24 Sep 2018 23:51:18 +0200 Message-ID: <20180924215118.GC18592@kunai> References: <20180921233050.121570-1-brendanhiggins@google.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mvpLiMfbWzRoNl4x" Return-path: Content-Disposition: inline In-Reply-To: <20180921233050.121570-1-brendanhiggins@google.com> Sender: linux-kernel-owner@vger.kernel.org To: Brendan Higgins Cc: jae.hyun.yoo@linux.intel.com, benh@kernel.crashing.org, joel@jms.id.au, andrew@aj.id.au, linux-i2c@vger.kernel.org, openbmc@lists.ozlabs.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org List-Id: linux-i2c@vger.kernel.org --mvpLiMfbWzRoNl4x Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > This bug can be reproduced with (and this fix verified with) the test > at: https://kunit-review.googlesource.com/c/linux/+/1035/ >=20 > Discovered-by-KUnit: https://kunit-review.googlesource.com/c/linux/+/1035/ > Signed-off-by: Brendan Higgins > Reviewed-by: Jae Hyun Yoo Applied to for-next, thanks! --mvpLiMfbWzRoNl4x Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAlupXFYACgkQFA3kzBSg KbahfhAAh0xJrb8oNN7zxZFdzS9tPQgQGhsLeTzyVuPQ/8ygfqC/nEu57R/tfjVs yNV/q2mU0BiToaUUVjA84LydqRJyd67yLy9ltsh/DbQu9WK4904xTfTG607FRYHX DUDO7rs2GAqdQbS7N6ivvvLIR0bwmoeY+fqZ1F7uchlxu9x8sukWJSGTKM1wX8z1 Lj3I5zb3KmHXa7B+v+CuutQCF0qRyTe4fT6JTBq2ILRxV/yvqNyOYc1BYqbOLHKO dRSfoX8t75g9LuTqw7fBCerI3WOv29E/GTgc0Mqbc6Sob9puqao57xCpCW+Wy+tx mlFU5U8S3SbieIOtoUcaDAs+QIVsqvpuOQdR+NTpujj+DljBYR+ogjqOexc8VKrq Vo7n8qYdH8b8QHPW7piKd9cblF392FBfYir8zgq8eTx7clKP5mK3p5d3OFHSorAI CJagkEB+IFhPslOtOjEz9mjiZ8H7kXX+FXPO3Nhdvv0zUXvDbqupAE6bMInrAO3A NC4Q2PRx9X8MyjHZrCwyEErR25jugt+PJJTch/ygwGUQwNznQ8p+t9j0FxnpBUf4 KNjAgdg6Et3hEv8mxSf2dEF5j/1/WNUPO8COh8k2cBa+kJI2k9l81uAX0s9y/7Sz lOCL+f9BMMXPvVmeXuxGZflK6JbZAh1XIEyaHriU/HanUAmz52w= =dRZ3 -----END PGP SIGNATURE----- --mvpLiMfbWzRoNl4x--