Skip to content

lib/string: introduce kbasename helper

Andy Shevchenko linux-mm lkml 3 versions – In review

Get series with b4
b4 am 1350388094-18805-1-git-send-email-andriy.shevchenko@linux.intel.com

Versions newest first · linked by author and title

  1. v3 Latest6 patches 1 replyIn review
  2. v26 patches 8 repliesSuperseded
  3. v17 patches 10 repliesSuperseded

Changes in v3 from the cover letter

- fixed Cc list in the patch 6/6 ("trace: ...")
- update patch 3/6 ("rts_pstor: ...") to not hide const qualifier
- send patch 1/1 to all people involved to the series
- rebase against recent linux-next

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6string: introduce helper to get base file name from given pathinclude/linux/string.h+11 -00 replies
1/6lib/string: introduce helper to get base file name from given pathinclude/linux/string.h+11 -00 replies
2/6lib: dynamic_debug: reuse kbasename()lib/dynamic_debug.c+1 -80 replies
3/6staging: rts_pstor: reuse kbasename()drivers/staging/rts_pstor/trace.h+4 -201 reply
4/6mm: reuse kbasename() functionalitymm/memory.c+3 -50 replies
5/6procfs: reuse kbasename() functionalityfs/proc/proc_devtree.c+2 -50 replies
6/6trace: reuse kbasename() functionalitykernel/trace/trace_uprobe.c+4 -40 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchGreg Kroah-Hartman
1/6
1/6
2/6
3/6A-b
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCHv3 0/6] lib/string: introduce kbasename helper

There are several places in kernel that duplicate code to get last part of the pathname. This patchset introduces a helper and few fixes.

Since v2:
- fixed Cc list in the patch 6/6 ("trace: ...")
- update patch 3/6 ("rts_pstor: ...") to not hide const qualifier
- send patch 1/1 to all people involved to the series
- rebase against recent linux-next
Since v1:
- fix changelog of the patch 1 - we are doing basename(3) alike helper
- usb related patch temporary excluded from series (under discussion with Greg)

Andy Shevchenko (6):
lib/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 |   24 ++++--------------------
 fs/proc/proc_devtree.c            |    7 ++-----
 include/linux/string.h            |   11 +++++++++++
 kernel/trace/trace_uprobe.c       |    8 ++++----
 lib/dynamic_debug.c               |    9 +--------
 mm/memory.c                       |    8 +++-----
 6 files changed, 25 insertions(+), 42 deletions(-)
Signature · 1 line
1.7.10.4