From: Darren Hart <dvhart@infradead.org>
To: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86: wmi: Remove private %pUL implementation
Date: Wed, 9 Sep 2015 20:34:06 -0700 [thread overview]
Message-ID: <20150910033406.GA107779@vmdeb7> (raw)
In-Reply-To: <1441836525-26194-1-git-send-email-linux@rasmusvillemoes.dk>
On Thu, Sep 10, 2015 at 12:08:45AM +0200, Rasmus Villemoes wrote:
> The work performed by wmi_gtoa is equivalent to simply sprintf(out,
> "%pUL", in), so one could replace its body by this. However, most
> users feed the result directly as a %s argument to some other function
> which also understands the %p extensions (they all ultimately use
> vsnprintf), so we can eliminate some stack buffers and quite a bit of
> code by just using %pUL directly.
>
> In wmi_dev_uevent I'm not sure whether there's room for a
> nul-terminator in env->buf, so I've just replaced wmi_gtoa with the
> equivalent sprintf call.
>
> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
> ---
> Resending, hoping to get it picked up this time.
I appear to have dropped the ball on this, even after you sent me a reminder. My
sincere apologies.
I've re-reviewed, built myself, queued to testing, and it's now getting the
0-day treatment. Provided that comes back good - hopefully tonight, I'll push to
for-next, and you'll see it in next in the morning, and to Linus on Friday
before the close of the merge window for 4.3.
--
Darren Hart
Intel Open Source Technology Center
prev parent reply other threads:[~2015-09-10 3:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-24 14:15 [PATCH] x86: wmi: Remove private %pUL implementation Rasmus Villemoes
2015-03-06 17:52 ` Darren Hart
2015-05-12 12:06 ` Rasmus Villemoes
2015-09-09 22:08 ` Rasmus Villemoes
2015-09-10 3:34 ` Darren Hart [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=20150910033406.GA107779@vmdeb7 \
--to=dvhart@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@rasmusvillemoes.dk \
--cc=platform-driver-x86@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.