Re: build failure of next-20220921 due to 94c025b6f735 ("hwmon: (mr75203) modify the temperature equation according to series 5 datasheet")

From: Farber, Eliav
Date: Wed Sep 21 2022 - 08:20:03 EST


On 9/21/2022 2:54 PM, Sudip Mukherjee (Codethink) wrote:
Hi All,

The builds of arm, mips and xtensa allmodconfig have failed to build
next-20220921.

Error from xtensa and mips build:
ERROR: modpost: "__udivdi3" [drivers/hwmon/mr75203.ko] undefined!
ERROR: modpost: "__divdi3" [drivers/hwmon/mr75203.ko] undefined!

Error from arm build:
ERROR: modpost: "__aeabi_uldivmod" [drivers/hwmon/mr75203.ko] undefined!
ERROR: modpost: "__aeabi_ldivmod" [drivers/hwmon/mr75203.ko] undefined!

git bisect pointed to 94c025b6f735 ("hwmon: (mr75203) modify the temperature equation according to series 5 datasheet")

I will be happy to test any patch or provide any extra log if needed.

I just provided two potential fixes.
One is an incremental patch on top of the previous series of patches.
Second, I reworked it into the original series and modified two of the
patches.
You are recipient to both.

--
Regards, Eliav