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

From: Alexandru Ardelean
Date: Fri Jan 08 2021 - 04:19:44 EST


On Thu, Jan 7, 2021 at 7:35 PM Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
>
> 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.

Oh, right.
That thought actually escaped me.

Thanks for the tip
Alex

>
> Guenter