[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1545583098.4383.3.camel@kernel.org>
Date: Sun, 23 Dec 2018 10:38:18 -0600
From: Tom Zanussi <zanussi@...nel.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Joe Perches <joe@...ches.com>,
Namhyung Kim <namhyung@...nel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Yoshinori Sato <ysato@...rs.sourceforge.jp>,
Rich Felker <dalias@...c.org>, linux-sh@...r.kernel.org
Subject: Re: [for-next][PATCH 2/5] tracing: Use str_has_prefix() helper for
histogram code
On Sat, 2018-12-22 at 22:53 -0500, Steven Rostedt wrote:
> On Sat, 22 Dec 2018 12:03:41 -0600
> Tom Zanussi <zanussi@...nel.org> wrote:
>
> > Hi Steve,
> >
> > On Sat, 2018-12-22 at 13:01 -0500, Steven Rostedt wrote:
> > > On Sat, 22 Dec 2018 11:20:09 -0500
> > > Steven Rostedt <rostedt@...dmis.org> wrote:
> > >
> > > > From: "Steven Rostedt (VMware)" <rostedt@...dmis.org>
> > > >
> > > > The tracing histogram code contains a lot of instances of the
> > > > construct:
> > > >
> > > > strncmp(str, "const", sizeof("const") - 1)
> > > >
> > > > This can be prone to bugs due to typos or bad cut and paste.
> > > > Use
> > > > the
> > > > str_has_prefix() helper macro instead that removes the need for
> > > > having two
> > > > copies of the constant string.
> > > >
> > > > Cc: Tom Zanussi <zanussi@...ux.intel.com>
> > >
> > > I have no idea why I copied your intel email. The linux.intel.com
> > > appears to be no longer active. I'm going to rebase to fix this
> > > email
> > > address.
> >
> > linux.intel.com is active, but there's no zanussi there, just
> > tom.zanussi ;-)
> >
> > So tom.zanussi@...ux.intel.com should work fine.
>
> BTW, would you give me your ack-by?
>
Sure,
Acked-by: Tom Zanussi <tom.zanussi@...ux.intel.com>
Tom
> -- Steve
>
Powered by blists - more mailing lists