Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp639910rwb; Mon, 26 Sep 2022 04:07:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7ZTjBE+m4kvcCn7h4nPmikW9agpQGcGC+yBl1Y4+PP84dkRHcP06PfYrgnAl0TSM3Mxrvc X-Received: by 2002:a63:91c8:0:b0:438:d55c:4484 with SMTP id l191-20020a6391c8000000b00438d55c4484mr19692394pge.157.1664190460748; Mon, 26 Sep 2022 04:07:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664190460; cv=none; d=google.com; s=arc-20160816; b=bVH3WUReDP7PeONOGNPjeCkC+soS2E9dPeaF0zDD6RUb1hKOfjtGlp9BwKb5Pr+bT8 6+VaA41V4S3lpJHlmF/Ezb+WYrZPtIpy4e4YitYFnQKMoKDBB3HAN5Yep1fEio9jT3PK uuLqP6G1ZSxhby9A1xihVnFibqIlWTcn+ERGMvWPaicMBO4Pib/Rt3VFkLpHoKl62uxZ b6TcW3jAhWD09VD+qlpa2wwDUXGS7ynTUimx0AAJYasFvGJPt5wnJpYcQLQW2pgYqcjs 3qABZwR5uLwIuOblR4HHy6a15lQopDpmpgBR2depuKv/ubA55//8bPgbyQVs50judArT UTpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=c8qGvmpMzK9uQFAJCGTa3wL4dIr6OpaY4SFXklZRZJY=; b=n/Zx8QCb7YhMJMp75hfmKk3x1nZZ8Wdk2y/YOZtChmjSbIskhthMHw98teBpg0mxpz r0Ag9jkt4+kUUWnY7E+mEcow/SINcy36GsVS5HJHYgYfBT95KE9JlclqmKYhFTPNR3cI +KOV+jmR7EMw18UBmfFii8GeieGRvoOiymZZuzsnNw90RrwBkLxN4xlPPUEG3Ro3V/NV 3l4SeG1jWGXKJl2poVOLs100N+yGL23Dt8QCOFuXrI2Ncm9tdR1IzOmfBgpcjecWIk1Q ofZetP/zZjg+bVVkhOriiz1mYYvxNmIlzAnn2U1uj8cruKvpJrW5vFU7H//gDnvne9Pm KK/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cfJxzqZf; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d8-20020a056a00198800b0055475257adasi16788771pfl.142.2022.09.26.04.07.06; Mon, 26 Sep 2022 04:07:40 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cfJxzqZf; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234153AbiIZJsP (ORCPT + 99 others); Mon, 26 Sep 2022 05:48:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234058AbiIZJrf (ORCPT ); Mon, 26 Sep 2022 05:47:35 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27A8210F6 for ; Mon, 26 Sep 2022 02:47:12 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C5980B80835 for ; Mon, 26 Sep 2022 09:47:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 57A24C433C1; Mon, 26 Sep 2022 09:47:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664185629; bh=8xLc9Jif8RGEMCtgB+VC2cSdX4vlVBUss1vrHW2eBb0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cfJxzqZf84aR/mjLTUgTIxo2o/wXWjOirG23mUZ8lG/Q3Ha4dFytBF1sdY9TD1FeI vWgD6oBxMLPZPs3rpf9HOKbDoEtUIRqgJIro82eti7gu+ssVeCspGRSHf3EI4gV/vn GGHQTajn3dx9VvGzizl4CPvTKF3Z66FfxyNW1Orq/0TuHbHH9OKQHrQkF58CrN+01H oN0jmMflfAh9wbYGMSXCfwKybtEYPTZDG5tYN1xUz4dZzYbH7vHPmXDiuVxgdBhnzr 1E8Thj/3COxaj7ECKE+06Srm4iphrY/dLtjtXfFRM5fOJU+8vMOZi+CQw/DQQprQlX Eh/apLml3VWOg== Received: by pali.im (Postfix) id 585CD8A3; Mon, 26 Sep 2022 11:47:06 +0200 (CEST) Date: Mon, 26 Sep 2022 11:47:06 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Christophe Leroy Cc: Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Scott Wood , Sinan Akman , "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 2/7] powerpc/85xx: Mark mpc85xx_ds_pic_init() as static Message-ID: <20220926094706.km22rqzuuulvfssq@pali> References: <20220819191557.28116-1-pali@kernel.org> <20220819191557.28116-3-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 On Monday 26 September 2022 09:43:55 Christophe Leroy wrote: > Le 19/08/2022 à 21:15, Pali Rohár a écrit : > > Function mpc85xx_ds_pic_init() is not used out of the mpc85xx_ds.c file. > > > > Signed-off-by: Pali Rohár > > This patch should be squashed into patch 1. No problem. Just to explain that I split those changes into different patches because they touch different files and different board code. And I thought that different things should be in different patches. > > --- > > arch/powerpc/platforms/85xx/mpc85xx_ds.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/powerpc/platforms/85xx/mpc85xx_ds.c b/arch/powerpc/platforms/85xx/mpc85xx_ds.c > > index f8d2c97f39bd..9a6d637ef54a 100644 > > --- a/arch/powerpc/platforms/85xx/mpc85xx_ds.c > > +++ b/arch/powerpc/platforms/85xx/mpc85xx_ds.c > > @@ -54,7 +54,7 @@ static void mpc85xx_8259_cascade(struct irq_desc *desc) > > } > > #endif /* CONFIG_PPC_I8259 */ > > > > -void __init mpc85xx_ds_pic_init(void) > > +static void __init mpc85xx_ds_pic_init(void) > > { > > struct mpic *mpic; > > #ifdef CONFIG_PPC_I8259