Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2722746rwd; Wed, 17 May 2023 13:32:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5BVeuic6ZMaaJQikR0nnod/vt5YtxiydL45G5AwTQVeYO3SQkkJ1xJkQoeHb6stexc5EW0 X-Received: by 2002:a17:902:d4ca:b0:1ac:8384:a7fb with SMTP id o10-20020a170902d4ca00b001ac8384a7fbmr38910190plg.66.1684355570745; Wed, 17 May 2023 13:32:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684355570; cv=none; d=google.com; s=arc-20160816; b=Ow15mS/hNAawPCorJ1W5agAk4S+mo+sfM7DjyV1jW1QM+MXK3ElHX3IV1La6Fpm13t KvD2EgBstozHFK42+Mgohe8rJg/wqG/+gSqsAuiRBW/v0RAxQuYeN55+9uCk67ZkOi8r +mFVUF+IRt9qX3e5rLYlkFMWxk83YNej/njXfKbWOJLll0n6QlYMuWFVeWeBlNeNoPRf MxHAcnmt2JqKJBazYJ7iR4PzN9D0vgKXYiDggyPM/rD8kXaFez7ICfpQCiLB4ej1HHOX l3ohbdoYUPrwFNBY3VTMLvEjbvNkvKXhPYK0udTVKD1muEOb/rtlSyi6u8y8lwXWIW72 vccg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=TsMoPVln3DJjIjic43H/HtxMvkVu6MN2Vg/Yi5CKxAc=; b=U8I8YUi+Wh0XcMSsnngxXhfWA+cQTTbFe1uVmYfPTIYWuN9l83fjllyA0TPj1Yb5GV LqzKxr7dttRCWi7NKlq/OQ6XTtYhhtDLl0K5FMf0v3rq8om6WTR0S9SGCa5R3Np3Z0CQ +tMobfsi/Ppm6ymNrBU1PPHgpY+sriztYfCmwxWdH7pWK7i76gNlbS+hpl5fI8UWiZjI hxAOV5D1qB2VcAbh7Po/feSdQUfq9E/x4XnjxonhmXZvnzaJXFzLe5vxBYK/X5cgyKOX BmKwTmbHWoZhBWIKq2LasMnAKdghdTRN8H86b2vhbK+nFrw4S960yw69UjqAIDMTipG0 k7tA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=lobWVl+t; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u10-20020a17090282ca00b001ac94b7f2f0si20447682plz.523.2023.05.17.13.32.37; Wed, 17 May 2023 13:32:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=lobWVl+t; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229719AbjEQU2c (ORCPT + 99 others); Wed, 17 May 2023 16:28:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229706AbjEQU2b (ORCPT ); Wed, 17 May 2023 16:28:31 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47B011FFA for ; Wed, 17 May 2023 13:28:30 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id E302B22665; Wed, 17 May 2023 20:28:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1684355307; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TsMoPVln3DJjIjic43H/HtxMvkVu6MN2Vg/Yi5CKxAc=; b=lobWVl+tPn6RYkrzquAbpPUUU+0Xz3FGiQpyqiBgi6fEB88yTOvwta18Ms+4tl7A2QTPRX B4ZuDUgOAEqOvEe4RVMEqqo2x8IcneYnAawRHzVJ/RMX8F2DbHJ0fc7W8iNuSkAPj45lm+ yZxF+FLgC6p0jHke+Snk3j6H/onTfYU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1684355307; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TsMoPVln3DJjIjic43H/HtxMvkVu6MN2Vg/Yi5CKxAc=; b=fyGYrSMmNoM1O7B5tvabbnmyStk5593LkcVqzur8fCsa9p7ej8JQ5PgkeHpVUVWRbEbxeK mACeXQJmqBjcJICw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 582BB13478; Wed, 17 May 2023 20:28:27 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 3k41FOs4ZWSQCAAAMHmgww (envelope-from ); Wed, 17 May 2023 20:28:27 +0000 Date: Wed, 17 May 2023 22:28:26 +0200 Message-ID: <87353u1z4l.wl-tiwai@suse.de> From: Takashi Iwai To: Arnd Bergmann Cc: Jaroslav Kysela , Takashi Iwai , Oswald Buddenhagen , Arnd Bergmann , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ALSA: emu10k1: fix 64-bit integer division In-Reply-To: <20230517201920.592909-1-arnd@kernel.org> References: <20230517201920.592909-1-arnd@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 17 May 2023 22:19:17 +0200, Arnd Bergmann wrote: > > From: Arnd Bergmann > > 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 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