Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp708833ybx; Wed, 30 Oct 2019 03:53:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqx4i00/sLfPGteJySFkv2J7dgPfB2HJXSnLTsCohbed9XVfrspKlF57DgKGtWd5Kb7/tfVS X-Received: by 2002:a05:6402:21e8:: with SMTP id ce8mr31120766edb.32.1572432788350; Wed, 30 Oct 2019 03:53:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572432788; cv=none; d=google.com; s=arc-20160816; b=ujD2saHx7T3yF42v8wFK92DUVm8ADAN76O9z/90Sw3ocaw84xjjKbj7lQIXLCE50+4 jMN1WA1UWIG1TTOiGaIRSIT8hHe48Piysp6+d30lyWqUI0AOc7MvpZQF9tQb1CYBkJFQ oAAxZtHNQcHQrtGukTxYFI/Xv5HYEz/Q886AaYUiFcc6luROCcYlq44Ir0C4c9Vf7Sl3 KX7u3BEMALQcs8TTgqNhilOUjJHtmHxvSBJIdTtf6GZ+VyG8TU889SedOdYvk4haj20M 0Y+mNa8h7XJ+LwdrO94olCUGAGNljqxg5/oYBfLMurcwefwqERpvGhO5GCDl1C4JyFeT Vx+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=yUF2yaRPDVt2MHQzuOd+5u8GS8OOZX8ob6V4sZYv3T8=; b=jczy4Bp1nn7I21EfOY5PPTPW1jjjcD5ypFJf9qjL/Lu0B38QF76Dy2V+/0SzI7/VNw H1CJeyp5fDMfyJA/0+WvMRv/51p+4dZkazkZekQJlAFU7TiBajcSXOs90XQAZpnBZljA oiEcFD+0+sPTkpGKMMLOlikzTrek4ToJu3qcqq55Z8KRAeRWRdf5C0B5N1z9hlXenaDQ 9kcR3k+GzQqALA/cJ76gHD3KmWrUJkFkxC3ZvukCX2BiCcj2p02OVqzBLvoVTgIWc6eO SeZllVeRyc4NdZt+MjNP702hCzJ+EBxXs6zSa/JsTMxr6AKFRLrwCwf34KVWiP4utwIn 3lQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=cIOSJZ+p; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b34si1210349edc.74.2019.10.30.03.52.44; Wed, 30 Oct 2019 03:53:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=cIOSJZ+p; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726878AbfJ3Kuz (ORCPT + 99 others); Wed, 30 Oct 2019 06:50:55 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:17220 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726096AbfJ3Kuz (ORCPT ); Wed, 30 Oct 2019 06:50:55 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4734xS2QKVz9vC12; Wed, 30 Oct 2019 11:50:52 +0100 (CET) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=cIOSJZ+p; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id C5E8cMKl0Hpk; Wed, 30 Oct 2019 11:50:52 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 4734xS1MC8z9tyjM; Wed, 30 Oct 2019 11:50:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1572432652; bh=yUF2yaRPDVt2MHQzuOd+5u8GS8OOZX8ob6V4sZYv3T8=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=cIOSJZ+pZAZWHOzkDLlgrmQ+931Y5RSXG+7R/vb9ZS335oBTpGfI+B5occqw4GVug I4zSE7RoIlqWzDcHogHfXQuGRoNNOCgobcFwuDY8ZJ6GTgyelHgI5abDWX7mdF9cIZ U9bvG6ippiZFIITdnFAj2p2/GRafJ8CgbcnzpKcw= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 19F978B875; Wed, 30 Oct 2019 11:50:53 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id zdibLVy7pdhC; Wed, 30 Oct 2019 11:50:53 +0100 (CET) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 8D6088B7C7; Wed, 30 Oct 2019 11:50:50 +0100 (CET) Subject: Re: [PATCH v2 17/23] soc: fsl: qe: make qe_ic_cascade_* static To: Rasmus Villemoes , Qiang Zhao , Li Yang Cc: linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Scott Wood , Valentin Longchamp References: <20191018125234.21825-1-linux@rasmusvillemoes.dk> <20191025124058.22580-1-linux@rasmusvillemoes.dk> <20191025124058.22580-18-linux@rasmusvillemoes.dk> From: Christophe Leroy Message-ID: <1d12e0d1-a873-d841-6e73-22ec1d09c268@c-s.fr> Date: Wed, 30 Oct 2019 11:50:50 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191025124058.22580-18-linux@rasmusvillemoes.dk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 25/10/2019 à 14:40, Rasmus Villemoes a écrit : > Now that the references from arch/powerpc/ are gone, these are only > referenced from inside qe_ic.c, so make them static. Why do that in two steps ? I think patch 9 could remain until here, and then you could squash patch 9 and patch 17 together here. Christophe > > Signed-off-by: Rasmus Villemoes > --- > drivers/soc/fsl/qe/qe_ic.c | 6 +++--- > include/soc/fsl/qe/qe_ic.h | 4 ---- > 2 files changed, 3 insertions(+), 7 deletions(-) > > diff --git a/drivers/soc/fsl/qe/qe_ic.c b/drivers/soc/fsl/qe/qe_ic.c > index 545eb67094d1..e20f1205c0df 100644 > --- a/drivers/soc/fsl/qe/qe_ic.c > +++ b/drivers/soc/fsl/qe/qe_ic.c > @@ -402,7 +402,7 @@ unsigned int qe_ic_get_high_irq(struct qe_ic *qe_ic) > return irq_linear_revmap(qe_ic->irqhost, irq); > } > > -void qe_ic_cascade_low(struct irq_desc *desc) > +static void qe_ic_cascade_low(struct irq_desc *desc) > { > struct qe_ic *qe_ic = irq_desc_get_handler_data(desc); > unsigned int cascade_irq = qe_ic_get_low_irq(qe_ic); > @@ -415,7 +415,7 @@ void qe_ic_cascade_low(struct irq_desc *desc) > chip->irq_eoi(&desc->irq_data); > } > > -void qe_ic_cascade_high(struct irq_desc *desc) > +static void qe_ic_cascade_high(struct irq_desc *desc) > { > struct qe_ic *qe_ic = irq_desc_get_handler_data(desc); > unsigned int cascade_irq = qe_ic_get_high_irq(qe_ic); > @@ -428,7 +428,7 @@ void qe_ic_cascade_high(struct irq_desc *desc) > chip->irq_eoi(&desc->irq_data); > } > > -void qe_ic_cascade_muxed_mpic(struct irq_desc *desc) > +static void qe_ic_cascade_muxed_mpic(struct irq_desc *desc) > { > struct qe_ic *qe_ic = irq_desc_get_handler_data(desc); > unsigned int cascade_irq; > diff --git a/include/soc/fsl/qe/qe_ic.h b/include/soc/fsl/qe/qe_ic.h > index 8ec21a3bd859..43e4ce95c6a0 100644 > --- a/include/soc/fsl/qe/qe_ic.h > +++ b/include/soc/fsl/qe/qe_ic.h > @@ -67,8 +67,4 @@ void qe_ic_set_highest_priority(unsigned int virq, int high); > int qe_ic_set_priority(unsigned int virq, unsigned int priority); > int qe_ic_set_high_priority(unsigned int virq, unsigned int priority, int high); > > -void qe_ic_cascade_low(struct irq_desc *desc); > -void qe_ic_cascade_high(struct irq_desc *desc); > -void qe_ic_cascade_muxed_mpic(struct irq_desc *desc); > - > #endif /* _ASM_POWERPC_QE_IC_H */ >