Re: [PATCH 2.6.18] [TRIVIAL] Spelling fixes in Documentation/DocBook

From: Michael Opdenacker
Date: Sat Sep 23 2006 - 14:55:35 EST


Randy.Dunlap wrote:
<structfield>owner</structfield> field, such as in the
<structname>file_operations</structname> structure. Set this field
to the macro <symbol>THIS_MODULE</symbol>.
@@ -1028,7 +1028,7 @@ printk(KERN_INFO "my ip: %d.%d.%d.%d\n",
<para>
The preferred method of initializing structures is to use
- designated initialisers, as defined by ISO C99, eg:
+ designated initializers, as defined by ISO C99, eg:

UK spelling, it's OK.

Thank you all very much for your reviews!

In this particular case, I chose the American spelling because it existed too in the same file (see http://lxr.free-electrons.com/source/Documentation/DocBook/kernel-hacking.tmpl#1098). I guess it is fine to have 2 different spellings for the same word in the same document, right? Otherwise, arbitrating between the 2 options can be pretty tricky.

diff -Nurp linux-2.6.18/Documentation/DocBook/libata.tmpl linux-2.6.18-aspell-docbook/Documentation/DocBook/libata.tmpl
--- linux-2.6.18/Documentation/DocBook/libata.tmpl 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18-aspell-docbook/Documentation/DocBook/libata.tmpl 2006-09-21 22:14:56.000000000 +0200

ack all except "iff". That is "if and only if".
Oops, thanks for this reminder!

Cheers,

Michael.

--
Michael Opdenacker, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1000 pages!)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/