summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/clk.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-06-05 20:05:52 +0300
committerKees Cook <keescook@chromium.org>2023-06-06 01:31:12 +0300
commitd01a77afd6bef1b3a2ed15e8ca6887ca7da0cddc (patch)
treeff135babefe273e172313fe59590cdd79ac512c1 /scripts/gdb/linux/clk.py
parent7afb6d8fa81fd8d332f70ead5e35d8c90abb8165 (diff)
downloadlinux-d01a77afd6bef1b3a2ed15e8ca6887ca7da0cddc.tar.xz
lib/string_helpers: Change returned value of the strreplace()
It's more useful to return the pointer to the string itself with strreplace(), so it may be used like attr->name = strreplace(name, '/', '_'); While at it, amend the kernel documentation. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20230605170553.7835-3-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions