* [PATCH] twl4030: Fix warning
@ 2009-11-17 15:48 Alan Cox
2009-11-20 9:24 ` Samuel Ortiz
0 siblings, 1 reply; 2+ messages in thread
From: Alan Cox @ 2009-11-17 15:48 UTC (permalink / raw)
To: linux-kernel, sameo
Signed-off-by: Alan Cox <alan@linux.intel.com>
---
drivers/mfd/twl4030-irq.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/mfd/twl4030-irq.c b/drivers/mfd/twl4030-irq.c
index fb194fe..c78b5ad 100644
--- a/drivers/mfd/twl4030-irq.c
+++ b/drivers/mfd/twl4030-irq.c
@@ -728,7 +728,8 @@ int twl_init_irq(int irq_num, unsigned irq_base, unsigned irq_end)
goto fail_rqirq;
}
- task = kthread_run(twl4030_irq_thread, (void *)irq_num, "twl4030-irq");
+ task = kthread_run(twl4030_irq_thread, (void *)(long)irq_num,
+ "twl4030-irq");
if (IS_ERR(task)) {
pr_err("twl4030: could not create irq %d thread!\n", irq_num);
status = PTR_ERR(task);
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] twl4030: Fix warning
2009-11-17 15:48 [PATCH] twl4030: Fix warning Alan Cox
@ 2009-11-20 9:24 ` Samuel Ortiz
0 siblings, 0 replies; 2+ messages in thread
From: Samuel Ortiz @ 2009-11-20 9:24 UTC (permalink / raw)
To: Alan Cox; +Cc: linux-kernel
On Tue, Nov 17, 2009 at 03:48:47PM +0000, Alan Cox wrote:
> Signed-off-by: Alan Cox <alan@linux.intel.com>
Applied, thanks Alan.
Cheers,
Samuel.
> ---
>
> drivers/mfd/twl4030-irq.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
>
> diff --git a/drivers/mfd/twl4030-irq.c b/drivers/mfd/twl4030-irq.c
> index fb194fe..c78b5ad 100644
> --- a/drivers/mfd/twl4030-irq.c
> +++ b/drivers/mfd/twl4030-irq.c
> @@ -728,7 +728,8 @@ int twl_init_irq(int irq_num, unsigned irq_base, unsigned irq_end)
> goto fail_rqirq;
> }
>
> - task = kthread_run(twl4030_irq_thread, (void *)irq_num, "twl4030-irq");
> + task = kthread_run(twl4030_irq_thread, (void *)(long)irq_num,
> + "twl4030-irq");
> if (IS_ERR(task)) {
> pr_err("twl4030: could not create irq %d thread!\n", irq_num);
> status = PTR_ERR(task);
>
--
Intel Open Source Technology Centre
http://oss.intel.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-20 9:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-17 15:48 [PATCH] twl4030: Fix warning Alan Cox
2009-11-20 9:24 ` Samuel Ortiz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox