Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp444685ybz; Fri, 17 Apr 2020 04:08:53 -0700 (PDT) X-Google-Smtp-Source: APiQypKLmmQQSHTKtRsvrPR9QCID2Xlidn2LZieG8Fbc7m5qBLlBbxEdM2Zpqb/8aKoBetb242Lk X-Received: by 2002:aa7:d4d3:: with SMTP id t19mr2298399edr.144.1587121733642; Fri, 17 Apr 2020 04:08:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587121733; cv=none; d=google.com; s=arc-20160816; b=Wg0sfYw9QeS3dC3S+85k7xW+lMzuaJ1uSmDhKaH48t1hk9W6bhSRhHn7Q5FM8nQ6HB u9+XeCOE4pM7pi++3OsvlF12DU1VlG7obTv1w8EtfzjUCs22dco9ZNqKLjE126VHbKlL 4ygGGcsaDR9lH/2U/mARta7q+rtUyr+ZtBYgZAK3hzbdPTrna8utPalfw0UAzNLg+fng tuekPDzFj7SCQHuylOdzL0SRDi1CSP4Df5CsQhyPE4zN8zrTL2WD86wXzcD2Y9CeC3bP 3g7Menui/U53p600sx+nEP2GAQc/oJX/YrHrmK3V9rfC+y9aHi3NIooMWGatx9EVMYxa Yf0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=8h2F0prm/or06ALdeHNNK85jTEQjrl5y2WdefTugFD8=; b=haRq5vicEa8oUIGXcjjp5x1eqDZdnB7njWEoVws+7RwR+veR8fsYe92RgzGnD6RuWm zdCM++RXYFtVBn+EClZrZvGD26TDq3PKy5ln6mEPhpBGRI1ctvPbG2hWAk+JX3Z0cmqr 8eHq3ShyrLMbbali4rSpScNez7uGoYyiivvTBNZgGjb2dDlAxyM+EpnSpmHi3eUBKBcv cO84+5AAg/NkVBZpFGuT+ieg3WUBxQWF/dfy//IAr1X9oUF/c5Ca7p7vd+mDt+BWxIlB +Nc7XbZuiXD2vlY7FX+MqJzrL0FgIbQQdo0BXsB43CKDrfApc3CqhDJGhRZi5VgNLKCR LyLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=o3t5BLyk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n1si2650819edo.354.2020.04.17.04.08.30; Fri, 17 Apr 2020 04:08:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=o3t5BLyk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1729942AbgDQLHY (ORCPT + 99 others); Fri, 17 Apr 2020 07:07:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:38318 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729468AbgDQLHX (ORCPT ); Fri, 17 Apr 2020 07:07:23 -0400 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0E3CB208E4; Fri, 17 Apr 2020 11:07:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587121643; bh=DmgltjBK4QKApIxoMn7dgc25Veb7MiJLv9jXdkjAQro=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=o3t5BLykt3O4YtNk20NOWGLDpJz8/j148eKWCx1KIcJh6qhiCzQYwkRo/qgIGsssN BBM2O815lkk6xpvScuEtaiWsA3ptDdyvFKZV+7PEgdM3uWG4sJQZT/PhMNeuq+iXe1 whUXkJziBI0uti6u3IpoNeVK9HgFLXXBGQM/Cw6E= Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jPOq9-0049ii-EA; Fri, 17 Apr 2020 12:07:21 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 17 Apr 2020 12:07:21 +0100 From: Marc Zyngier To: Jason Yan Cc: Sergei Shtylyov , f.fainelli@gmail.com, tglx@linutronix.de, jason@lakedaemon.net, justinpopo6@gmail.com, bcm-kernel-feedback-list@broadcom.com, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Hulk Robot Subject: Re: [PATCH] irqchip/irq-bcm7038-l1: make bcm7038_l1_of_init() static In-Reply-To: References: <20200417074036.46594-1-yanaijie@huawei.com> Message-ID: X-Sender: maz@kernel.org User-Agent: Roundcube Webmail/1.3.10 X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: yanaijie@huawei.com, sergei.shtylyov@cogentembedded.com, f.fainelli@gmail.com, tglx@linutronix.de, jason@lakedaemon.net, justinpopo6@gmail.com, bcm-kernel-feedback-list@broadcom.com, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, hulkci@huawei.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-04-17 11:56, Jason Yan wrote: > 在 2020/4/17 18:26, Sergei Shtylyov 写道: >> Hello! >> >> On 17.04.2020 10:40, Jason Yan wrote: >> >>> Fix the following sparse warning: >>> >>> drivers/irqchip/irq-bcm7038-l1.c:419:12: warning: symbol >>> 'bcm7038_l1_of_init' was not declared. Should it be static? >>> >>> Reported-by: Hulk Robot >>> Signed-off-by: Jason Yan >>> --- >>>   drivers/irqchip/irq-bcm7038-l1.c | 2 +- >>>   1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/drivers/irqchip/irq-bcm7038-l1.c >>> b/drivers/irqchip/irq-bcm7038-l1.c >>> index eb9bce93cd05..fd7c537fb42a 100644 >>> --- a/drivers/irqchip/irq-bcm7038-l1.c >>> +++ b/drivers/irqchip/irq-bcm7038-l1.c >>> @@ -416,7 +416,7 @@ static const struct irq_domain_ops >>> bcm7038_l1_domain_ops = { >>>       .map            = bcm7038_l1_map, >>>   }; >>> -int __init bcm7038_l1_of_init(struct device_node *dn, >>> +static int __init bcm7038_l1_of_init(struct device_node *dn, >>>                     struct device_node *parent) >> >>    Reindent the above line please, it should start under *struct* on >> the 1st line. > > OK, will cook a new one. Please don't bother. I've picked the patch already, and it is on its way to Linus. Thanks, M. -- Jazz is not dead. It just smells funny...