* [PATCH]fix a warning on drivers/scsi/NCR_D700.c
@ 2009-04-18 10:36 ` Zhenwen Xu
0 siblings, 0 replies; 2+ messages in thread
From: Zhenwen Xu @ 2009-04-18 10:36 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-scsi, James.Bottomley
fix this warning:
drivers/scsi/NCR_D700.c: In function ‘NCR_D700_probe’:
drivers/scsi/NCR_D700.c:322: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
drivers/scsi/NCR_D700.c:322: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
drivers/scsi/NCR_D700.c:322: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
Signed-off-by: Zhenwen Xu <helight.xu@gmail.com>
---
drivers/scsi/NCR_D700.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/NCR_D700.c b/drivers/scsi/NCR_D700.c
index c889d84..1cdf09a 100644
--- a/drivers/scsi/NCR_D700.c
+++ b/drivers/scsi/NCR_D700.c
@@ -224,7 +224,7 @@ NCR_D700_probe_one(struct NCR_D700_private *p, int siop, int irq,
return ret;
}
-static int
+static irqreturn_t
NCR_D700_intr(int irq, void *data)
{
struct NCR_D700_private *p = (struct NCR_D700_private *)data;
--
1.5.6.5
--
---------------------------------
Zhenwen Xu - Open and Free
Home Page: http://zhwen.org
My Studio: http://dim4.cn
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH]fix a warning on drivers/scsi/NCR_D700.c
@ 2009-04-18 10:36 ` Zhenwen Xu
0 siblings, 0 replies; 2+ messages in thread
From: Zhenwen Xu @ 2009-04-18 10:36 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-scsi, James.Bottomley
fix this warning:
drivers/scsi/NCR_D700.c: In function ‘NCR_D700_probe’:
drivers/scsi/NCR_D700.c:322: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
drivers/scsi/NCR_D700.c:322: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
drivers/scsi/NCR_D700.c:322: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
Signed-off-by: Zhenwen Xu <helight.xu@gmail.com>
---
drivers/scsi/NCR_D700.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/NCR_D700.c b/drivers/scsi/NCR_D700.c
index c889d84..1cdf09a 100644
--- a/drivers/scsi/NCR_D700.c
+++ b/drivers/scsi/NCR_D700.c
@@ -224,7 +224,7 @@ NCR_D700_probe_one(struct NCR_D700_private *p, int siop, int irq,
return ret;
}
-static int
+static irqreturn_t
NCR_D700_intr(int irq, void *data)
{
struct NCR_D700_private *p = (struct NCR_D700_private *)data;
--
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] 2+ messages in thread
end of thread, other threads:[~2009-04-18 10:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-18 10:36 [PATCH]fix a warning on drivers/scsi/NCR_D700.c Zhenwen Xu
2009-04-18 10:36 ` Zhenwen Xu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.