linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kprobes: fix a comment typo
@ 2016-05-29 14:42 Jinbum Park
  0 siblings, 0 replies; 3+ messages in thread
From: Jinbum Park @ 2016-05-29 14:42 UTC (permalink / raw)
  To: mhiramat; +Cc: linux, linux-arm-kernel, linux-kernel, kernel-janitors

Just fix a typo in the code comment.

Signed-off-by: Jinbum Park <jinb.park7@gmail.com>
---
 arch/arm/probes/kprobes/opt-arm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/probes/kprobes/opt-arm.c b/arch/arm/probes/kprobes/opt-arm.c
index bcdecc2..073c0ba 100644
--- a/arch/arm/probes/kprobes/opt-arm.c
+++ b/arch/arm/probes/kprobes/opt-arm.c
@@ -223,7 +223,7 @@ int arch_prepare_optimized_kprobe(struct optimized_kprobe *op, struct kprobe *or
 	 *
 	 * So the maximum forward branch should be:
 	 *   (0x007fffff << 2) = 0x01fffffc =  0x1fffffc
-	 * The maximum backword branch should be:
+	 * The maximum backward branch should be:
 	 *   (0xff800000 << 2) = 0xfe000000 = -0x2000000
 	 *
 	 * We can simply check (rel & 0xfe000003):
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] kprobes: fix a comment typo
  2016-06-15 15:19 Jinbum Park
@ 2016-06-15 21:33 ` Masami Hiramatsu
  0 siblings, 0 replies; 3+ messages in thread
From: Masami Hiramatsu @ 2016-06-15 21:33 UTC (permalink / raw)
  To: Jinbum Park
  Cc: ananth, anil.s.keshavamurthy, davem, kernel-janitors,
	linux-kernel, linux-arm-kernel, linux

On Thu, 16 Jun 2016 00:19:22 +0900
Jinbum Park <jinb.park7@gmail.com> wrote:

> Just fix a typo in the code comment.

Thanks :)

Acked-by: Masami Hiramatsu <mhiramat@kernel.org>

> 
> Signed-off-by: Jinbum Park <jinb.park7@gmail.com>
> ---
>  arch/arm/probes/kprobes/opt-arm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/probes/kprobes/opt-arm.c b/arch/arm/probes/kprobes/opt-arm.c
> index bcdecc2..073c0ba 100644
> --- a/arch/arm/probes/kprobes/opt-arm.c
> +++ b/arch/arm/probes/kprobes/opt-arm.c
> @@ -223,7 +223,7 @@ int arch_prepare_optimized_kprobe(struct optimized_kprobe *op, struct kprobe *or
>  	 *
>  	 * So the maximum forward branch should be:
>  	 *   (0x007fffff << 2) = 0x01fffffc =  0x1fffffc
> -	 * The maximum backword branch should be:
> +	 * The maximum backward branch should be:
>  	 *   (0xff800000 << 2) = 0xfe000000 = -0x2000000
>  	 *
>  	 * We can simply check (rel & 0xfe000003):
> -- 
> 1.9.1
> 


-- 
Masami Hiramatsu <mhiramat@kernel.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] kprobes: fix a comment typo
@ 2016-06-15 15:19 Jinbum Park
  2016-06-15 21:33 ` Masami Hiramatsu
  0 siblings, 1 reply; 3+ messages in thread
From: Jinbum Park @ 2016-06-15 15:19 UTC (permalink / raw)
  To: ananth, anil.s.keshavamurthy, davem, mhiramat
  Cc: kernel-janitors, linux-kernel, linux-arm-kernel, linux

Just fix a typo in the code comment.

Signed-off-by: Jinbum Park <jinb.park7@gmail.com>
---
 arch/arm/probes/kprobes/opt-arm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/probes/kprobes/opt-arm.c b/arch/arm/probes/kprobes/opt-arm.c
index bcdecc2..073c0ba 100644
--- a/arch/arm/probes/kprobes/opt-arm.c
+++ b/arch/arm/probes/kprobes/opt-arm.c
@@ -223,7 +223,7 @@ int arch_prepare_optimized_kprobe(struct optimized_kprobe *op, struct kprobe *or
 	 *
 	 * So the maximum forward branch should be:
 	 *   (0x007fffff << 2) = 0x01fffffc =  0x1fffffc
-	 * The maximum backword branch should be:
+	 * The maximum backward branch should be:
 	 *   (0xff800000 << 2) = 0xfe000000 = -0x2000000
 	 *
 	 * We can simply check (rel & 0xfe000003):
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-15 21:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-29 14:42 [PATCH] kprobes: fix a comment typo Jinbum Park
2016-06-15 15:19 Jinbum Park
2016-06-15 21:33 ` Masami Hiramatsu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).