public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Zhenwen Xu <helight.xu@gmail.com>
To: akpm@linux-foundation.org
Cc: James.Bottomley@steeleye.com, linux-scsi@vger.kernel.org,
	James.Bottomley@HansenPartnership.com
Subject: Re: [patch for 2.6.30? 1/1] drivers/scsi/NCR_D700.c: fix IRQ handler return type
Date: Wed, 13 May 2009 09:09:07 +0800	[thread overview]
Message-ID: <20090513010907.GA4067@helight> (raw)
In-Reply-To: <200905122048.n4CKmSw7030088@imap1.linux-foundation.org>

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

      reply	other threads:[~2009-05-13  1:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090513010907.GA4067@helight \
    --to=helight.xu@gmail.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=James.Bottomley@steeleye.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox