Message ID | 05c9a02a8bb103b8717f4f2d9c36af9267d7a09e.1694093327.git.geert@linux-m68k.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ab0a:0:b0:3f2:4152:657d with SMTP id m10csp50553vqo; Thu, 7 Sep 2023 10:40:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGPezeqxx+Bik7B+O+41KY+WbzkJEtrPnAtywleX2U5Tp6p4zhDtO/B0cgksNRP7iJFKSbq X-Received: by 2002:aa7:c6c8:0:b0:523:2e0e:5462 with SMTP id b8-20020aa7c6c8000000b005232e0e5462mr7859eds.42.1694108435482; Thu, 07 Sep 2023 10:40:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694108435; cv=none; d=google.com; s=arc-20160816; b=tnTFNe0Ahhpksm+HlAOFtoq53JqfIcC6xRgP8nACCgWYRrM8OpOrpIMlfzy2DgzFlU orf3JbUUzCHnyKcu27eXPSuP5n39AH0Y7z7uczKeJlxtWyFNhFLHE7O9vSI1CcdH3RQN Sk5tZXOwhYN+gydSQX+5ROMx1b0hOniQJcvKJUrRL6+DeehzhwKlDUYQZ3AJ52JoV8V+ 0/EzUuov1zXK/iQGlW4v5BtIfSOa4smyEakzp1nauH25jaPs/nckI0WFM94tYmkcJIX1 CoOdm80dTGnkgjqQeYlbG6X0iWpDbIsdRVbwPSawSIU8PU9974cepsfPestXT6Qvigsl NUTg== 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=Twz7r46iyfNnOJ7Z6QjCqmCAnNwy4hzl2u+7eJ2EkJ0=; fh=fKMC3BTGjlLXl5EvEhzqt3WHCynqYJKK7wAqLAOkWUw=; b=CVqJuiVrPztsD3rWBzNnePDCMppEzYvgBJwrE6uLXHaJjY5M6ZQa5pjwZnwfMQjnYK Q/nuibq9e/Ee4P5u6tUmHxEwTL+rprg4ilNkuC53GdLQdywcTtmr/jkFrktinWcsaE0j /ilDUqpbDVNx82l/8UyvYapibIM0C0rssH1UuGQChanTWpHBLTJ71CAYyXmvAiqsRx3f ysLmsVYqFfcY8VR+efsIXydFgVGc1VHBbb9p8ulVYM4BCcd64jRkDII7YSGYtUJDMlLG t83LYcp5XhwtULbiuZvPR3F19KGqRl6JfpYTce0iNEqe5YwuHKT+GI7cZQ9BT+duo+1O QfQw== 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 v5-20020aa7cd45000000b0052566663542si57798edw.76.2023.09.07.10.40.23; Thu, 07 Sep 2023 10:40:35 -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 S245753AbjIGPaS (ORCPT <rfc822;andrew.luo25@gmail.com> + 41 others); Thu, 7 Sep 2023 11:30:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245475AbjIGP3h (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 7 Sep 2023 11:29:37 -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 C188BE49 for <linux-kernel@vger.kernel.org>; Thu, 7 Sep 2023 08:29:09 -0700 (PDT) Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by weierstrass.telenet-ops.be (Postfix) with ESMTPS id 4RhL540FPjz4x5tb for <linux-kernel@vger.kernel.org>; Thu, 7 Sep 2023 15:42:00 +0200 (CEST) Received: from ramsan.of.borg ([84.195.187.55]) by laurent.telenet-ops.be with bizsmtp id j1hy2A00Y1C8whw011hyts; Thu, 07 Sep 2023 15:41:59 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from <geert@linux-m68k.org>) id 1qeFGR-002mAf-3H; Thu, 07 Sep 2023 15:41:58 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from <geert@linux-m68k.org>) id 1qeFGg-00CMih-Be; Thu, 07 Sep 2023 15:41:58 +0200 From: Geert Uytterhoeven <geert@linux-m68k.org> To: linux-m68k@lists.linux-m68k.org Cc: Arnd Bergmann <arnd@arndb.de>, Finn Thain <fthain@linux-m68k.org>, Michael Schmitz <schmitzmic@gmail.com>, Philip Blundell <philb@gnu.org>, Greg Ungerer <gerg@linux-m68k.org>, Joshua Thompson <funaho@jurai.org>, Sam Creasey <sammy@sammy.net>, Laurent Vivier <laurent@vivier.eu>, linux-kernel@vger.kernel.org, Geert Uytterhoeven <geert@linux-m68k.org> Subject: [PATCH 46/52] m68k: sun3: Make print_pte() static Date: Thu, 7 Sep 2023 15:41:47 +0200 Message-Id: <05c9a02a8bb103b8717f4f2d9c36af9267d7a09e.1694093327.git.geert@linux-m68k.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <cover.1694093327.git.geert@linux-m68k.org> References: <cover.1694093327.git.geert@linux-m68k.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776401446857067455 X-GMAIL-MSGID: 1776401446857067455 |
Series |
None
|
|
Commit Message
Geert Uytterhoeven
Sept. 7, 2023, 1:41 p.m. UTC
When building with W=1:
arch/m68k/sun3/mmu_emu.c:70:6: warning: no previous prototype for ‘print_pte’ [-Wmissing-prototypes]
70 | void print_pte (pte_t pte)
| ^~~~~~~~~
Fix this by making print_pte() static.
There was never a user outside arch/m68k/sun3/mmu_emu.c.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
arch/m68k/sun3/mmu_emu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/m68k/sun3/mmu_emu.c b/arch/m68k/sun3/mmu_emu.c index 7321b3b76283c7c9..7ec9bbf8a3644a10 100644 --- a/arch/m68k/sun3/mmu_emu.c +++ b/arch/m68k/sun3/mmu_emu.c @@ -67,7 +67,7 @@ static unsigned char ctx_avail = CONTEXTS_NUM-1; unsigned long rom_pages[256]; /* Print a PTE value in symbolic form. For debugging. */ -void print_pte (pte_t pte) +static void print_pte(pte_t pte) { #if 0 /* Verbose version. */