[PATCH] 2.5.41: cpqarray compile fixes

From: Adam Kropelin (akropel1@rochester.rr.com)
Date: Mon Oct 07 2002 - 18:36:27 EST


cpqarray in 2.5.41 needs the patch below to compile.

--Adam

--- linux-2.5.41/drivers/block/cpqarray.c Mon Oct 7 18:26:32 2002
+++ linux-2.5.41-fix/drivers/block/cpqarray.c Mon Oct 7 19:25:48 2002
@@ -355,7 +355,7 @@
                 }
                 num_cntlrs_reg++;
                 for (j=0; j<NWD; j++) {
- ida_gendisk[i][j] = disk_alloc();
+ ida_gendisk[i][j] = alloc_disk();
                         if (!ida_gendisk[i][j])
                                 goto Enomem2;
                 }
@@ -437,7 +437,6 @@
         }
         return 0;
 }
-}
 
 /*
  * Find the controller and initialize it

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



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:01:02 EST