mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Typo in md.c
@ 2001-11-24 21:45 Jakob Kemi
  0 siblings, 0 replies; only message in thread
From: Jakob Kemi @ 2001-11-24 21:45 UTC (permalink / raw)
  To: marcelo; +Cc: linux-kernel

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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-11-24 21:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-24 21:45 Typo in md.c Jakob Kemi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®