From: Ingo Molnar <mingo@kernel.org>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Colin King <colin.king@canonical.com>,
Ingo Molnar <mingo@redhat.com>,
linux-kernel@vger.kernel.org, trivial@kernel.org
Subject: Re: [PATCH] tracing/syscalls: add in missing white space in error message text
Date: Tue, 13 Sep 2016 20:35:51 +0200 [thread overview]
Message-ID: <20160913183551.GA32416@gmail.com> (raw)
In-Reply-To: <20160912094333.4a8dd78b@gandalf.local.home>
* Steven Rostedt <rostedt@goodmis.org> wrote:
> On Mon, 12 Sep 2016 12:41:27 +0100
> Colin King <colin.king@canonical.com> wrote:
>
> > From: Colin Ian King <colin.king@canonical.com>
> >
> > pr_info message spans two lines and the literal string is missing
> > a white space between words. Add the white space.
> >
> > Signed-off-by: Colin Ian King <colin.king@canonical.com>
> > ---
> > kernel/trace/trace_syscalls.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/kernel/trace/trace_syscalls.c b/kernel/trace/trace_syscalls.c
> > index b2b6efc..79d8752 100644
> > --- a/kernel/trace/trace_syscalls.c
> > +++ b/kernel/trace/trace_syscalls.c
> > @@ -610,7 +610,7 @@ static int perf_sysenter_enable(struct trace_event_call *call)
> > if (!sys_perf_refcount_enter)
> > ret = register_trace_sys_enter(perf_syscall_enter, NULL);
> > if (ret) {
> > - pr_info("event trace: Could not activate"
> > + pr_info("event trace: Could not activate "
> > "syscall entry trace point");
>
> Actually, the better fix is to make this one line. The 80 character
> limit is not applicable when it cuts strings in half, especially when
> it causes bugs like this.
>
> Also, this should go through trivial (with an ack from us).
Agreed that user visible strings should be on a single line. With that change:
Acked-by: Ingo Molnar <mingo@kernel.org>
Thanks,
Ingo
next prev parent reply other threads:[~2016-09-13 18:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-12 11:41 [PATCH] tracing/syscalls: add in missing white space in error message text Colin King
2016-09-12 13:43 ` Steven Rostedt
2016-09-13 18:35 ` Ingo Molnar [this message]
2016-09-12 17:34 ` Joe Perches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160913183551.GA32416@gmail.com \
--to=mingo@kernel.org \
--cc=colin.king@canonical.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=rostedt@goodmis.org \
--cc=trivial@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).