[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20101222143258.GA32740@ghostprotocols.net>
Date: Wed, 22 Dec 2010 12:32:58 -0200
From: Arnaldo Carvalho de Melo <acme@...radead.org>
To: Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>
Cc: Ingo Molnar <mingo@...e.hu>, Steven Rostedt <rostedt@...dmis.org>,
Srikar Dronamraju <srikar@...ux.vnet.ibm.com>,
linux-kernel@...r.kernel.org, 2nddept-manager@....hitachi.co.jp,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Paul Mackerras <paulus@...ba.org>
Subject: Re: [PATCH -tip 2/4] [BUGFIX]perf: Fix strlist__parse_list to handle
const string
Em Wed, Dec 22, 2010 at 01:57:39PM +0900, Masami Hiramatsu escreveu:
> (2010/12/22 3:23), Arnaldo Carvalho de Melo wrote:
> > Em Fri, Dec 17, 2010 at 10:12:06PM +0900, Masami Hiramatsu escreveu:
> > Wouldn't be better to just stop changing the string by passing the
> > length to strlist__parse_list_entry, etc?
>
> Yeah, it could be, but in that case, we need changing code
> wider.
> I think this is the simplest solution. :)
Ok, I'll try to fix it as I suggested, it it turns out difficult I'll
apply the minimal fix.
> (Of course, we have to check dupstr flag on top of strlist__load too.)
>
> Thank you,
You're welcome,
- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists