[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZJVUTUkTFeRkVvg8@shikoro>
Date: Fri, 23 Jun 2023 10:14:05 +0200
From: Wolfram Sang <wsa@...nel.org>
To: carlos.song@....com
Cc: aisheng.dong@....com, shawnguo@...nel.org, s.hauer@...gutronix.de,
kernel@...gutronix.de, festevam@...il.com, xiaoning.wang@....com,
haibo.chen@....com, linux-imx@....com, linux-i2c@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i2c: imx-lpi2c: fix type char overflow issue when
calculating the clock cycle
On Mon, May 29, 2023 at 04:02:51PM +0800, carlos.song@....com wrote:
> From: Clark Wang <xiaoning.wang@....com>
>
> Claim clkhi and clklo as integer type to avoid possible calculation
> errors caused by data overflow.
>
> Fixes: a55fa9d0e42e ("i2c: imx-lpi2c: add low power i2c bus driver")
> Signed-off-by: Clark Wang <xiaoning.wang@....com>
> Signed-off-by: Carlos Song <carlos.song@....com>
Applied to for-current, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists