public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Sean M. Burke" <sburke@cpan.org>
To: linux-kernel@vger.kernel.org
Cc: trivial@rustcorp.com.au
Subject: PATCH: "Ok" -> "OK" in messages
Date: Sat, 28 May 2005 03:13:21 -0800	[thread overview]
Message-ID: <42985251.6030006@cpan.org> (raw)

The English interjection "OK" is misspelled as "Ok" in a dozen
messages in the Linux kernel.  The following patch corrects
those typos from "Ok" to "OK".  It affects no comments or
symbol-names -- and it stops me wanting to gnaw my fingers off every
time I see "Ok, booting the kernel."!

("Okay" is an acceptable variant spelling of "OK".  I chose "OK" over
"Okay" for sake of concision.)

(I also fix three incidental nearby typoes in
drivers/media/video/bttv-driver.c -- see at the end.)


Signed-off-by: Sean M. Burke <sburke@cpan.org>


diff -uprN --exclude='*~*' linux-2.6.9.orig/arch/alpha/boot/bootp.c linux-2.6.9/arch/alpha/boot/bootp.c
--- linux-2.6.9.orig/arch/alpha/boot/bootp.c	2004-10-18 13:55:06.000000000 -0800
+++ linux-2.6.9/arch/alpha/boot/bootp.c	2005-05-28 01:29:44.000000000 -0800
@@ -100,7 +100,7 @@ pal_init(void)
  		(INIT_HWRPB->processor_offset + (unsigned long) INIT_HWRPB);
  	rev = percpu->pal_revision = percpu->palcode_avail[2];

-	srm_printk("Ok (rev %lx)\n", rev);
+	srm_printk("OK (rev %lx)\n", rev);

  	tbia(); /* do it directly in case we are SMP */
  }
diff -uprN --exclude='*~*' linux-2.6.9.orig/arch/alpha/boot/main.c linux-2.6.9/arch/alpha/boot/main.c
--- linux-2.6.9.orig/arch/alpha/boot/main.c	2004-10-18 13:55:35.000000000 -0800
+++ linux-2.6.9/arch/alpha/boot/main.c	2005-05-28 01:29:33.000000000 -0800
@@ -97,7 +97,7 @@ pal_init(void)
  		(INIT_HWRPB->processor_offset + (unsigned long) INIT_HWRPB);
  	rev = percpu->pal_revision = percpu->palcode_avail[2];

-	srm_printk("Ok (rev %lx)\n", rev);
+	srm_printk("OK (rev %lx)\n", rev);

  	tbia(); /* do it directly in case we are SMP */
  }
@@ -183,7 +183,7 @@ void start_kernel(void)
  	envval[nbytes] = '\0';
  	strcpy((char*)ZERO_PGE, envval);

-	srm_printk(" Ok\nNow booting the kernel\n");
+	srm_printk(" OK\nNow booting the kernel\n");
  	runkernel();
  	for (i = 0 ; i < 0x100000000 ; i++)
  		/* nothing */;
diff -uprN --exclude='*~*' linux-2.6.9.orig/arch/i386/boot/compressed/misc.c linux-2.6.9/arch/i386/boot/compressed/misc.c
--- linux-2.6.9.orig/arch/i386/boot/compressed/misc.c	2004-10-18 13:54:32.000000000 -0800
+++ linux-2.6.9/arch/i386/boot/compressed/misc.c	2005-05-28 01:27:54.000000000 -0800
@@ -376,7 +376,7 @@ asmlinkage int decompress_kernel(struct
  	makecrc();
  	putstr("Uncompressing Linux... ");
  	gunzip();
-	putstr("Ok, booting the kernel.\n");
+	putstr("OK, booting the kernel.\n");
  	if (high_loaded) close_output_buffer_if_we_run_high(mv);
  	return high_loaded;
  }
diff -uprN --exclude='*~*' linux-2.6.9.orig/arch/i386/mm/init.c linux-2.6.9/arch/i386/mm/init.c
--- linux-2.6.9.orig/arch/i386/mm/init.c	2004-10-18 13:54:54.000000000 -0800
+++ linux-2.6.9/arch/i386/mm/init.c	2005-05-28 02:14:18.000000000 -0800
@@ -541,7 +541,7 @@ void __init test_wp_bit(void)
  		panic("This kernel doesn't support CPU's with broken WP. Recompile it for a 386!");
  #endif
  	} else {
-		printk("Ok.\n");
+		printk("OK.\n");
  	}
  }

diff -uprN --exclude='*~*' linux-2.6.9.orig/arch/m32r/boot/compressed/misc.c linux-2.6.9/arch/m32r/boot/compressed/misc.c
--- linux-2.6.9.orig/arch/m32r/boot/compressed/misc.c	2004-10-18 13:53:22.000000000 -0800
+++ linux-2.6.9/arch/m32r/boot/compressed/misc.c	2005-05-28 01:29:03.000000000 -0800
@@ -218,6 +218,6 @@ long decompress_kernel(void)
  	makecrc();
  	puts("Uncompressing Linux... ");
  	gunzip();
-	puts("Ok, booting the kernel.\n");
+	puts("OK, booting the kernel.\n");
  	return bytes_out;
  }
diff -uprN --exclude='*~*' linux-2.6.9.orig/arch/sh/boot/compressed/misc.c linux-2.6.9/arch/sh/boot/compressed/misc.c
--- linux-2.6.9.orig/arch/sh/boot/compressed/misc.c	2004-10-18 13:53:43.000000000 -0800
+++ linux-2.6.9/arch/sh/boot/compressed/misc.c	2005-05-28 01:28:27.000000000 -0800
@@ -236,5 +236,5 @@ void decompress_kernel(void)
  	makecrc();
  	puts("Uncompressing Linux... ");
  	gunzip();
-	puts("Ok, booting the kernel.\n");
+	puts("OK, booting the kernel.\n");
  }
diff -uprN --exclude='*~*' linux-2.6.9.orig/arch/sh64/boot/compressed/misc.c linux-2.6.9/arch/sh64/boot/compressed/misc.c
--- linux-2.6.9.orig/arch/sh64/boot/compressed/misc.c	2004-10-18 13:53:45.000000000 -0800
+++ linux-2.6.9/arch/sh64/boot/compressed/misc.c	2005-05-28 01:28:42.000000000 -0800
@@ -245,7 +245,7 @@ void decompress_kernel(void)
  	}
  #endif

-	puts("Ok, booting the kernel.\n");
+	puts("OK, booting the kernel.\n");

  	cache_control(CACHE_DISABLE);
  }
diff -uprN --exclude='*~*' linux-2.6.9.orig/drivers/base/power/shutdown.c linux-2.6.9/drivers/base/power/shutdown.c
--- linux-2.6.9.orig/drivers/base/power/shutdown.c	2004-10-18 13:54:37.000000000 -0800
+++ linux-2.6.9/drivers/base/power/shutdown.c	2005-05-28 01:34:58.000000000 -0800
@@ -55,7 +55,7 @@ void device_shutdown(void)
  	list_for_each_entry_reverse(dev, &devices_subsys.kset.list, kobj.entry) {
  		pr_debug("shutting down %s: ", dev->bus_id);
  		if (dev->driver && dev->driver->shutdown) {
-			pr_debug("Ok\n");
+			pr_debug("OK\n");
  			dev->driver->shutdown(dev);
  		} else
  			pr_debug("Ignored.\n");
diff -uprN --exclude='*~*' linux-2.6.9.orig/drivers/media/video/bttv-driver.c linux-2.6.9/drivers/media/video/bttv-driver.c
--- linux-2.6.9.orig/drivers/media/video/bttv-driver.c	2004-10-18 13:54:54.000000000 -0800
+++ linux-2.6.9/drivers/media/video/bttv-driver.c	2005-05-28 01:32:39.000000000 -0800
@@ -3228,14 +3228,14 @@ static void bttv_irq_debug_low_latency(s
  	       (unsigned long)rc);

  	if (0 == (btread(BT848_DSTATUS) & BT848_DSTATUS_HLOC)) {
-		printk("bttv%d: Oh, there (temporarely?) is no input signal. "
-		       "Ok, then this is harmless, don't worry ;)\n",
+		printk("bttv%d: Oh, there (temporarily?) is no input signal. "
+		       "OK, then this is harmless, don't worry ;)\n",
  		       btv->c.nr);
  		return;
  	}
  	printk("bttv%d: Uhm. Looks like we have unusual high IRQ latencies.\n",
  	       btv->c.nr);
-	printk("bttv%d: Lets try to catch the culpit red-handed ...\n",
+	printk("bttv%d: Let's try to catch the culprit red-handed ...\n",
  	       btv->c.nr);
  	dump_stack();
  }


             reply	other threads:[~2005-05-28 11:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-28 11:13 Sean M. Burke [this message]
2005-05-28 11:29 ` PATCH: "Ok" -> "OK" in messages David Woodhouse
2005-05-28 12:54   ` Pozsár Balázs
2005-06-23 16:30     ` Tim Bird
2005-06-23 16:53       ` Pozsár Balázs
2005-06-23 18:32         ` Tim Bird
2005-06-23 23:33       ` Alan Cox
2005-05-28 11:53 ` Måns Rullgård
2005-05-28 12:12   ` Matthias-Christian Ott
2005-05-28 12:19     ` Måns Rullgård
2005-05-28 16:08       ` Alistair John Strachan
2005-05-28 13:14 ` cutaway
2005-05-28 12:29   ` Måns Rullgård
2005-05-28 21:02   ` Lee Revell
2005-05-29  3:04     ` cutaway

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=42985251.6030006@cpan.org \
    --to=sburke@cpan.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@rustcorp.com.au \
    /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