From: Andy Shevchenko Date: Tue, 30 Apr 2013 22:27:30 +0000 (-0700) Subject: lib/string_helpers: introduce generic string_unescape X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~88^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16c7fa05829e8b91db48e3539c5d6ff3c2b18a23;p=pandora-kernel.git lib/string_helpers: introduce generic string_unescape There are several places in kernel where modules unescapes input to convert C-Style Escape Sequences into byte codes. The patch provides generic implementation of such approach. Test cases are also included into the patch. [akpm@linux-foundation.org: clarify comment] [akpm@linux-foundation.org: export get_random_int() to modules] Signed-off-by: Andy Shevchenko Cc: Samuel Thibault Cc: Greg Kroah-Hartman Cc: Jason Baron Cc: Alexander Viro Cc: William Hubbs Cc: Chris Brannon Cc: Kirk Reiser Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed