Re: [PATCH] perf jit: fix typo: "incalid" -> "invalid"

From: Colin Ian King
Date: Tue Jun 27 2017 - 10:56:56 EST


On 27/06/17 15:54, Arnaldo Carvalho de Melo wrote:
> Em Tue, Jun 27, 2017 at 01:49:17PM +0100, Colin King escreveu:
>> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>>
>> Trivial fix to typo in mlx4_dbg warnx warning message
>
> Was this coccinele'd or otherwise automated? Would be nice to have this
> described in the cset log, I'm replacing mlx4_dbg() with jvmti_close()
> on this one, thanks,

It was badly automated by my grey cells.

>
> - Arnaldo
>
>> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>> ---
>> tools/perf/jvmti/jvmti_agent.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/tools/perf/jvmti/jvmti_agent.c b/tools/perf/jvmti/jvmti_agent.c
>> index e9651a9d670e..cf36de7ea255 100644
>> --- a/tools/perf/jvmti/jvmti_agent.c
>> +++ b/tools/perf/jvmti/jvmti_agent.c
>> @@ -304,7 +304,7 @@ jvmti_close(void *agent)
>> FILE *fp = agent;
>>
>> if (!fp) {
>> - warnx("jvmti: incalid fd in close_agent");
>> + warnx("jvmti: invalid fd in close_agent");
>> return -1;
>> }
>>
>> --
>> 2.11.0