Re: [next] i2c: mediatek: Use div_u64 for 64-bit division to fix 32-bit kernels

From: Wolfram Sang
Date: Wed May 20 2020 - 09:29:17 EST


On Wed, May 20, 2020 at 06:31:53PM +0800, qii.wang@xxxxxxxxxxxx wrote:
> From: Qii Wang <qii.wang@xxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxx>

Applied to for-next by squashing it into the relevant commit, thanks!

Attachment: signature.asc
Description: PGP signature