Re: [PATCH 1/5] powerpc/kprobes: Some cosmetic updates to try_to_emulate()

2017-09-14 Thread Kamalesh Babulal
On Thursday 14 September 2017 02:50 AM, Naveen N. Rao wrote: 1. This is only used in kprobes.c, so make it static. 2. Remove the un-necessary (ret == 0) comparison in the else clause. Signed-off-by: Naveen N. Rao Reviewed-by: Kamalesh Babulal

Re: [PATCH 1/5] powerpc/kprobes: Some cosmetic updates to try_to_emulate()

2017-09-13 Thread Masami Hiramatsu
On Thu, 14 Sep 2017 02:50:32 +0530 "Naveen N. Rao" wrote: > 1. This is only used in kprobes.c, so make it static. > 2. Remove the un-necessary (ret == 0) comparison in the else clause. > > Signed-off-by: Naveen N. Rao

[PATCH 1/5] powerpc/kprobes: Some cosmetic updates to try_to_emulate()

2017-09-13 Thread Naveen N. Rao
1. This is only used in kprobes.c, so make it static. 2. Remove the un-necessary (ret == 0) comparison in the else clause. Signed-off-by: Naveen N. Rao --- arch/powerpc/kernel/kprobes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git