public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] to init/main.c
@ 2001-06-16 16:07 Daniel Dickman
  2001-06-16 16:16 ` Jeff Garzik
  2001-06-16 22:37 ` Richard Gooch
  0 siblings, 2 replies; 3+ messages in thread
From: Daniel Dickman @ 2001-06-16 16:07 UTC (permalink / raw)
  To: Linux Kernel

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;


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-06-16 22:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-16 16:07 [PATCH] to init/main.c Daniel Dickman
2001-06-16 16:16 ` Jeff Garzik
2001-06-16 22:37 ` Richard Gooch

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