Skip to contentSkip to conversation

kernel: debug: Ordinary typo fixes in the file gdbstub.c

PATCH Applied Bhaskar Chowdhury 3 participants 3 messages Mar 17, 2021 – Mar 22, 2021 KGDB / KDB /debug_core

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 kernel: debug: Ordinary typo fixes in the file gdbstub.c

s/overwitten/overwritten/
s/procesing/processing/

---
Changes from V1:
As Daniel pointed out, I was misdoing a check,so corrected

 kernel/debug/gdbstub.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/debug/gdbstub.c +2 -2
index e149a0ac9e9e..8372897402f4 100644
@@ -321,7 +321,7 @@ int kgdb_hex2long(char **ptr, unsigned long *long_val)
 /*
  * Copy the binary array pointed to by buf into mem.  Fix $, #, and
  * 0x7d escaped with 0x7d. Return -EFAULT on failure or 0 on success.
- * The input buf is overwitten with the result to write to mem.
+ * The input buf is overwritten with the result to write to mem.
  */
 static int kgdb_ebin2mem(char *buf, char *mem, int count)
 {
@@ -952,7 +952,7 @@ static int gdb_cmd_exception_pass(struct kgdb_state *ks)
 }
 
 /*
- * This function performs all gdbserial command procesing
+ * This function performs all gdbserial command processing
  */
 int gdb_serial_stub(struct kgdb_state *ks)
 {

--
2.30.2

Acked-by on v2 1/1
#1 lore raw
Quoted 4 lines · Bhaskar Chowdhury

s/overwitten/overwritten/
s/procesing/processing/

Quoted 30 lines

---
Changes from V1:
As Daniel pointed out, I was misdoing a check,so corrected

 kernel/debug/gdbstub.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/debug/gdbstub.c +2 -3
index e149a0ac9e9e..8372897402f4 100644
@@ -321,7 +321,7 @@ int kgdb_hex2long(char **ptr, unsigned long *long_val)
 /*
  * Copy the binary array pointed to by buf into mem.  Fix $, #, and
  * 0x7d escaped with 0x7d. Return -EFAULT on failure or 0 on success.
- * The input buf is overwitten with the result to write to mem.
+ * The input buf is overwritten with the result to write to mem.
  */
 static int kgdb_ebin2mem(char *buf, char *mem, int count)
 {
@@ -952,7 +952,7 @@ static int gdb_cmd_exception_pass(struct kgdb_state *ks)
 }
 
 /*
- * This function performs all gdbserial command procesing
+ * This function performs all gdbserial command processing
  */
 int gdb_serial_stub(struct kgdb_state *ks)
 {
--
Signature · 1 line
~Randy
#2 lore raw
In reply to Bhaskar Chowdhury
Quoted 4 lines · Bhaskar Chowdhury

s/overwitten/overwritten/
s/procesing/processing/

Applied, Thanks!

Daniel.

Quoted 31 lines

---
Changes from V1:
As Daniel pointed out, I was misdoing a check,so corrected

 kernel/debug/gdbstub.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/debug/gdbstub.c +2 -3
index e149a0ac9e9e..8372897402f4 100644
@@ -321,7 +321,7 @@ int kgdb_hex2long(char **ptr, unsigned long *long_val)
 /*
  * Copy the binary array pointed to by buf into mem.  Fix $, #, and
  * 0x7d escaped with 0x7d. Return -EFAULT on failure or 0 on success.
- * The input buf is overwitten with the result to write to mem.
+ * The input buf is overwritten with the result to write to mem.
  */
 static int kgdb_ebin2mem(char *buf, char *mem, int count)
 {
@@ -952,7 +952,7 @@ static int gdb_cmd_exception_pass(struct kgdb_state *ks)
 }
 
 /*
- * This function performs all gdbserial command procesing
+ * This function performs all gdbserial command processing
  */
 int gdb_serial_stub(struct kgdb_state *ks)
 {
--

2.30.2