[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176213091341.301408.15461245832294334915.b4-ty@collabora.com>
Date: Mon, 03 Nov 2025 01:48:33 +0100
From: Sebastian Reichel <sebastian.reichel@...labora.com>
To: Sebastian Reichel <sre@...nel.org>, linux-pm@...r.kernel.org,
Michal Kubecek <mkubecek@...e.cz>
Cc: Hans de Goede <hansg@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] power: supply: use ktime_divns() to avoid 64-bit
division
On Wed, 15 Oct 2025 09:56:31 +0200, Michal Kubecek wrote:
> The build of intel_dc_ti_battery module on i386 (32-bit) fails with
>
> ERROR: modpost: "__udivdi3" [drivers/power/supply/intel_dc_ti_battery.ko]
>
> This is caused by 64-bit division of ktime values by NSEC_PER_USEC. Use
> ktime_divns() helper which handles the division correctly on 32-bit
> architectures.
>
> [...]
Applied, thanks!
[1/1] power: supply: use ktime_divns() to avoid 64-bit division
commit: 3fd1695f5da0538ef72e1268baa00528b589347a
Best regards,
--
Sebastian Reichel <sebastian.reichel@...labora.com>
Powered by blists - more mailing lists