lkml.org 
[lkml]   [2001]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectTypo in md.c
Date
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/
\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.025 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site