diff options
| author | Andy Shevchenko <[email protected]> | 2013-04-30 22:27:30 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-05-01 00:04:03 +0000 |
| commit | 16c7fa05829e8b91db48e3539c5d6ff3c2b18a23 (patch) | |
| tree | 6658e9f27c033e5f6de19284fe9a6b8485360aa6 /lib/dynamic_debug.c | |
| parent | kernel/smp.c: cleanups (diff) | |
| download | kernel-16c7fa05829e8b91db48e3539c5d6ff3c2b18a23.tar.gz kernel-16c7fa05829e8b91db48e3539c5d6ff3c2b18a23.zip | |
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.
[[email protected]: clarify comment]
[[email protected]: export get_random_int() to modules]
Signed-off-by: Andy Shevchenko <[email protected]>
Cc: Samuel Thibault <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Jason Baron <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: William Hubbs <[email protected]>
Cc: Chris Brannon <[email protected]>
Cc: Kirk Reiser <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
