On Tue, May 12, 2009 at 01:29:13PM -0700, akpm@xxxxxxxxxxxxxxxxxxxx wrote: > From: Zhenwen Xu <helight.xu@xxxxxxxxx> > > 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 Yes, this patch is made for 2.6.30. > > Signed-off-by: Zhenwen Xu <helight.xu@xxxxxxxxx> > Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> > Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > --- > > 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-type drivers/scsi/NCR_D700.c > --- a/drivers/scsi/NCR_D700.c~drivers-scsi-ncr_d700c-fix-irq-handler-return-type > +++ a/drivers/scsi/NCR_D700.c > @@ -224,7 +224,7 @@ NCR_D700_probe_one(struct NCR_D700_priva > return ret; > } > > -static int > +static irqreturn_t > NCR_D700_intr(int irq, void *data) > { > struct NCR_D700_private *p = (struct NCR_D700_private *)data; > _ -- -------------------------------- http://zhwen.org - Open and Free -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html