Re: [PATCH] perf tools: replace assignment with comparison on assert check

2016-04-25 Thread Masami Hiramatsu
On Sat, 23 Apr 2016 14:45:54 +0100 Colin King wrote: > From: Colin Ian King > > The current assert check is checking an assignment, which will always > be true. Instead, the assert should be checking if scale is equal > to 0.122 > Looks good to me. Reviewed-by: Masami Hiramatsu > Signed-o

[PATCH] perf tools: replace assignment with comparison on assert check

2016-04-23 Thread Colin King
From: Colin Ian King The current assert check is checking an assignment, which will always be true. Instead, the assert should be checking if scale is equal to 0.122 Signed-off-by: Colin Ian King --- tools/perf/tests/event_update.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -