drivers/scsi/NCR_D700.c: fix IRQ handler return type
PATCH 1/1 drivers/scsi/NCR_D700.c: fix IRQ handler return type
From: Zhenwen Xu <[email protected]>
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
---
drivers/scsi/NCR_D700.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/NCR_D700.c renamed from drivers/scsi/NCR_D700.c~drivers-scsi-ncr_d700c-fix-irq-handler-return-type +1 -1
@@ -224,7 +224,7 @@ NCR_D700_probe_one(struct NCR_D700_privareturn ret; } -static int +static irqreturn_t NCR_D700_intr (int irq,void *data) {struct NCR_D700_private *p = (struct NCR_D700_private *)data;
_
Quoted 6 lines · On Tue, May 12, 2009 at 01:29:13PM -0700, [email protected] wrote:
From: Zhenwen Xu <[email protected]>
drivers/scsi/NCR_D700.c: In function `NCR_D700_probe':drivers/scsi/NCR_D700.c:322: warning: passing argument 2 ofrequest_irq' from incompatible pointer type drivers/scsi/NCR_D700.c:322: warning: passing argument 2 ofrequest_irq' from incompatible pointer typedrivers/scsi/NCR_D700.c:322: warning: passing argument 2 of `request_irq' from incompatible pointer type
Yes, this patch is made for 2.6.30.
Quoted 22 lines
Signed-off-by Zhenwen Xu <[email protected]>Cc James Bottomley <[email protected]>Signed-off-by Andrew Morton <[email protected]>---
drivers/scsi/NCR_D700.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)diff -puN
drivers/scsi/NCR_D700.c~drivers-scsi-ncr_d700c-fix-irq-handler-return-typedrivers/scsi/NCR_D700.cdrivers/scsi/NCR_D700.c renamed from drivers/scsi/NCR_D700.c~drivers-scsi-ncr_d700c-fix-irq-handler-return-type +1
-1@@ -224,7 +224,7 @@ NCR_D700_probe_one(struct NCR_D700_privareturn ret; } -static int +static irqreturn_t NCR_D700_intr (int irq,void *data) {struct NCR_D700_private *p = (struct NCR_D700_private *)data;_
Signature · 2 lines
-------------------------------- http://zhwen.org - Open and Free