All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch for 2.6.30? 1/1] drivers/scsi/NCR_D700.c: fix IRQ handler return type
@ 2009-05-12 20:29 akpm
  2009-05-13  1:09 ` Zhenwen Xu
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2009-05-12 20:29 UTC (permalink / raw)
  To: James.Bottomley; +Cc: linux-scsi, akpm, helight.xu, James.Bottomley

From: Zhenwen Xu <helight.xu@gmail.com>

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>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 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;
_

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch for 2.6.30? 1/1] drivers/scsi/NCR_D700.c: fix IRQ handler return type
  2009-05-12 20:29 [patch for 2.6.30? 1/1] drivers/scsi/NCR_D700.c: fix IRQ handler return type akpm
@ 2009-05-13  1:09 ` Zhenwen Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Zhenwen Xu @ 2009-05-13  1:09 UTC (permalink / raw)
  To: akpm; +Cc: James.Bottomley, linux-scsi, James.Bottomley

On Tue, May 12, 2009 at 01:29:13PM -0700, akpm@linux-foundation.org wrote:
> From: Zhenwen Xu <helight.xu@gmail.com>
> 
> 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@gmail.com>
> Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
> 
>  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-13  1:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-12 20:29 [patch for 2.6.30? 1/1] drivers/scsi/NCR_D700.c: fix IRQ handler return type akpm
2009-05-13  1:09 ` 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.