Re: [PATCH v3 3/4] hwmon: (ltc2945): add support for sense resistor

From: Guenter Roeck
Date: Thu Jan 07 2021 - 12:36:33 EST


On Thu, Jan 07, 2021 at 05:44:33PM +0200, Alexandru Ardelean wrote:
> >
> > Note that this patch doesn't compile on 32-bit targets.
>
> Yeah, my bad.
> I only tested with make allmodconfig, and that doesn't do a good job
> at providing linker issues.
>
The problem is the 64-bit divide operation introduced with your patch.
You'd see that if you build allmodconfig with ARCH=i386.

Guenter