* [PATCH] genirq: fix for_each_action_of_desc() macro
@ 2017-08-09 6:32 Masahiro Yamada
2017-08-14 10:11 ` Daniel Lezcano
2017-08-14 10:12 ` [tip:irq/core] genirq: Fix " tip-bot for Masahiro Yamada
0 siblings, 2 replies; 3+ messages in thread
From: Masahiro Yamada @ 2017-08-09 6:32 UTC (permalink / raw)
To: Thomas Gleixner
Cc: Daniel Lezcano, Jason Cooper, Marc Zyngier, linux-kernel,
Masahiro Yamada
struct irq_desc does not have a member named "act". The correct
name is "action".
Currently, all users of this macro use an iterator named "action".
If a different name is used, it will cause a build error.
Fixes: f944b5a7aff0 ("genirq: Use a common macro to go through the actions list")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
kernel/irq/internals.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h
index a2c48058354c..a4aa39009f0d 100644
--- a/kernel/irq/internals.h
+++ b/kernel/irq/internals.h
@@ -151,7 +151,7 @@ static inline void chip_bus_sync_unlock(struct irq_desc *desc)
#define IRQ_GET_DESC_CHECK_PERCPU (_IRQ_DESC_CHECK | _IRQ_DESC_PERCPU)
#define for_each_action_of_desc(desc, act) \
- for (act = desc->act; act; act = act->next)
+ for (act = desc->action; act; act = act->next)
struct irq_desc *
__irq_get_desc_lock(unsigned int irq, unsigned long *flags, bool bus,
--
2.7.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] genirq: fix for_each_action_of_desc() macro
2017-08-09 6:32 [PATCH] genirq: fix for_each_action_of_desc() macro Masahiro Yamada
@ 2017-08-14 10:11 ` Daniel Lezcano
2017-08-14 10:12 ` [tip:irq/core] genirq: Fix " tip-bot for Masahiro Yamada
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Lezcano @ 2017-08-14 10:11 UTC (permalink / raw)
To: Masahiro Yamada, Thomas Gleixner; +Cc: Jason Cooper, Marc Zyngier, linux-kernel
On 09/08/2017 08:32, Masahiro Yamada wrote:
> struct irq_desc does not have a member named "act". The correct
> name is "action".
>
> Currently, all users of this macro use an iterator named "action".
> If a different name is used, it will cause a build error.
>
> Fixes: f944b5a7aff0 ("genirq: Use a common macro to go through the actions list")
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
^ permalink raw reply [flat|nested] 3+ messages in thread
* [tip:irq/core] genirq: Fix for_each_action_of_desc() macro
2017-08-09 6:32 [PATCH] genirq: fix for_each_action_of_desc() macro Masahiro Yamada
2017-08-14 10:11 ` Daniel Lezcano
@ 2017-08-14 10:12 ` tip-bot for Masahiro Yamada
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Masahiro Yamada @ 2017-08-14 10:12 UTC (permalink / raw)
To: linux-tip-commits
Cc: marc.zyngier, tglx, mingo, jason, linux-kernel, daniel.lezcano,
hpa, yamada.masahiro
Commit-ID: 163616cf2f6ab7a8e37452ec00320039ab65bd45
Gitweb: http://git.kernel.org/tip/163616cf2f6ab7a8e37452ec00320039ab65bd45
Author: Masahiro Yamada <yamada.masahiro@socionext.com>
AuthorDate: Wed, 9 Aug 2017 15:32:21 +0900
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 14 Aug 2017 12:10:37 +0200
genirq: Fix for_each_action_of_desc() macro
struct irq_desc does not have a member named "act". The correct
name is "action".
Currently, all users of this macro use an iterator named "action".
If a different name is used, it will cause a build error.
Fixes: f944b5a7aff0 ("genirq: Use a common macro to go through the actions list")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Jason Cooper <jason@lakedaemon.net>
Link: http://lkml.kernel.org/r/1502260341-28184-1-git-send-email-yamada.masahiro@socionext.com
---
kernel/irq/internals.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h
index a2c4805..a4aa390 100644
--- a/kernel/irq/internals.h
+++ b/kernel/irq/internals.h
@@ -151,7 +151,7 @@ static inline void chip_bus_sync_unlock(struct irq_desc *desc)
#define IRQ_GET_DESC_CHECK_PERCPU (_IRQ_DESC_CHECK | _IRQ_DESC_PERCPU)
#define for_each_action_of_desc(desc, act) \
- for (act = desc->act; act; act = act->next)
+ for (act = desc->action; act; act = act->next)
struct irq_desc *
__irq_get_desc_lock(unsigned int irq, unsigned long *flags, bool bus,
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-08-14 10:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-09 6:32 [PATCH] genirq: fix for_each_action_of_desc() macro Masahiro Yamada
2017-08-14 10:11 ` Daniel Lezcano
2017-08-14 10:12 ` [tip:irq/core] genirq: Fix " tip-bot for Masahiro Yamada
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome