Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1675631 > unrolled thread

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

Started byColin King <colin.king@canonical.com>
First post2017-06-27 14:50 +0200
Last post2017-07-01 11:00 +0200
Articles 5 — 4 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] perf jit: fix typo: "incalid" -> "invalid" Colin King <colin.king@canonical.com> - 2017-06-27 14:50 +0200
    Re: [PATCH] perf jit: fix typo: "incalid" -> "invalid" Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-06-27 17:00 +0200
      Re: [PATCH] perf jit: fix typo: "incalid" -> "invalid" Colin Ian King <colin.king@canonical.com> - 2017-06-27 17:00 +0200
        Re: [PATCH] perf jit: fix typo: "incalid" -> "invalid" Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-06-27 21:10 +0200
    [tip:perf/core] perf jit: fix typo: "incalid" -> "invalid" tip-bot for Colin Ian King <tipbot@zytor.com> - 2017-07-01 11:00 +0200

#1675631 — [PATCH] perf jit: fix typo: "incalid" -> "invalid"

FromColin King <colin.king@canonical.com>
Date2017-06-27 14:50 +0200
Subject[PATCH] perf jit: fix typo: "incalid" -> "invalid"
Message-ID<tWY6m-xc-5@gated-at.bofh.it>
From: Colin Ian King <colin.king@canonical.com>

Trivial fix to typo in mlx4_dbg warnx warning message

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 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

[toc] | [next] | [standalone]


#1675862

FromArnaldo Carvalho de Melo <acme@kernel.org>
Date2017-06-27 17:00 +0200
Message-ID<tX089-1VG-15@gated-at.bofh.it>
In reply to#1675631
Em Tue, Jun 27, 2017 at 01:49:17PM +0100, Colin King escreveu:
> From: Colin Ian King <colin.king@canonical.com>
> 
> 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,

- Arnaldo
 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  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

[toc] | [prev] | [next] | [standalone]


#1675864

FromColin Ian King <colin.king@canonical.com>
Date2017-06-27 17:00 +0200
Message-ID<tX089-1VG-19@gated-at.bofh.it>
In reply to#1675862
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@canonical.com>
>>
>> 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@canonical.com>
>> ---
>>  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

[toc] | [prev] | [next] | [standalone]


#1676088

FromArnaldo Carvalho de Melo <acme@kernel.org>
Date2017-06-27 21:10 +0200
Message-ID<tX425-4PK-13@gated-at.bofh.it>
In reply to#1675864
Em Tue, Jun 27, 2017 at 03:56:05PM +0100, Colin Ian King escreveu:
> 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@canonical.com>
> >>
> >> 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.

:-)

Mine fail from time to time as well, no biggie.

- Arnaldo

[toc] | [prev] | [next] | [standalone]


#1679294 — [tip:perf/core] perf jit: fix typo: "incalid" -> "invalid"

Fromtip-bot for Colin Ian King <tipbot@zytor.com>
Date2017-07-01 11:00 +0200
Subject[tip:perf/core] perf jit: fix typo: "incalid" -> "invalid"
Message-ID<tYmpY-P8-13@gated-at.bofh.it>
In reply to#1675631
Commit-ID:  19f0edb980a0f66ccd80b712dadb0239782f8af5
Gitweb:     http://git.kernel.org/tip/19f0edb980a0f66ccd80b712dadb0239782f8af5
Author:     Colin Ian King <colin.king@canonical.com>
AuthorDate: Tue, 27 Jun 2017 13:49:17 +0100
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Tue, 27 Jun 2017 11:55:06 -0300

perf jit: fix typo: "incalid" -> "invalid"

Trivial fix to typo in jvmti_close() warnx warning message.

Signed-off-by: Colin King <colin.king@canonical.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/20170627124917.19151-1-colin.king@canonical.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 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 e9651a9..cf36de7 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;
 	}
 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web