Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1490922 > unrolled thread

[PATCH -next] genirq: Make function __irq_do_set_handler() static

Started byWei Yongjun <weiyj.lk@gmail.com>
First post2016-09-25 17:40 +0200
Last post2016-09-25 23:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH -next] genirq: Make function __irq_do_set_handler() static Wei Yongjun <weiyj.lk@gmail.com> - 2016-09-25 17:40 +0200
    [tip:irq/core] genirq: Make function __irq_do_set_handler() static tip-bot for Wei Yongjun <tipbot@zytor.com> - 2016-09-25 23:00 +0200

#1490922 — [PATCH -next] genirq: Make function __irq_do_set_handler() static

FromWei Yongjun <weiyj.lk@gmail.com>
Date2016-09-25 17:40 +0200
Subject[PATCH -next] genirq: Make function __irq_do_set_handler() static
Message-ID<sljH3-8lk-11@gated-at.bofh.it>
From: Wei Yongjun <weiyongjun1@huawei.com>

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 <weiyongjun1@huawei.com>
---
 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)
 {

[toc] | [next] | [standalone]


#1490969 — [tip:irq/core] genirq: Make function __irq_do_set_handler() static

Fromtip-bot for Wei Yongjun <tipbot@zytor.com>
Date2016-09-25 23:00 +0200
Subject[tip:irq/core] genirq: Make function __irq_do_set_handler() static
Message-ID<sloGJ-2SM-1@gated-at.bofh.it>
In reply to#1490922
Commit-ID:  b8129a1f6aaaca02d92186acf19ceb545b4b489a
Gitweb:     http://git.kernel.org/tip/b8129a1f6aaaca02d92186acf19ceb545b4b489a
Author:     Wei Yongjun <weiyongjun1@huawei.com>
AuthorDate: Sun, 25 Sep 2016 15:36:39 +0000
Committer:  Thomas Gleixner <tglx@linutronix.de>
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 <weiyongjun1@huawei.com>
Link: http://lkml.kernel.org/r/1474817799-18676-1-git-send-email-weiyj.lk@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
 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)
 {

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web