From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752714AbdHNKO5 (ORCPT ); Mon, 14 Aug 2017 06:14:57 -0400 Received: from terminus.zytor.com ([65.50.211.136]:42815 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752109AbdHNKO4 (ORCPT ); Mon, 14 Aug 2017 06:14:56 -0400 Date: Mon, 14 Aug 2017 03:12:40 -0700 From: tip-bot for Masahiro Yamada Message-ID: Cc: marc.zyngier@arm.com, tglx@linutronix.de, mingo@kernel.org, jason@lakedaemon.net, linux-kernel@vger.kernel.org, daniel.lezcano@linaro.org, hpa@zytor.com, yamada.masahiro@socionext.com Reply-To: hpa@zytor.com, yamada.masahiro@socionext.com, daniel.lezcano@linaro.org, linux-kernel@vger.kernel.org, jason@lakedaemon.net, mingo@kernel.org, tglx@linutronix.de, marc.zyngier@arm.com In-Reply-To: <1502260341-28184-1-git-send-email-yamada.masahiro@socionext.com> References: <1502260341-28184-1-git-send-email-yamada.masahiro@socionext.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:irq/core] genirq: Fix for_each_action_of_desc() macro Git-Commit-ID: 163616cf2f6ab7a8e37452ec00320039ab65bd45 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: 163616cf2f6ab7a8e37452ec00320039ab65bd45 Gitweb: http://git.kernel.org/tip/163616cf2f6ab7a8e37452ec00320039ab65bd45 Author: Masahiro Yamada AuthorDate: Wed, 9 Aug 2017 15:32:21 +0900 Committer: Thomas Gleixner 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 Signed-off-by: Thomas Gleixner Cc: Marc Zyngier Cc: Daniel Lezcano Cc: Jason Cooper 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,