[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200520132913.GB5759@ninjato>
Date: Wed, 20 May 2020 15:29:13 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: qii.wang@...iatek.com
Cc: linux-i2c@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-mediatek@...ts.infradead.org, srv_heupstream@...iatek.com,
leilk.liu@...iatek.com
Subject: Re: [next] i2c: mediatek: Use div_u64 for 64-bit division to fix
32-bit kernels
On Wed, May 20, 2020 at 06:31:53PM +0800, qii.wang@...iatek.com wrote:
> From: Qii Wang <qii.wang@...iatek.com>
>
> Use div_u64 for 64-bit division, and change sample_ns type to
> unsigned int. Otherwise, the module will reference __udivdi3
> under 32-bit kernels, which is not allowed in kernel space.
>
> Signed-off-by: Qii Wang <qii.wang@...iatek.com>
Applied to for-next by squashing it into the relevant commit, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists