lkml.org 
[lkml]   [2012]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCHv2 0/6] lib/string: introduce kbasename helper
Date
There are several places in kernel that duplicate code to get last part of the pathname.
This patchset introduces a helper.

Since v1:
- fix changelog of the patch 1 - we are doing basname(3) alike helper
- usb related patch temporary excluded from series (under discussion with
Greg)

Andy Shevchenko (6):
string: introduce helper to get base file name from given path
lib: dynamic_debug: reuse kbasename()
staging: rts_pstor: reuse kbasename()
mm: reuse kbasename() functionality
procfs: reuse kbasename() functionality
trace: reuse kbasename() functionality

drivers/staging/rts_pstor/trace.h | 16 +++-------------
fs/proc/proc_devtree.c | 7 ++-----
include/linux/string.h | 11 +++++++++++
kernel/trace/trace_uprobe.c | 6 +++---
lib/dynamic_debug.c | 9 +--------
mm/memory.c | 8 +++-----
6 files changed, 23 insertions(+), 34 deletions(-)

--
1.7.10.4



\
 
 \ /
  Last update: 2012-10-03 11:41    [W:0.076 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site