From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1034582AbcIYUwI (ORCPT ); Sun, 25 Sep 2016 16:52:08 -0400 Received: from terminus.zytor.com ([198.137.202.10]:54542 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1034191AbcIYUwG (ORCPT ); Sun, 25 Sep 2016 16:52:06 -0400 Date: Sun, 25 Sep 2016 13:51:51 -0700 From: tip-bot for Wei Yongjun Message-ID: Cc: tglx@linutronix.de, mingo@kernel.org, hpa@zytor.com, weiyongjun1@huawei.com, linux-kernel@vger.kernel.org Reply-To: hpa@zytor.com, weiyongjun1@huawei.com, linux-kernel@vger.kernel.org, mingo@kernel.org, tglx@linutronix.de In-Reply-To: <1474817799-18676-1-git-send-email-weiyj.lk@gmail.com> References: <1474817799-18676-1-git-send-email-weiyj.lk@gmail.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:irq/core] genirq: Make function __irq_do_set_handler() static Git-Commit-ID: b8129a1f6aaaca02d92186acf19ceb545b4b489a X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: b8129a1f6aaaca02d92186acf19ceb545b4b489a Gitweb: http://git.kernel.org/tip/b8129a1f6aaaca02d92186acf19ceb545b4b489a Author: Wei Yongjun AuthorDate: Sun, 25 Sep 2016 15:36:39 +0000 Committer: Thomas Gleixner CommitDate: Sun, 25 Sep 2016 16:46:52 -0400 genirq: Make function __irq_do_set_handler() static Fixes the following sparse warning: kernel/irq/chip.c:786:1: warning: symbol '__irq_do_set_handler' was not declared. Should it be static? Signed-off-by: Wei Yongjun Link: http://lkml.kernel.org/r/1474817799-18676-1-git-send-email-weiyj.lk@gmail.com Signed-off-by: Thomas Gleixner --- kernel/irq/chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index d8dfdc6..be3c34e 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -782,7 +782,7 @@ void handle_percpu_devid_irq(struct irq_desc *desc) chip->irq_eoi(&desc->irq_data); } -void +static void __irq_do_set_handler(struct irq_desc *desc, irq_flow_handler_t handle, int is_chained, const char *name) {