public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nick Piggin <piggin@cyberone.com.au>
To: Vinay K Nallamothu <vinay-rc@naturesoft.net>
Cc: trivial@rustcorp.com.au, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2.6.0-test3] compile fix for driver/block/paride/pd.c
Date: Sat, 09 Aug 2003 19:28:36 +1000	[thread overview]
Message-ID: <3F34BEC4.8090701@cyberone.com.au> (raw)
In-Reply-To: <1060421994.1276.6.camel@lima.royalchallenge.com>

blk_init_queue now returns a request queue, so this
patch will not work properly. See the changes in
test2 -> test3 for how to do it correctly.

Vinay K Nallamothu wrote:

>This patch removes the extra argument to blk_init_queue which prevents
>the module from compiling.
>
>
>--- linux-2.6.0-test3/drivers/block/paride/pd.c	2003-07-28 10:43:52.000000000 +0530
>+++ linux-2.6.0-test3-nvk/drivers/block/paride/pd.c	2003-08-09 15:02:19.000000000 +0530
>@@ -893,7 +893,7 @@
> 	if (register_blkdev(major, name))
> 		return -1;
> 
>-	blk_init_queue(&pd_queue, do_pd_request, &pd_lock);
>+	blk_init_queue(do_pd_request, &pd_lock);
> 	blk_queue_max_sectors(&pd_queue, cluster);
> 
> 	printk("%s: %s version %s, major %d, cluster %d, nice %d\n",
>
>
>
>-
>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:[~2003-08-09  9:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-09  9:39 [PATCH 2.6.0-test3] compile fix for driver/block/paride/pd.c Vinay K Nallamothu
2003-08-09  9:28 ` Nick Piggin [this message]
2003-08-09 10:33   ` Vinay K Nallamothu

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=3F34BEC4.8090701@cyberone.com.au \
    --to=piggin@cyberone.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@rustcorp.com.au \
    --cc=vinay-rc@naturesoft.net \
    /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