Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp232730rdb; Mon, 22 Jan 2024 02:16:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IEVEBzMMY4e4mH7FQHEV/hshas+Agzs7qfGV1OArRDGtwouzQQe1I0/3oKXzU0f+HRktrrm X-Received: by 2002:a05:6a20:1587:b0:19a:51fb:b918 with SMTP id h7-20020a056a20158700b0019a51fbb918mr5261960pzj.80.1705918598788; Mon, 22 Jan 2024 02:16:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705918598; cv=pass; d=google.com; s=arc-20160816; b=F1umPbjYLcCF0Dd0NHejDHBMExAw++vVuyG8hbNvMaFRcU2M9YNHuiaww9cGsQtwBe sr56MFUIas7kXmmPBxyPTvWtr4KRuY24iMA3yvfuOOZBpZW+KMz7ubWG2KXTqdLEzybH bAPN8KR4Or6L2dy247UVuMu4nWSDLxyZThWmUu8y91ZzeI16P1LJB+oxl8jLnVzAagrt faiwA3JoXWEDLPHpvzCEfHz7tu299yiFurv5WoGcb1Z2sIrv/hYMS48dxL8LemO1F+bR cmodVnwyCxnhUrgE8qdNux1/jAfggdSamgHzf4NPY/yJjIBsF9esobouOcsSEJ484AZ0 Ri1Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:to :from:date; bh=sL+s1GcMOlbe+IJWXBid/ZNvpTPSGD62tjI2Ycf1AcY=; fh=lyTQ3mSccWAGqVy84hZ+9QHSygd0HcRn5/BYt4nJ6Xg=; b=hRq7cW24OC8UReZICNRL8oHOLAuhGrPsiYD5/fJdRvulveGWDwDVl2Qu6YemwT4iLf iJKVMCy1TzOemHbrBersDTkvGjM13lWrxPT0upSYpTaNOdeYRQtCq/tTu2XJfYkg/Nvk D+AnXLfTPNymKToUVzE4akBeljE9F335CK5HBRy4beW8HPpNB2Gl3zRrnTsCT5Fgih9s N1drwASPCCWP6WolAcKFYbeLzhXKyQO2iyBwSh2rSQe9G2RVarPIY99uPim0PtG78IFr tXwng6+v0UB38IpTikOUqHBJR6mQnWvJlmdVOS0yCWCv0E6qXNpLRLemXdbGVJC0RA3r udQw== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=alpha.franken.de); spf=pass (google.com: domain of linux-kernel+bounces-32714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32714-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i5-20020a6561a5000000b005cec855e691si8002348pgv.761.2024.01.22.02.16.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 02:16:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=alpha.franken.de); spf=pass (google.com: domain of linux-kernel+bounces-32714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32714-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5F34D287CDA for ; Mon, 22 Jan 2024 10:16:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 88B433A1C8; Mon, 22 Jan 2024 10:16:25 +0000 (UTC) Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 640DC3A1A4; Mon, 22 Jan 2024 10:16:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.175.24.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705918585; cv=none; b=MGe6d956o/Oss3QfthDwmUguDX+w4dFkxIxlpHc2OPqbzYmm6frSNwMcHJ4gZ4qM7W+tkXxDuxR5IoZo8Wb5Jono7+J8XR5rDQQRcoRJ9+SvFfbhaN1YWpaBqV5JLEzWyN1nL3WiSffCV86LKQiVjnwYO+rqmsryCaRw2AILmSo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705918585; c=relaxed/simple; bh=1Dwo0VFd2lDWrdTgmB3oDKY21taxrHZaV4UFr5vx1aU=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ThaDxoej2JzVvzlUGxP3/8AsySCafz95KBErRLhmSWX69h1yWZWjzt28Y9yqoXDQf+NlYxl93sL0yw74cFhhGnkAVlMkRELCr25ZcJ4S244aiEXnmbOHJAWLeLKMaSurqRx2k0e8LHzaKuggI1l1e1HiSpmi2s0OCp2Rdq+XEAc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de; spf=pass smtp.mailfrom=alpha.franken.de; arc=none smtp.client-ip=193.175.24.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alpha.franken.de Received: from uucp by elvis.franken.de with local-rmail (Exim 3.36 #1) id 1rRrLi-0000Sc-00; Mon, 22 Jan 2024 11:16:14 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id D35F7C0661; Mon, 22 Jan 2024 11:15:04 +0100 (CET) Date: Mon, 22 Jan 2024 11:15:04 +0100 From: Thomas Bogendoerfer To: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] MIPS: fw arc: Fix missing prototypes Message-ID: References: <20240119133634.96420-1-tsbogend@alpha.franken.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240119133634.96420-1-tsbogend@alpha.franken.de> On Fri, Jan 19, 2024 at 02:36:34PM +0100, Thomas Bogendoerfer wrote: > Make ArcGetMemoryDescriptor() static since it's only needed internally. > > Signed-off-by: Thomas Bogendoerfer > --- > arch/mips/fw/arc/memory.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/mips/fw/arc/memory.c b/arch/mips/fw/arc/memory.c > index 66188739f54d..fb78e6fd5de4 100644 > --- a/arch/mips/fw/arc/memory.c > +++ b/arch/mips/fw/arc/memory.c > @@ -37,7 +37,7 @@ static unsigned int nr_prom_mem __initdata; > */ > #define ARC_PAGE_SHIFT 12 > > -struct linux_mdesc * __init ArcGetMemoryDescriptor(struct linux_mdesc *Current) > +static struct linux_mdesc * __init ArcGetMemoryDescriptor(struct linux_mdesc *Current) > { > return (struct linux_mdesc *) ARC_CALL1(get_mdesc, Current); > } > -- > 2.35.3 applied to mips-fixes Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]