Messages in this thread | | | Date | Sat, 09 Aug 2003 19:28:36 +1000 | From | Nick Piggin <> | Subject | Re: [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/
| |