Skip to contentSkip to conversation

kernel: debug: fix typo issue

PATCH Applied samirweng1979 2 participants 5 messages Feb 3, 2021 – Feb 4, 2021 KGDB / KDB /debug_core

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel: debug: fix typo issue

From: wengjianfeng <[email protected]>

change 'regster' to 'register'.

---
 kernel/debug/gdbstub.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/debug/gdbstub.c +2 -2
index a77df59..e149a0a 100644
@@ -595,7 +595,7 @@ static char *gdb_hex_reg_helper(int regnum, char *out)
 			    dbg_reg_def[i].size);
 }
 
-/* Handle the 'p' individual regster get */
+/* Handle the 'p' individual register get */
 static void gdb_cmd_reg_get(struct kgdb_state *ks)
 {
 	unsigned long regnum;
@@ -610,7 +610,7 @@ static void gdb_cmd_reg_get(struct kgdb_state *ks)
 	gdb_hex_reg_helper(regnum, remcom_out_buffer);
 }
 
-/* Handle the 'P' individual regster set */
+/* Handle the 'P' individual register set */
 static void gdb_cmd_reg_set(struct kgdb_state *ks)
 {
 	unsigned long regnum;
Signature · 1 line
1.9.1
#1 lore raw
Quoted 5 lines · On Wed, Feb 03, 2021 at 04:10:34PM +0800, samirweng1979 wrote:

From: wengjianfeng <[email protected]>

change 'regster' to 'register'.

It looks like the Subject line might not be correct for this patch?

Is it really the first time this patch has been circulated or should it have been tagged RESEND or v2?

Daniel.

Quoted 30 lines
---
 kernel/debug/gdbstub.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/debug/gdbstub.c +2 -2
index a77df59..e149a0a 100644
@@ -595,7 +595,7 @@ static char *gdb_hex_reg_helper(int regnum, char *out)
 			    dbg_reg_def[i].size);
 }
 
-/* Handle the 'p' individual regster get */
+/* Handle the 'p' individual register get */
 static void gdb_cmd_reg_get(struct kgdb_state *ks)
 {
 	unsigned long regnum;
@@ -610,7 +610,7 @@ static void gdb_cmd_reg_get(struct kgdb_state *ks)
 	gdb_hex_reg_helper(regnum, remcom_out_buffer);
 }
 
-/* Handle the 'P' individual regster set */
+/* Handle the 'P' individual register set */
 static void gdb_cmd_reg_set(struct kgdb_state *ks)
 {
 	unsigned long regnum;
Signature · 1 line
1.9.1
#2 lore raw
Quoted 37 lines · On Wed, 3 Feb 2021 11:23:59 +0000 Daniel Thompson <[email protected]>…
Quoted 5 lines · On Wed, Feb 03, 2021 at 04:10:34PM +0800, samirweng1979 wrote:

From: wengjianfeng <[email protected]>

change 'regster' to 'register'.

It looks like the Subject line might not be correct for this patch?

Is it really the first time this patch has been circulated or should it have been tagged RESEND or v2?

Daniel.

Quoted 21 lines
---
 kernel/debug/gdbstub.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/debug/gdbstub.c +1 -1
index a77df59..e149a0a 100644
@@ -595,7 +595,7 @@ static char *gdb_hex_reg_helper(int regnum,
 char *out) dbg_reg_def[i].size);
 }
 
-/* Handle the 'p' individual regster get */
+/* Handle the 'p' individual register get */
 static void gdb_cmd_reg_get(struct kgdb_state *ks)
 {
 	unsigned long regnum;
@@ -610,7 +610,7 @@ static void gdb_cmd_reg_get(struct kgdb_state
 *ks) gdb_hex_reg_helper(regnum, remcom_out_buffer);
 }
 
Quoted 9 lines
Quoted 9 lines
kernel/debug/gdbstub.c +1 -1
-/* Handle the 'P' individual regster set */
+/* Handle the 'P' individual register set */
 static void gdb_cmd_reg_set(struct kgdb_state *ks)
 {
 	unsigned long regnum;
Signature · 1 line
1.9.1

Hi Daniel,
The patch was first sent on January 25, but nobody relply me, so I just resend the patch, and the patch is the same as last time,does I need add RESEND tag? thanks.

#3 lore raw
Quoted 10 lines · wengjianfeng
Quoted 7 lines · On Wed, 3 Feb 2021 11:23:59 +0000 Daniel Thompson <[email protected]>…
Quoted 5 lines · On Wed, Feb 03, 2021 at 04:10:34PM +0800, samirweng1979 wrote:

From: wengjianfeng <[email protected]>

change 'regster' to 'register'.

Quoted 8 lines
Quoted 4 lines

It looks like the Subject line might not be correct for this patch?

Is it really the first time this patch has been circulated or should it have been tagged RESEND or v2?

The patch was first sent on January 25, but nobody relply me, so I just resend the patch, and the patch is the same as last time,does I need add RESEND tag? thanks.

Yes. When resending a patch adding a RESEND is a useful courtesy to let the maintainer know why they have received two copies of the same patch (and to make clear that the content is the same).

Daniel.