From patchwork Wed Oct 11 07:16:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13416756 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 463F2CD98F6 for ; Wed, 11 Oct 2023 07:16:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344434AbjJKHQq (ORCPT ); Wed, 11 Oct 2023 03:16:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229632AbjJKHQp (ORCPT ); Wed, 11 Oct 2023 03:16:45 -0400 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DABB198 for ; Wed, 11 Oct 2023 00:16:42 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:a251:6312:1f1a:2a48]) by michel.telenet-ops.be with bizsmtp id wXGe2A0023RY9Je06XGemh; Wed, 11 Oct 2023 09:16:38 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qqTSO-0063iR-Fp; Wed, 11 Oct 2023 09:16:38 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qqTSQ-00HIng-1m; Wed, 11 Oct 2023 09:16:38 +0200 From: Geert Uytterhoeven To: Masahiro Yamada Cc: linux-m68k@lists.linux-m68k.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] m68k: lib: Include for __muldi3() Date: Wed, 11 Oct 2023 09:16:33 +0200 Message-Id: <160c1fd14b4798f576d9649334b1d2c77db5cb07.1697008341.git.geert@linux-m68k.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org When building with W=1: arch/m68k/lib/muldi3.c:82:1: warning: no previous prototype for ‘__muldi3’ [-Wmissing-prototypes] 82 | __muldi3 (DItype u, DItype v) | ^~~~~~~~ Fix this by including . Signed-off-by: Geert Uytterhoeven --- To bequeued in the m68k for-v6.7 branch. Missed before, as "make arch/m68k/" does not (re)build arch/m68k/lib/? arch/m68k/Makefile has: libs-y += arch/m68k/lib/ while all the other subdirs use "obj-y". --- arch/m68k/lib/muldi3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/m68k/lib/muldi3.c b/arch/m68k/lib/muldi3.c index eb7d9d86ff6697a5..5012a9b218c7824c 100644 --- a/arch/m68k/lib/muldi3.c +++ b/arch/m68k/lib/muldi3.c @@ -16,6 +16,7 @@ GNU General Public License for more details. */ #include #include +#include #ifdef CONFIG_CPU_HAS_NO_MULDIV64