Skip to contentSkip to conversation

Documentation: admin-guide: Fix typos

PATCH In review Tamara Diaconita 4 participants 6 messages Mar 14, 2017 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Documentation: admin-guide: Fix typos

Fix typos in admin-guide directory.
Make documentation clear and grammatically correct.

---
Changes since v1:
*Remove the changes in tainted-kernels.rst file.

 Documentation/admin-guide/kernel-parameters.rst |  2 +-
 Documentation/admin-guide/ras.rst               | 12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)
Documentation/admin-guide/kernel-parameters.rst +1 -1
index b516164..c5eae20 100644
@@ -197,7 +197,7 @@ and is between 256 and 4096 characters. It is defined in the file
 
 Finally, the [KMG] suffix is commonly described after a number of kernel
 parameter values. These 'K', 'M', and 'G' letters represent the _binary_
-multipliers 'Kilo', 'Mega', and 'Giga', equalling 2^10, 2^20, and 2^30
+multipliers 'Kilo', 'Mega', and 'Giga', equaling 2^10, 2^20, and 2^30
 bytes respectively. Such letter suffixes can also be entirely omitted:
 
 .. include:: kernel-parameters.txt
Documentation/admin-guide/ras.rst +6 -6
index 1b90c6f..8c7bbf2 100644
@@ -8,7 +8,7 @@ RAS concepts
 ************
 
 Reliability, Availability and Serviceability (RAS) is a concept used on
-servers meant to measure their robusteness.
+servers meant to measure their robustness.
 
 Reliability
   is the probability that a system will produce correct outputs.
@@ -42,13 +42,13 @@ Among the monitoring measures, the most usual ones include:
 
 * CPU – detect errors at instruction execution and at L1/L2/L3 caches;
 * Memory – add error correction logic (ECC) to detect and correct errors;
-* I/O – add CRC checksums for tranfered data;
+* I/O – add CRC checksums for transferred data;
 * Storage – RAID, journal file systems, checksums,
   Self-Monitoring, Analysis and Reporting Technology (SMART).
 
 By monitoring the number of occurrences of error detections, it is possible
 to identify if the probability of hardware errors is increasing, and, on such
-case, do a preventive maintainance to replace a degrated component while
+case, do a preventive maintenance to replace a degraded component while
 those errors are correctable.
 
 Types of errors
@@ -121,7 +121,7 @@ using the ``dmidecode`` tool. For example, on a desktop machine, it shows::
 On the above example, a DDR4 SO-DIMM memory module is located at the
 system's memory labeled as "BANK 0", as given by the *bank locator* field.
 Please notice that, on such system, the *total width* is equal to the
-*data witdh*. It means that such memory module doesn't have error
+*data width*. It means that such memory module doesn't have error
 detection/correction mechanisms.
 
 Unfortunately, not all systems use the same field to specify the memory
@@ -145,7 +145,7 @@ bank. On this example, from an older server, ``dmidecode`` shows::
 
 There, the DDR3 RDIMM memory module is located at the system's memory labeled
 as "DIMM_A1", as given by the *locator* field. Please notice that this
-memory module has 64 bits of *data witdh* and 72 bits of *total width*. So,
+memory module has 64 bits of *data width* and 72 bits of *total width*. So,
 it has 8 extra bits to be used by error detection and correction mechanisms.
 Such kind of memory is called Error-correcting code memory (ECC memory).
 
@@ -186,7 +186,7 @@ Architecture (MCA)\ [#f3]_.
 .. [#f1] Please notice that several memory controllers allow operation on a
   mode called "Lock-Step", where it groups two memory modules together,
   doing 128-bit reads/writes. That gives 16 bits for error correction, with
-  significatively improves the error correction mechanism, at the expense
+  significantly improves the error correction mechanism, at the expense
   that, when an error happens, there's no way to know what memory module is
   to blame. So, it has to blame both memory modules.
 
Signature · 1 line
2.9.3
#1 lore raw
Quoted 2 lines · Tamara Diaconita

Fix typos in admin-guide directory.
Make documentation clear and grammatically correct.

You may want to collect the words in which you find problems, and see if other files have the same problems.

julia

Quoted 89 lines

---
Changes since v1:
*Remove the changes in tainted-kernels.rst file.

 Documentation/admin-guide/kernel-parameters.rst |  2 +-
 Documentation/admin-guide/ras.rst               | 12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)
Documentation/admin-guide/kernel-parameters.rst +1 -1
index b516164..c5eae20 100644
@@ -197,7 +197,7 @@ and is between 256 and 4096 characters. It is defined in the file
 
 Finally, the [KMG] suffix is commonly described after a number of kernel
 parameter values. These 'K', 'M', and 'G' letters represent the _binary_
-multipliers 'Kilo', 'Mega', and 'Giga', equalling 2^10, 2^20, and 2^30
+multipliers 'Kilo', 'Mega', and 'Giga', equaling 2^10, 2^20, and 2^30
 bytes respectively. Such letter suffixes can also be entirely omitted:
 
 .. include:: kernel-parameters.txt
Documentation/admin-guide/ras.rst +6 -7
index 1b90c6f..8c7bbf2 100644
@@ -8,7 +8,7 @@ RAS concepts
 ************
 
 Reliability, Availability and Serviceability (RAS) is a concept used on
-servers meant to measure their robusteness.
+servers meant to measure their robustness.
 
 Reliability
   is the probability that a system will produce correct outputs.
@@ -42,13 +42,13 @@ Among the monitoring measures, the most usual ones include:
 
 * CPU – detect errors at instruction execution and at L1/L2/L3 caches;
 * Memory – add error correction logic (ECC) to detect and correct errors;
-* I/O – add CRC checksums for tranfered data;
+* I/O – add CRC checksums for transferred data;
 * Storage – RAID, journal file systems, checksums,
   Self-Monitoring, Analysis and Reporting Technology (SMART).
 
 By monitoring the number of occurrences of error detections, it is possible
 to identify if the probability of hardware errors is increasing, and, on such
-case, do a preventive maintainance to replace a degrated component while
+case, do a preventive maintenance to replace a degraded component while
 those errors are correctable.
 
 Types of errors
@@ -121,7 +121,7 @@ using the ``dmidecode`` tool. For example, on a desktop machine, it shows::
 On the above example, a DDR4 SO-DIMM memory module is located at the
 system's memory labeled as "BANK 0", as given by the *bank locator* field.
 Please notice that, on such system, the *total width* is equal to the
-*data witdh*. It means that such memory module doesn't have error
+*data width*. It means that such memory module doesn't have error
 detection/correction mechanisms.
 
 Unfortunately, not all systems use the same field to specify the memory
@@ -145,7 +145,7 @@ bank. On this example, from an older server, ``dmidecode`` shows::
 
 There, the DDR3 RDIMM memory module is located at the system's memory labeled
 as "DIMM_A1", as given by the *locator* field. Please notice that this
-memory module has 64 bits of *data witdh* and 72 bits of *total width*. So,
+memory module has 64 bits of *data width* and 72 bits of *total width*. So,
 it has 8 extra bits to be used by error detection and correction mechanisms.
 Such kind of memory is called Error-correcting code memory (ECC memory).
 
@@ -186,7 +186,7 @@ Architecture (MCA)\ [#f3]_.
 .. [#f1] Please notice that several memory controllers allow operation on a
   mode called "Lock-Step", where it groups two memory modules together,
   doing 128-bit reads/writes. That gives 16 bits for error correction, with
-  significatively improves the error correction mechanism, at the expense
+  significantly improves the error correction mechanism, at the expense
   that, when an error happens, there's no way to know what memory module is
   to blame. So, it has to blame both memory modules.
 
--

2.9.3

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20170314083835.4317-1-diaconita.tamara%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

#2 lore raw

Should I keep this in mind for the next patches or should I also reorganize this patch?

marți, 14 martie 2017, 11:05:55 UTC+2, Julia Lawall a scris:

Quoted 129 lines · Tamara Diaconita
Quoted 3 lines

Fix typos in admin-guide directory.
Make documentation clear and grammatically correct.

You may want to collect the words in which you find problems, and see if other files have the same problems.

julia

Review

Quoted 11 lines
Signed-off-by Tamara Diaconita <[email protected] <javascript:>>

---
Changes since v1:
*Remove the changes in tainted-kernels.rst file.

 Documentation/admin-guide/kernel-parameters.rst |  2 +- 
 Documentation/admin-guide/ras.rst               | 12 ++++++------ 
 2 files changed, 7 insertions(+), 7 deletions(-) 
(quoted diff) +0 -0

b/Documentation/admin-guide/kernel-parameters.rst

Documentation/admin-guide/kernel-parameters.rst and is between 256 and 4096 characters. It is

Quoted 4 lines

index b516164..c5eae20 100644

Documentation/admin-guide/kernel-parameters.rst +0 -0
@@ -197,7 +197,7 @@ and is between 256 and 4096 characters. It is 

defined in the file

Documentation/admin-guide/kernel-parameters.rst and is between 256 and 4096 characters. It is · line 197

Quoted 2 lines
Documentation/admin-guide/kernel-parameters.rst +0 -0
 Finally, the [KMG] suffix is commonly described after a number of 

kernel

Documentation/admin-guide/kernel-parameters.rst and is between 256 and 4096 characters. It is · line 198

Quoted 1 line
Documentation/admin-guide/kernel-parameters.rst +0 -0
 parameter values. These 'K', 'M', and 'G' letters represent the 

_binary_

Review

Quoted 6 lines
Documentation/admin-guide/kernel-parameters.rst +1 -1
-multipliers 'Kilo', 'Mega', and 'Giga', equalling 2^10, 2^20, and 2^30 
+multipliers 'Kilo', 'Mega', and 'Giga', equaling 2^10, 2^20, and 2^30 
 bytes respectively. Such letter suffixes can also be entirely omitted: 
 
 .. include:: kernel-parameters.txt 
(quoted diff) +0 -0

b/Documentation/admin-guide/ras.rst

Documentation/admin-guide/ras.rst Among the monitoring measures, the most usual ones

Quoted 13 lines

index 1b90c6f..8c7bbf2 100644

Documentation/admin-guide/ras.rst +1 -1
@@ -8,7 +8,7 @@ RAS concepts 
 ************ 
 
 Reliability, Availability and Serviceability (RAS) is a concept used on 
-servers meant to measure their robusteness. 
+servers meant to measure their robustness. 
 
 Reliability 
   is the probability that a system will produce correct outputs. 
@@ -42,13 +42,13 @@ Among the monitoring measures, the most usual ones 

include:

Documentation/admin-guide/ras.rst Among the monitoring measures, the most usual ones · line 43

Quoted 3 lines
Documentation/admin-guide/ras.rst +0 -0
 * CPU – detect errors at instruction execution and at L1/L2/L3 caches; 
 * Memory – add error correction logic (ECC) to detect and correct 

errors;

Documentation/admin-guide/ras.rst Among the monitoring measures, the most usual ones include:

Quoted 6 lines
Documentation/admin-guide/ras.rst +1 -1
-* I/O – add CRC checksums for tranfered data; 
+* I/O – add CRC checksums for transferred data; 
 * Storage – RAID, journal file systems, checksums, 
   Self-Monitoring, Analysis and Reporting Technology (SMART). 
 
 By monitoring the number of occurrences of error detections, it is 

possible

Documentation/admin-guide/ras.rst Among the monitoring measures, the most usual ones · line 49

Quoted 1 line
Documentation/admin-guide/ras.rst +0 -0
 to identify if the probability of hardware errors is increasing, and, 

on such

Documentation/admin-guide/ras.rst Among the monitoring measures, the most usual ones · line 50

Quoted 1 line
Documentation/admin-guide/ras.rst +0 -1
-case, do a preventive maintainance to replace a degrated component 

while

Documentation/admin-guide/ras.rst using the ``dmidecode`` tool. For example, on a

Quoted 5 lines
Documentation/admin-guide/ras.rst +1 -0
+case, do a preventive maintenance to replace a degraded component while 
 those errors are correctable. 
 
 Types of errors 
@@ -121,7 +121,7 @@ using the ``dmidecode`` tool. For example, on a 

desktop machine, it shows::

Documentation/admin-guide/ras.rst using the ``dmidecode`` tool. For example, on a · line 122

Quoted 2 lines
Documentation/admin-guide/ras.rst +0 -0
 On the above example, a DDR4 SO-DIMM memory module is located at the 
 system's memory labeled as "BANK 0", as given by the *bank locator* 

field.

Documentation/admin-guide/ras.rst bank. On this example, from an older server,

Quoted 7 lines
Documentation/admin-guide/ras.rst +1 -1
 Please notice that, on such system, the *total width* is equal to the 
-*data witdh*. It means that such memory module doesn't have error 
+*data width*. It means that such memory module doesn't have error 
 detection/correction mechanisms. 
 
 Unfortunately, not all systems use the same field to specify the memory 
@@ -145,7 +145,7 @@ bank. On this example, from an older server, 

``dmidecode`` shows::

Documentation/admin-guide/ras.rst bank. On this example, from an older server, · line 145

Quoted 2 lines
Documentation/admin-guide/ras.rst +0 -0
 There, the DDR3 RDIMM memory module is located at the system's memory 

labeled

Documentation/admin-guide/ras.rst bank. On this example, from an older server, · line 147

Quoted 2 lines
Documentation/admin-guide/ras.rst +0 -1
 as "DIMM_A1", as given by the *locator* field. Please notice that this 
-memory module has 64 bits of *data witdh* and 72 bits of *total width*. 

So,

Documentation/admin-guide/ras.rst bank. On this example, from an older server, · line 147

Quoted 1 line
Documentation/admin-guide/ras.rst +1 -0
+memory module has 64 bits of *data width* and 72 bits of *total width*. 

So,

Documentation/admin-guide/ras.rst bank. On this example, from an older server, · line 148

Quoted 1 line
Documentation/admin-guide/ras.rst +0 -0
 it has 8 extra bits to be used by error detection and correction 

mechanisms.

Documentation/admin-guide/ras.rst bank. On this example, from an older server, · line 149

Quoted 1 line
Documentation/admin-guide/ras.rst +0 -0
 Such kind of memory is called Error-correcting code memory (ECC 

memory).

Documentation/admin-guide/ras.rst Architecture (MCA)\ [#f3]_. · line 186

Quoted 3 lines
Documentation/admin-guide/ras.rst +0 -0
@@ -186,7 +186,7 @@ Architecture (MCA)\ [#f3]_. 
 .. [#f1] Please notice that several memory controllers allow operation 

on a

Documentation/admin-guide/ras.rst Architecture (MCA)\ [#f3]_. · line 188

Quoted 2 lines
Documentation/admin-guide/ras.rst +0 -0
   mode called "Lock-Step", where it groups two memory modules together, 
   doing 128-bit reads/writes. That gives 16 bits for error correction, 

with

Documentation/admin-guide/ras.rst Architecture (MCA)\ [#f3]_. · line 189

Quoted 1 line
Documentation/admin-guide/ras.rst +0 -1
-  significatively improves the error correction mechanism, at the 

expense

Documentation/admin-guide/ras.rst Architecture (MCA)\ [#f3]_. · line 190

Quoted 2 lines
Documentation/admin-guide/ras.rst +1 -0
+  significantly improves the error correction mechanism, at the expense 
   that, when an error happens, there's no way to know what memory 

module is

Quoted 7 lines
Documentation/admin-guide/ras.rst +0 -0
   to blame. So, it has to blame both memory modules. 
 
Signature · 4 lines
2.9.3 

-- 
You received this message because you are subscribed to the Google 

Groups "outreachy-kernel" group.

Quoted 1 line

To unsubscribe from this group and stop receiving emails from it, send

an email to [email protected] <javascript:>.

Quoted 1 line

To post to this group, send email to [email protected]

<javascript:>.

Quoted 1 line

To view this discussion on the web visit

https://groups.google.com/d/msgid/outreachy-kernel/20170314083835.4317-1-diaconita.tamara%40gmail.com.

Quoted 2 lines

For more options, visit https://groups.google.com/d/optout.

#3 lore raw
Quoted 2 lines · Tamara Diaconita

Should I keep this in mind for the next patches or should I also reorganize this patch?

I didn't suggest any reorganization. I just meant that if you find one file in which a certain word is misspelled, then you may find the same problem in other files, and thus find more opportunities for patches.

julia

Quoted 158 lines

marți, 14 martie 2017, 11:05:55 UTC+2, Julia Lawall a scris:

On Tue, 14 Mar 2017, Tamara Diaconita wrote:

> Fix typos in admin-guide directory.
> Make documentation clear and grammatically correct.

You may want to collect the words in which you find problems, and see if
other files have the same problems.

julia

>
> Signed-off-by: Tamara Diaconita <[email protected]>
> ---
> Changes since v1:
> *Remove the changes in tainted-kernels.rst file.
>
>  Documentation/admin-guide/kernel-parameters.rst |  2 +-
>  Documentation/admin-guide/ras.rst               | 12
++++++------
>  2 files changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/Documentation/admin-guide/kernel-parameters.rst b/Documentation/admin-guide/kernel-parameters.rst
> index b516164..c5eae20 100644
> --- a/Documentation/admin-guide/kernel-parameters.rst
> +++ b/Documentation/admin-guide/kernel-parameters.rst
> @@ -197,7 +197,7 @@ and is between 256 and 4096 characters. It
is defined in the file
>
>  Finally, the [KMG] suffix is commonly described after a
number of kernel
>  parameter values. These 'K', 'M', and 'G' letters represent
the _binary_
> -multipliers 'Kilo', 'Mega', and 'Giga', equalling 2^10, 2^20,
and 2^30
> +multipliers 'Kilo', 'Mega', and 'Giga', equaling 2^10, 2^20,
and 2^30
>  bytes respectively. Such letter suffixes can also be entirely
omitted:
>
>  .. include:: kernel-parameters.txt
> diff --git a/Documentation/admin-guide/ras.rst
b/Documentation/admin-guide/ras.rst
> index 1b90c6f..8c7bbf2 100644
> --- a/Documentation/admin-guide/ras.rst
> +++ b/Documentation/admin-guide/ras.rst
> @@ -8,7 +8,7 @@ RAS concepts
>  ************
>
>  Reliability, Availability and Serviceability (RAS) is a
concept used on
> -servers meant to measure their robusteness.
> +servers meant to measure their robustness.
>
>  Reliability
>    is the probability that a system will produce correct
outputs.
> @@ -42,13 +42,13 @@ Among the monitoring measures, the most
usual ones include:
>
>  * CPU – detect errors at instruction execution and at
L1/L2/L3 caches;
>  * Memory – add error correction logic (ECC) to detect and
correct errors;
> -* I/O – add CRC checksums for tranfered data;
> +* I/O – add CRC checksums for transferred data;
>  * Storage – RAID, journal file systems, checksums,
>    Self-Monitoring, Analysis and Reporting Technology (SMART).
>
>  By monitoring the number of occurrences of error detections,
it is possible
>  to identify if the probability of hardware errors is
increasing, and, on such
> -case, do a preventive maintainance to replace a degrated
component while
> +case, do a preventive maintenance to replace a degraded
component while
>  those errors are correctable.
>
>  Types of errors
> @@ -121,7 +121,7 @@ using the ``dmidecode`` tool. For example,
on a desktop machine, it shows::
>  On the above example, a DDR4 SO-DIMM memory module is located
at the
>  system's memory labeled as "BANK 0", as given by the *bank
locator* field.
>  Please notice that, on such system, the *total width* is
equal to the
> -*data witdh*. It means that such memory module doesn't have
error
> +*data width*. It means that such memory module doesn't have
error
>  detection/correction mechanisms.
>
>  Unfortunately, not all systems use the same field to specify
the memory
> @@ -145,7 +145,7 @@ bank. On this example, from an older
server, ``dmidecode`` shows::
>
>  There, the DDR3 RDIMM memory module is located at the
system's memory labeled
>  as "DIMM_A1", as given by the *locator* field. Please notice
that this
> -memory module has 64 bits of *data witdh* and 72 bits of
*total width*. So,
> +memory module has 64 bits of *data width* and 72 bits of
*total width*. So,
>  it has 8 extra bits to be used by error detection and
correction mechanisms.
>  Such kind of memory is called Error-correcting code memory
(ECC memory).
>
> @@ -186,7 +186,7 @@ Architecture (MCA)\ [#f3]_.
>  .. [#f1] Please notice that several memory controllers allow
operation on a
>    mode called "Lock-Step", where it groups two memory modules
together,
>    doing 128-bit reads/writes. That gives 16 bits for error
correction, with
> -  significatively improves the error correction mechanism, at
the expense
> +  significantly improves the error correction mechanism, at
the expense
>    that, when an error happens, there's no way to know what
memory module is
>    to blame. So, it has to blame both memory modules.
>
> --
> 2.9.3
>
> --
> You received this message because you are subscribed to the
Google Groups "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from
it, send an email to [email protected].
> To post to this group, send email to
[email protected].
> To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/20170314083835.4317-1-di aconita.tamara%40gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>

--
You received this message because you are subscribed to the Google Groups
"outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/cf778fed-1495-4382-86ab- f043a2641112%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

maintainer
#5 lore raw
Quoted 4 lines · On Tue, 14 Mar 2017 15:06:40 +0200 Daniel Baluta <[email protected]>…

Also for easier reviewing next patches you can mention in the commit message what were the typos:

e.g: witdh -> width

I'm not sure that's helpful in a change like this which is fixing up a lot of different mistakes - I have to read the text anyway :)

Anyway, this patch looks good, I've just applied it to the docs tree, thanks.

jon