From: chenyu5 <yu.c.chen@intel.com>
To: Len Brown <lenb@kernel.org>
Cc: "Brown, Len" <len.brown@intel.com>,
"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
"Zhang, Rui" <rui.zhang@intel.com>,
Linux PM list <linux-pm@vger.kernel.org>
Subject: Re: [RFC PATCH] tools/power turbostat: fix parameter passing for forked command
Date: Fri, 24 Jul 2015 14:02:34 +0800 [thread overview]
Message-ID: <55B1D4FA.7050406@intel.com> (raw)
In-Reply-To: <CAJvTdK=2bN7eYLLNrFZh7tMbiHgCjNenvf8ggSDRKhOK7XAQNA@mail.gmail.com>
On 2015年07月16日 09:18, Len Brown wrote:
> Thanks for reporting this, Yu.
>
> Does this pre-pending a '+' to getopt_long's optstring to prevent it
> from permuting the arguments help?:
>
>
> - while ((opt = getopt_long_only(argc, argv, "C:c:Ddhi:JM:m:PpST:v",
>
> + while ((opt = getopt_long_only(argc, argv, "+C:c:Ddhi:JM:m:PpST:v",
>
Hi, Len,
this patch works, and because I did not see this patch in linux-pm
branch or bleeding-edge branch, so I re-post this patch titled with
'v2' , is it suitable? thanks.
Yu
>
>
> Len Brown, Intel Open Source Technology Center
>
prev parent reply other threads:[~2015-07-24 5:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-11 2:02 [RFC PATCH] tools/power turbostat: fix parameter passing for forked command Chen Yu
2015-07-16 1:18 ` Len Brown
2015-07-16 8:49 ` Chen, Yu C
2015-07-24 6:02 ` chenyu5 [this message]
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=55B1D4FA.7050406@intel.com \
--to=yu.c.chen@intel.com \
--cc=len.brown@intel.com \
--cc=lenb@kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rafael.j.wysocki@intel.com \
--cc=rui.zhang@intel.com \
/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).