From: Daniel Dickman <ddickman@nyc.rr.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] to init/main.c
Date: Sat, 16 Jun 2001 12:07:59 -0400 [thread overview]
Message-ID: <3B2B845F.50300@nyc.rr.com> (raw)
Here is a small patch to main.c.
It does the following:
- makes sure that asm/mtrr.h actually gets included, and
- changes formatting in one place as per Documentation/CodingStyle
--- linux-2.4.5/init/main.c Tue May 22 12:35:42 2001
+++ linux/init/main.c Sat Jun 16 11:48:42 2001
@@ -50,7 +50,7 @@
#endif
#ifdef CONFIG_MTRR
-# include <asm/mtrr.h>
+#include <asm/mtrr.h>
#endif
#ifdef CONFIG_NUBUS
@@ -292,8 +292,7 @@
ROOT_DEV = name_to_kdev_t(line);
memset (root_device_name, 0, sizeof root_device_name);
if (strncmp (line, "/dev/", 5) == 0) line += 5;
- for (i = 0; i < sizeof root_device_name - 1; ++i)
- {
+ for (i = 0; i < sizeof root_device_name - 1; ++i) {
ch = line[i];
if ( isspace (ch) || (ch == ',') || (ch == '\0') ) break;
root_device_name[i] = ch;
next reply other threads:[~2001-06-16 16:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-16 16:07 Daniel Dickman [this message]
2001-06-16 16:16 ` [PATCH] to init/main.c Jeff Garzik
2001-06-16 22:37 ` Richard Gooch
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=3B2B845F.50300@nyc.rr.com \
--to=ddickman@nyc.rr.com \
--cc=linux-kernel@vger.kernel.org \
/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).