Skip to contentSkip to conversation

scripts: Mere typo fixes in the file kallsyms.c

PATCH In review Bhaskar Chowdhury 2 participants 2 messages Mar 14, 2021 – Mar 15, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scripts: Mere typo fixes in the file kallsyms.c

Ordinary spelling fixes.

---
 scripts/kallsyms.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/kallsyms.c +2 -2
index 7ecd2ccba531..4d44aba8c212 100644
@@ -12,7 +12,7 @@
  *  map char code 0xF7 to represent "write_" and then in every symbol where
  *  "write_" appears it can be replaced by 0xF7, saving 5 bytes.
  *      The used codes themselves are also placed in the table so that the
- *  decompresion can work without "special cases".
+ *  decompression can work without "special cases".
  *      Applied to kernel symbols, this usually produces a compression ratio
  *  of about 50%.
  *
@@ -337,7 +337,7 @@ static void output_label(const char *label)
 	printf("%s:\n", label);
 }
 
-/* Provide proper symbols relocatability by their '_text' relativeness. */
+/* Provide proper symbols relocate ability by their '_text' relativeness. */
 static void output_address(unsigned long long addr)
 {
 	if (_text <= addr)

--
2.30.2

#1 lore raw
Quoted 22 lines · Bhaskar Chowdhury

Ordinary spelling fixes.

---
 scripts/kallsyms.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/kallsyms.c +1 -1
index 7ecd2ccba531..4d44aba8c212 100644
@@ -12,7 +12,7 @@
  *  map char code 0xF7 to represent "write_" and then in every symbol where
  *  "write_" appears it can be replaced by 0xF7, saving 5 bytes.
  *      The used codes themselves are also placed in the table so that the
- *  decompresion can work without "special cases".
+ *  decompression can work without "special cases".
  *      Applied to kernel symbols, this usually produces a compression ratio
  *  of about 50%.
  *

scripts/kallsyms.c static void output_label(const char *label) · line 340

Quoted 5 lines
scripts/kallsyms.c +1 -1
@@ -337,7 +337,7 @@ static void output_label(const char *label)
 	printf("%s:\n", label);
 }
 
-/* Provide proper symbols relocatability by their '_text' relativeness. */
+/* Provide proper symbols relocate ability by their '_text' relativeness. */

I don't see a problem here that needs to be fixed.

Quoted 4 lines
scripts/kallsyms.c +0 -1
 static void output_address(unsigned long long addr)
 {
 	if (_text <= addr)
--
Signature · 1 line
~Randy