[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20081201115811.817E.KOSAKI.MOTOHIRO@jp.fujitsu.com>
Date: Mon, 1 Dec 2008 12:04:18 +0900 (JST)
From: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To: Rusty Russell <rusty@...tcorp.com.au>,
Mike Travis <travis@....com>,
"Luck, Tony" <tony.luck@...el.com>,
LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-ia64 <linux-ia64@...r.kernel.org>
Cc: kosaki.motohiro@...fujitsu.com
Subject: [mmotm][PATCH] fix arch/ia64/kernel/msi_ia64.c warning
fix following warning.
arch/ia64/kernel/msi_ia64.c:145: warning: initialization from incompatible pointer type
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
CC: Rusty Russell <rusty@...tcorp.com.au>
CC: Mike Travis <travis@....com>
CC: "Luck, Tony" <tony.luck@...el.com>
---
arch/ia64/kernel/msi_ia64.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Index: b/arch/ia64/kernel/msi_ia64.c
===================================================================
--- a/arch/ia64/kernel/msi_ia64.c
+++ b/arch/ia64/kernel/msi_ia64.c
@@ -49,11 +49,12 @@
static struct irq_chip ia64_msi_chip;
#ifdef CONFIG_SMP
-static void ia64_set_msi_irq_affinity(unsigned int irq, cpumask_t cpu_mask)
+static void ia64_set_msi_irq_affinity(unsigned int irq,
+ const cpumask_t *cpu_mask)
{
struct msi_msg msg;
u32 addr, data;
- int cpu = first_cpu(cpu_mask);
+ int cpu = first_cpu(*cpu_mask);
if (!cpu_online(cpu))
return;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists