Typo in md.c

From: Jakob Kemi (jakob.kemi@telia.com)
Date: Sat Nov 24 2001 - 16:45:50 EST


Hi.

I just noticed while browsing md.c (2.4.16-pre1) that there seems to be a typo
in the code. Shouldn't detetected_devices be of type kdev_t rather than int?
All (well, both) references to detected_devices assume kdev_t.

        / Jakob Kemi

--- md.c.orig Sat Nov 24 22:02:04 2001
+++ md.c Sat Nov 24 22:36:51 2001
@@ -3700,7 +3700,7 @@
  * Searches all registered partitions for autorun RAID arrays
  * at boot time.
  */
-static int detected_devices[128];
+static kdev_t detected_devices[128];
 static int dev_cnt;

 void md_autodetect_dev(kdev_t dev)
-
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 : Fri Nov 30 2001 - 21:00:17 EST