Skip to contentSkip to conversation

Documentation: x86: Fix typos

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

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: x86: Fix typos

Fix typos in x86 directory.
Make documentation clear and grammatically correct.

---
 Documentation/x86/boot.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/x86/boot.txt +2 -2
index 5e9b826..694979a 100644
@@ -336,7 +336,7 @@ Type:		read
 Offset/size:	0x20e/2
 Protocol:	2.00+
 
-  If set to a nonzero value, contains a pointer to a NUL-terminated
+  If set to a nonzero value, contains a pointer to a NULL-terminated
   human-readable kernel version number string, less 0x200.  This can
   be used to display the kernel version to the user.  This value
   should be less than (0x200*setup_sects).
@@ -1105,7 +1105,7 @@ address of the struct boot_params.
 
 **** EFI HANDOVER PROTOCOL
 
-This protocol allows boot loaders to defer initialisation to the EFI
+This protocol allows boot loaders to defer initialization to the EFI
 boot stub. The boot loader is required to load the kernel/initrd(s)
 from the boot media and jump to the EFI handover protocol entry point
 which is hdr->handover_offset bytes from the beginning of
Signature · 1 line
2.9.3
#1 lore raw
Quoted 22 lines · Tamara Diaconita

Fix typos in x86 directory.
Make documentation clear and grammatically correct.

---
 Documentation/x86/boot.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/x86/boot.txt +1 -1
index 5e9b826..694979a 100644
@@ -336,7 +336,7 @@ Type:		read
 Offset/size:	0x20e/2
 Protocol:	2.00+
 
-  If set to a nonzero value, contains a pointer to a NUL-terminated
+  If set to a nonzero value, contains a pointer to a NULL-terminated
   human-readable kernel version number string, less 0x200.  This can
   be used to display the kernel version to the user.  This value
   should be less than (0x200*setup_sects).

Documentation/x86/boot.txt address of the struct boot_params. · line 1108

Quoted 5 lines
Documentation/x86/boot.txt +1 -1
@@ -1105,7 +1105,7 @@ address of the struct boot_params.
 
 **** EFI HANDOVER PROTOCOL
 
-This protocol allows boot loaders to defer initialisation to the EFI
+This protocol allows boot loaders to defer initialization to the EFI

This is an American vs British English issue. I don't know if the Linux kernel prefers one or the other.

julia

Quoted 13 lines
Documentation/x86/boot.txt +0 -1
 boot stub. The boot loader is required to load the kernel/initrd(s)
 from the boot media and jump to the EFI handover protocol entry point
 which is hdr->handover_offset bytes from the beginning of
--

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/20170314083902.4491-1-diaconita.tamara%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

#2 lore raw
Quoted 25 lines · Julia Lawall
Quoted 23 lines · Tamara Diaconita

Fix typos in x86 directory.
Make documentation clear and grammatically correct.

---
 Documentation/x86/boot.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/x86/boot.txt +1 -1
index 5e9b826..694979a 100644
@@ -336,7 +336,7 @@ Type:		read
 Offset/size:	0x20e/2
 Protocol:	2.00+
 
-  If set to a nonzero value, contains a pointer to a NUL-terminated
+  If set to a nonzero value, contains a pointer to a NULL-terminated
   human-readable kernel version number string, less 0x200.  This can
   be used to display the kernel version to the user.  This value
   should be less than (0x200*setup_sects).
@@ -1105,7 +1105,7 @@ address of the struct boot_params.
 
Quoted 7 lines

Documentation/x86/boot.txt address of the struct boot_params. · line 1108

Quoted 4 lines
Documentation/x86/boot.txt +1 -1
 **** EFI HANDOVER PROTOCOL
 
-This protocol allows boot loaders to defer initialisation to the EFI
+This protocol allows boot loaders to defer initialization to the EFI

This is an American vs British English issue. I don't know if the Linux kernel prefers one or the other.

We prefer they are best left as they are!

http://marc.info/[email protected]

BR,
Jani.

Quoted 20 lines

julia

Quoted 6 lines
Documentation/x86/boot.txt +0 -1
 boot stub. The boot loader is required to load the kernel/initrd(s)
 from the boot media and jump to the EFI handover protocol entry point
 which is hdr->handover_offset bytes from the beginning of
--

2.9.3

Quoted 7 lines

--
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/20170314083902.4491-1-diaconita.tamara%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 1 line
Jani Nikula, Intel Open Source Technology Center
maintainer
#3 lore raw
In reply to Tamara Diaconita

Documentation/x86/boot.txt Type: read · line 339

Quoted 2 lines · On Tue, 14 Mar 2017 10:39:02 +0200 Tamara Diaconita…
Documentation/x86/boot.txt +1 -1
-  If set to a nonzero value, contains a pointer to a NUL-terminated
+  If set to a nonzero value, contains a pointer to a NULL-terminated

This one is actually correct as-is. NUL is an ASCII character zero, as one would find at the end of a string, while NULL is a pointer value.

Thanks,

jon