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: 151165 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp356108vqb; Wed, 11 Oct 2023 00:16:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFX8EvTKvBJEGKeZiJx2Ii7uDU2KpGEb3JGPsBjn/FLYO+T6l96O+kLYZD6XpOf1mILTmJ6 X-Received: by 2002:a05:6a20:3d04:b0:13d:d5bd:758f with SMTP id y4-20020a056a203d0400b0013dd5bd758fmr25390096pzi.6.1697008619388; Wed, 11 Oct 2023 00:16:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697008619; cv=none; d=google.com; s=arc-20160816; b=JbRqXhaRsmpcp+gYm5onrWWoFVjMWz8KxplOQeC2t5siYn8dtt/Zd/LKDd4//fK6jg 916bygxvM/BFj7jNKEFNj/ySkKli2pXfHtTOaA68nyk+/F7U2nCTKd2Drk83CiB5uzBM BogcmVyDhSt8eVlHU+1z0SLOEm9dZ/wSlshefUEBAJTpdsVATTgnlAVCEYeP51T6N409 kD+9BL0XjwxHXtnolEMUDOBu2nudqO2DY7cdutHv5yx+u+eIzwpyOKtUIjFEZGLr2dlP yNMqOwHkJNNwwvzrQNqpbPSbIXiXytTyq9re1+ZQ09shsLp40JSH1lSKPhMivU0WJwDZ IWXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=2wPJs96+Tii0+I5BL+s7YUFo7I0slQj43lEOz4QvXUQ=; fh=Nv6CVIGXSfWHIV/EuU0ioLSNbT2HShyFMOMt5hArFRw=; b=EFu9udxVRlDkjx7CMPLff5tl2kdcy7lxA5G8ZqURm0pVZDx5AtmKZIo4F0JHRAyZHv V8dHoR+L9d6d6db8PuQavCCx7aE/oBsO5k63kEzjKgxBgUUSH9SvCXSnZFlqO6JcR+YW DCdLC7fWXaA+IHFVGyeiS3HXT20X/2DOnjI8Bfe1t0VaEp29rHhDZRsodCaIyaHf3b4+ EvUPDFlMtH+qqQOWczLxHwlG3Zv7d968T9CjuG5h+vPbuxllLHXIWy67JDCT89T+QF0D wjGF/x2+RAFTCbfene/qQ829xnnJvpME2RYP0gyRXij0Z/3wPG5npFVYe3JH1JCcc5/S B8zA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id cl18-20020a17090af69200b0027d047d9070si903120pjb.91.2023.10.11.00.16.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 00:16:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id D808C80DAC6B; Wed, 11 Oct 2023 00:16:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229587AbjJKHQr (ORCPT + 19 others); Wed, 11 Oct 2023 03:16:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229608AbjJKHQp (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 DADF49B 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 X-Spam-Status: No, score=2.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 11 Oct 2023 00:16:56 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779442509910034555 X-GMAIL-MSGID: 1779442509910034555 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