Re: [PATCH] PM / wakeup: wakeup_source_create: use kstrdup_const

From: Rafael J. Wysocki
Date: Mon Oct 05 2015 - 16:19:08 EST


On Wednesday, September 09, 2015 11:42:06 PM Rasmus Villemoes wrote:
> Using kstrdup_const allows us to save a little runtime memory (and a
> string copy) in the common case where name is a string literal.
>
> Signed-off-by: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>

Applied, thanks!

Rafael

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/