mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "YOSHIFUJI Hideaki / 吉藤英明" <yoshfuji@linux-ipv6.org>
To: davej@codemonkey.org.uk, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fix for "Too many arguments for pnp_activate_dev()"
Date: Wed, 26 Feb 2003 14:56:59 +0900 (JST)	[thread overview]
Message-ID: <20030226.145659.39100680.yoshfuji@linux-ipv6.org> (raw)
In-Reply-To: <20030226.144806.06041481.yoshfuji@linux-ipv6.org>

In article <20030226.144806.06041481.yoshfuji@linux-ipv6.org> (at Wed, 26 Feb 2003 14:48:06 +0900 (JST)), YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org> says:

> > 	The 2.5.63 kernel contains changes to pnp.h that mean the template arg
> > is nolonger there.  The object compiles with this patch.
> 
> Yes, I sent similar patch yesterday.
> Here's the revised patch for other drivers, too.

Ah, ChangeSet 1.1057 has fixed most of this problem.
http://linux.bkbits.net:8080/linux-2.5/cset@1.1057?nav=index.html

Please apply following patch.

Index: sound/oss/ad1848.c
===================================================================
RCS file: /cvsroot/usagi/usagi/kernel/linux25/sound/oss/ad1848.c,v
retrieving revision 1.1.1.9
diff -u -r1.1.1.9 ad1848.c
--- sound/oss/ad1848.c	16 Feb 2003 04:06:51 -0000	1.1.1.9
+++ sound/oss/ad1848.c	26 Feb 2003 05:34:51 -0000
@@ -2987,7 +2987,7 @@
 	if (err < 0)
 		return(NULL);
 
-	if((err = pnp_activate_dev(dev,NULL)) < 0) {
+	if((err = pnp_activate_dev(dev)) < 0) {
 		printk(KERN_ERR "ad1848: %s %s config failed (out of resources?)[%d]\n", devname, resname, err);
 
 		pnp_device_detach(dev);

-- 
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@linux-ipv6.org>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA

      reply	other threads:[~2003-02-26  5:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-26  5:06 [PATCH] fix compile for drivers/pcmcia/i82365.c Anthony J. Breeds-Taurima
2003-02-26  5:48 ` [PATCH] fix for "Too many arguments for pnp_activate_dev()" (Re: [PATCH] fix compile for drivers/pcmcia/i82365.c) YOSHIFUJI Hideaki / 吉藤英明
2003-02-26  5:56   ` YOSHIFUJI Hideaki / 吉藤英明 [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=20030226.145659.39100680.yoshfuji@linux-ipv6.org \
    --to=yoshfuji@linux-ipv6.org \
    --cc=davej@codemonkey.org.uk \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®