From patchwork Thu Sep 7 13:41:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 137660 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ab0a:0:b0:3f2:4152:657d with SMTP id m10csp38356vqo; Thu, 7 Sep 2023 10:18:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH9jtgUlTSrU1Z6oB36Mi/ujM6sUa9cdAuWtJi1I0F3CI7XSdcmfzwVG4tJqI0HgZN/5wJf X-Received: by 2002:a17:902:d48d:b0:1c2:c60:8387 with SMTP id c13-20020a170902d48d00b001c20c608387mr281891plg.0.1694107104514; Thu, 07 Sep 2023 10:18:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694107104; cv=none; d=google.com; s=arc-20160816; b=uGh6AX/LdbK+cJDF9H3OGNe5TujL2HtGN/KXyinDCqvhYTnpyH7zb45c94JS2kJALa U7ylA8WJ7xyRwYXCdQsAAx3LNH+kMcPMgLrD0ZySdY/YGi79grdDOWdStcjqjgBDP3hS 3zgbQaOxG1WapRieEaAAjMP5Oz+tmHzmKvfOog8uqksyoLMpXcK8Zspa/FOx2EKnGe58 Qf5t1EyGrjmZD6eJcXO//SLsM2HqpXBbWO8lNhkVykDtgNR8bW1msgGr/B8y9i04+Olj s/88Z7wUj+4Hhxn0Hos/C7DKdu7ptaF467RnyzSpjA6hfWglnqbG8PSKS3KPLzcPXId0 TaZQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=RULvPQjvFbqIlxpXrj8xyRGyk3DKPaHlyzu3ypC8wwY=; fh=fKMC3BTGjlLXl5EvEhzqt3WHCynqYJKK7wAqLAOkWUw=; b=F5IAF69iHgU3TaSHhWQZytdB4UavGmXpDN5T6QqUhUnHlZmup4OEC3uD0zp+mXgvJe fFcbIzoiNlcOak3DAYLvqHMQm/o0VF69f5TI+BpPaqYEhXNlOY+wxl0PT2zZwfPaXsgj f5myR2ZyD23mjxl6tBIco5pYmfex/7Oli5ksOARdr0pkNdZY1Bt94GKAXMZRlKl31mGJ ioiOVEd44hiM/czMIN+qB4Obll8jxjkxNZwoAGCUCXO9Y1Vq03khhdY4QNK2wnaqsX/d aCvKb/NoArXAwPiWOIuwp267pDLvvIobvINeveR1FA8/tSHjnj1oX4CZ/EiMmE7iN5lr gW5Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ij30-20020a170902ab5e00b001c0993e4118si11901plb.553.2023.09.07.10.18.16; Thu, 07 Sep 2023 10:18:24 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236024AbjIGPgS (ORCPT + 45 others); Thu, 7 Sep 2023 11:36:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344271AbjIGPcs (ORCPT ); Thu, 7 Sep 2023 11:32:48 -0400 Received: from weierstrass.telenet-ops.be (weierstrass.telenet-ops.be [IPv6:2a02:1800:110:4::f00:11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4582BCDE for ; Thu, 7 Sep 2023 08:32:27 -0700 (PDT) Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by weierstrass.telenet-ops.be (Postfix) with ESMTPS id 4RhL5412djz4x7hX for ; Thu, 7 Sep 2023 15:42:00 +0200 (CEST) Received: from ramsan.of.borg ([84.195.187.55]) by xavier.telenet-ops.be with bizsmtp id j1hy2A00P1C8whw011hywv; Thu, 07 Sep 2023 15:42:00 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qeFGR-002mAv-67; Thu, 07 Sep 2023 15:41:58 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qeFGg-00CMj1-EL; Thu, 07 Sep 2023 15:41:58 +0200 From: Geert Uytterhoeven To: linux-m68k@lists.linux-m68k.org Cc: Arnd Bergmann , Finn Thain , Michael Schmitz , Philip Blundell , Greg Ungerer , Joshua Thompson , Sam Creasey , Laurent Vivier , linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 50/52] m68k: sun3x: Make sun3x_halt() static Date: Thu, 7 Sep 2023 15:41:51 +0200 Message-Id: <1d9bcd8cc98730ba0b9e2cc116e52f5d09d20f6d.1694093327.git.geert@linux-m68k.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776400051380413547 X-GMAIL-MSGID: 1776400051380413547 When building with W=1: arch/m68k/sun3x/prom.c:33:6: warning: no previous prototype for ‘sun3x_halt’ [-Wmissing-prototypes] 33 | void sun3x_halt(void) | ^~~~~~~~~~ Fix this by making sun3x_halt() static. The function body was moved to arch/m68k/sun3x/prom.c in v2.4.5.2. Signed-off-by: Geert Uytterhoeven --- arch/m68k/sun3x/prom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/m68k/sun3x/prom.c b/arch/m68k/sun3x/prom.c index 64c23bfaa90c5ba9..8ac87d3dc60718d9 100644 --- a/arch/m68k/sun3x/prom.c +++ b/arch/m68k/sun3x/prom.c @@ -30,7 +30,7 @@ struct linux_romvec *romvec; e_vector *sun3x_prom_vbr; /* Handle returning to the prom */ -void sun3x_halt(void) +static void sun3x_halt(void) { unsigned long flags;