[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87353u1z4l.wl-tiwai@suse.de>
Date: Wed, 17 May 2023 22:28:26 +0200
From: Takashi Iwai <tiwai@...e.de>
To: Arnd Bergmann <arnd@...nel.org>
Cc: Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>,
Oswald Buddenhagen <oswald.buddenhagen@....de>,
Arnd Bergmann <arnd@...db.de>, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ALSA: emu10k1: fix 64-bit integer division
On Wed, 17 May 2023 22:19:17 +0200,
Arnd Bergmann wrote:
>
> From: Arnd Bergmann <arnd@...db.de>
>
> Division of 64-bit values causes a link failure on 32-bit targets, depending
> on compiler version and target architecture:
>
> ERROR: modpost: "__divdi3" [sound/pci/emu10k1/snd-emu10k1.ko] undefined!
> ERROR: modpost: "__udivdi3" [sound/pci/emu10k1/snd-emu10k1.ko] undefined!
>
> Replace these with the safe div_u64() helpers.
>
> Fixes: bb5ceb43b7bf ("ALSA: emu10k1: fix non-zero mixer control defaults in highres mode")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Another fix patch was already submitted and merged:
https://lore.kernel.org/r/20230517164800.3650699-1-oswald.buddenhagen@gmx.de
Let me know if you still hit the issue with that patch.
thanks,
Takashi
Powered by blists - more mailing lists