Skip to contentSkip to conversation

kconfig: trivial: fix typos

PATCH In review Martin Walch 2 participants 2 messages Oct 2, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/4 kconfig: trivial: fix typos

From: Martin Walch <[email protected]>
Date: Wed, 2 Oct 2013 06:56:45 +0200
Subject: [PATCH 2/4] kconfig: trivial: fix typos

inser() -> insert(), tell -> tells, peoperty -> property

---
 scripts/kconfig/mconf.c  | 2 +-
 scripts/kconfig/menu.c   | 2 +-
 scripts/kconfig/symbol.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
scripts/kconfig/mconf.c +1 -1
index 2c39631..39abdae 100644
@@ -263,7 +263,7 @@ search_help[] = N_(
 	"    Press the key in the (#) prefix to jump directly to that\n"
 	"    location. You will be returned to the current search results\n"
 	"    after exiting this new menu.\n"
-	"o The 'Selects:' line tell what symbol will be automatically\n"
+	"o The 'Selects:' line tells what symbols will be automatically\n"
 	"  selected if this symbol is selected (y or m)\n"
 	"o The 'Selected by' line tell what symbol has selected this symbol\n"
 	"\n"
scripts/kconfig/menu.c +1 -1
index c1d5320..b970101 100644
@@ -597,7 +597,7 @@ static void get_prompt_str(struct gstr *r, struct property *prop,
 }
 
 /*
- * get peoperty of type P_SYMBOL
+ * get property of type P_SYMBOL
  */
 static struct property *get_symbol_prop(struct symbol *sym)
 {
scripts/kconfig/symbol.c +1 -1
index c9a6775..7caabdb 100644
@@ -1047,7 +1047,7 @@ sym_re_search_free:
  * When we check for recursive dependencies we use a stack to save
  * current state so we can print out relevant info to user.
  * The entries are located on the call stack so no need to free memory.
- * Note inser() remove() must always match to properly clear the stack.
+ * Note insert() remove() must always match to properly clear the stack.
  */
 static struct dep_stack {
 	struct dep_stack *prev, *next;
Signature · 1 line
1.8.1.5
#1 lore raw

Hi Martin,

Quoted 18 lines · Martin Walch

From: Martin Walch <[email protected]>
Date: Wed, 2 Oct 2013 06:56:45 +0200
Subject: [PATCH 2/4] kconfig: trivial: fix typos

inser() -> insert(), tell -> tells, peoperty -> property

---
 scripts/kconfig/mconf.c  | 2 +-
 scripts/kconfig/menu.c   | 2 +-
 scripts/kconfig/symbol.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
scripts/kconfig/mconf.c +0 -0
index 2c39631..39abdae 100644

scripts/kconfig/mconf.c search_help[] = N_( · line 269

Quoted 8 lines
scripts/kconfig/mconf.c +1 -1
@@ -263,7 +263,7 @@ search_help[] = N_(
 	"    Press the key in the (#) prefix to jump directly to that\n"
 	"    location. You will be returned to the current search results\n"
 	"    after exiting this new menu.\n"
-	"o The 'Selects:' line tell what symbol will be automatically\n"
+	"o The 'Selects:' line tells what symbols will be automatically\n"
 	"  selected if this symbol is selected (y or m)\n"
 	"o The 'Selected by' line tell what symbol has selected this symbol\n"
 	"\n"

There are 5 occurrences of this spelling mistake in the paragraph. Please fix them all. And while you're here, you may find that "what symbols needs" has a spelling mistake too.

Quoted 18 lines
scripts/kconfig/menu.c +1 -1
index c1d5320..b970101 100644
@@ -597,7 +597,7 @@ static void get_prompt_str(struct gstr *r, struct property *prop,
 }
 
 /*
- * get peoperty of type P_SYMBOL
+ * get property of type P_SYMBOL
  */
 static struct property *get_symbol_prop(struct symbol *sym)
 {
scripts/kconfig/symbol.c +0 -0
index c9a6775..7caabdb 100644

scripts/kconfig/symbol.c sym_re_search_free: · line 1053

Quoted 8 lines
scripts/kconfig/symbol.c +1 -1
@@ -1047,7 +1047,7 @@ sym_re_search_free:
  * When we check for recursive dependencies we use a stack to save
  * current state so we can print out relevant info to user.
  * The entries are located on the call stack so no need to free memory.
- * Note inser() remove() must always match to properly clear the stack.
+ * Note insert() remove() must always match to properly clear the stack.
  */
 static struct dep_stack {
 	struct dep_stack *prev, *next;

Thanks,

Signature · 2 lines
Jean Delvare
Suse L3