Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1239928

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

From "Rafael J. Wysocki" <rjw@rjwysocki.net>
Newsgroups linux.kernel
Subject Re: [PATCH] PM / wakeup: wakeup_source_create: use kstrdup_const
Date 2015-10-05 22:20 +0200
Message-ID <qgkoP-Wa-21@gated-at.bofh.it> (permalink)
References <q6VpE-703-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@rasmusvillemoes.dk>

Applied, thanks!

Rafael

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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] PM / wakeup: wakeup_source_create: use kstrdup_const "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-10-05 22:20 +0200

csiph-web