On Thu, May 07, 2026 at 04:21:31PM -0700, Rosen Penev wrote: > A MIPS allmodconfig build with LLVM fails during modpost: > > ERROR: modpost: "__udivdi3" > [sound/soc/tegra/snd-soc-tegra210-mixer.ko] undefined! > > tegra210_mixer_configure_gain() divides a 64-bit BIT_ULL() value by the > fade duration. On 32-bit MIPS, clang emits a call to __udivdi3 for that > plain C division, but that compiler helper is not exported to modules. > > Use div_u64() for the inverse duration calculation so the driver uses the > kernel's 64-bit division helper instead of emitting a compiler runtime > call. > > Assisted-by: Codex:GPT-5.5 > Signed-off-by: Rosen Penev > --- > sound/soc/tegra/tegra210_mixer.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) Acked-by: Thierry Reding