mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dominik Brodowski <linux@dominikbrodowski.net>
To: wanlong.gao@gmail.com
Cc: davem@davemloft.net, padovan@profusion.mobi, joe@perches.com,
	marcel@holtmann.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] X86:NET:Replaced a deprecated function .
Date: Mon, 4 Apr 2011 11:36:20 +0200	[thread overview]
Message-ID: <20110404093620.GA4896@isilmar-3.linta.de> (raw)
In-Reply-To: <1301909548-20031-1-git-send-email-wanlong.gao@gmail.com>


On Mon, Apr 04, 2011 at 05:32:28PM +0800, wanlong.gao@gmail.com wrote:
> From: Wanlong Gao <wanlong.gao@gmail.com>
> 
> kernel_warning: pcmcia_request_exclusive_irq is deprecated .

NACK. This papers over the issue, instead of fixing it. To properly fix it,
one needs to verify that the IRQ handler used in this driver is capable of
handling a shared IRQ line.

Best,
	Dominik

> Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com>
> ---
>  drivers/net/pcmcia/nmclan_cs.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/net/pcmcia/nmclan_cs.c b/drivers/net/pcmcia/nmclan_cs.c
> index 76683d9..bf97231
> --- a/drivers/net/pcmcia/nmclan_cs.c
> +++ b/drivers/net/pcmcia/nmclan_cs.c
> @@ -625,7 +625,7 @@ static int nmclan_config(struct pcmcia_device *link)
>    ret = pcmcia_request_io(link);
>    if (ret)
>  	  goto failed;
> -  ret = pcmcia_request_exclusive_irq(link, mace_interrupt);
> +  ret = __pcmcia_request_exclusive_irq(link, mace_interrupt);
>    if (ret)
>  	  goto failed;
>    ret = pcmcia_enable_device(link);
> -- 
> 1.7.3
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

  reply	other threads:[~2011-04-04  9:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-04  9:32 wanlong.gao
2011-04-04  9:36 ` Dominik Brodowski [this message]
2011-04-04  9:44   ` wanlong.gao
2011-04-04  9:53     ` Dominik Brodowski
2011-04-04 10:05     ` wanlong.gao

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=20110404093620.GA4896@isilmar-3.linta.de \
    --to=linux@dominikbrodowski.net \
    --cc=davem@davemloft.net \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcel@holtmann.org \
    --cc=netdev@vger.kernel.org \
    --cc=padovan@profusion.mobi \
    --cc=wanlong.gao@gmail.com \
    /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

all inboxes | Powered by JetHome®