* [PATCH] fix a warning on drivers/mtd/nand/cafe_nand.c
@ 2009-04-10 12:35 Zhenwen Xu
0 siblings, 0 replies; 3+ messages in thread
From: Zhenwen Xu @ 2009-04-10 12:35 UTC (permalink / raw)
To: linux-mtd
Signed-off-by: Zhenwen Xu <helight.xu@gmail.com>
---
drivers/mtd/nand/cafe_nand.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/nand/cafe_nand.c b/drivers/mtd/nand/cafe_nand.c
index 7c5b257..29acd06 100644
--- a/drivers/mtd/nand/cafe_nand.c
+++ b/drivers/mtd/nand/cafe_nand.c
@@ -332,7 +332,7 @@ static void cafe_select_chip(struct mtd_info *mtd, int chipnr)
cafe->ctl1 &= ~CTRL1_CHIPSELECT;
}
-static int cafe_nand_interrupt(int irq, void *id)
+static irqreturn_t cafe_nand_interrupt(int irq, void *id)
{
struct mtd_info *mtd = id;
struct cafe_priv *cafe = mtd->priv;
--
1.5.6.5
--
---------------------------------
Zhenwen Xu - Open and Free
Home Page: http://zhwen.org
My Studio: http://dim4.cn
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH]fix a warning on drivers/mtd/nand/cafe_nand.c
@ 2009-04-10 12:42 Zhenwen Xu
2009-04-17 7:26 ` Artem Bityutskiy
0 siblings, 1 reply; 3+ messages in thread
From: Zhenwen Xu @ 2009-04-10 12:42 UTC (permalink / raw)
To: linux-kernel; +Cc: kyungmin.park, linux-mtd
fix this warning:
drivers/mtd/nand/cafe_nand.c: In function ‘cafe_nand_probe’:
drivers/mtd/nand/cafe_nand.c:730: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
>From 8f877dd15fedd434e2f5d95a1bc5f4e528dc4528 Mon Sep 17 00:00:00 2001
From: Zhenwen Xu <Helight.Xu@gmail.com>
Date: Fri, 10 Apr 2009 20:35:30 +0800
Subject: [PATCH] fix a warning on drivers/mtd/nand/cafe_nand.c
Signed-off-by: Zhenwen Xu <helight.xu@gmail.com>
---
drivers/mtd/nand/cafe_nand.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/nand/cafe_nand.c b/drivers/mtd/nand/cafe_nand.c
index 7c5b257..29acd06 100644
--- a/drivers/mtd/nand/cafe_nand.c
+++ b/drivers/mtd/nand/cafe_nand.c
@@ -332,7 +332,7 @@ static void cafe_select_chip(struct mtd_info *mtd, int chipnr)
cafe->ctl1 &= ~CTRL1_CHIPSELECT;
}
-static int cafe_nand_interrupt(int irq, void *id)
+static irqreturn_t cafe_nand_interrupt(int irq, void *id)
{
struct mtd_info *mtd = id;
struct cafe_priv *cafe = mtd->priv;
--
1.5.6.5
--
---------------------------------
Zhenwen Xu - Open and Free
Home Page: http://zhwen.org
My Studio: http://dim4.cn
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH]fix a warning on drivers/mtd/nand/cafe_nand.c
2009-04-10 12:42 [PATCH]fix a warning on drivers/mtd/nand/cafe_nand.c Zhenwen Xu
@ 2009-04-17 7:26 ` Artem Bityutskiy
0 siblings, 0 replies; 3+ messages in thread
From: Artem Bityutskiy @ 2009-04-17 7:26 UTC (permalink / raw)
To: Zhenwen Xu; +Cc: kyungmin.park, linux-mtd, linux-kernel
On Fri, 2009-04-10 at 20:42 +0800, Zhenwen Xu wrote:
> fix this warning:
>
> drivers/mtd/nand/cafe_nand.c: In function ‘cafe_nand_probe’:
> drivers/mtd/nand/cafe_nand.c:730: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
>
>
> From 8f877dd15fedd434e2f5d95a1bc5f4e528dc4528 Mon Sep 17 00:00:00 2001
> From: Zhenwen Xu <Helight.Xu@gmail.com>
> Date: Fri, 10 Apr 2009 20:35:30 +0800
> Subject: [PATCH] fix a warning on drivers/mtd/nand/cafe_nand.c
>
> Signed-off-by: Zhenwen Xu <helight.xu@gmail.com>
> ---
> drivers/mtd/nand/cafe_nand.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Pushed, to l2-mtd-2.6.git. This does not guarantee anything,
it just mean I'll ping dwmw2 to pull from that tree.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-04-17 7:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-10 12:42 [PATCH]fix a warning on drivers/mtd/nand/cafe_nand.c Zhenwen Xu
2009-04-17 7:26 ` Artem Bityutskiy
-- strict thread matches above, loose matches on Subject: below --
2009-04-10 12:35 [PATCH] fix " Zhenwen Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).