[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150910033406.GA107779@vmdeb7>
Date: Wed, 9 Sep 2015 20:34:06 -0700
From: Darren Hart <dvhart@...radead.org>
To: Rasmus Villemoes <linux@...musvillemoes.dk>
Cc: platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86: wmi: Remove private %pUL implementation
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@...musvillemoes.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
--
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