linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakob Kemi <jakob.kemi@telia.com>
To: marcelo@conectiva.com.br
Cc: linux-kernel@vger.kernel.org
Subject: Typo in md.c
Date: Sat, 24 Nov 2001 22:45:50 +0100	[thread overview]
Message-ID: <200111242146.fAOLkXa10682@d1o849.telia.com> (raw)

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)

                 reply	other threads:[~2001-11-24 21:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200111242146.fAOLkXa10682@d1o849.telia.com \
    --to=jakob.kemi@telia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).