lkml.org 
[lkml]   [2003]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2.6.0-test3] compile fix for driver/block/paride/pd.c
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/
>
>
>

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.059 / U:0.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site