Skip to content

debugfs: Fixes and improvements to debugfs_create_str()

Richard Fitzgerald lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5debugfs: Prevent NULL dereference reading from string propertyfs/debugfs/file.c+3 -06 replies
2/5debugfs: Remove kerneldoc that says debugfs_create_str() returns a valuefs/debugfs/file.c+0 -90 replies
3/5debugfs: Update debugfs_create_str() kerneldoc to warn about pointer racefs/debugfs/file.c+8 -13 replies
4/5debugfs: Move debugfs_create_str() export to correct locationfs/debugfs/file.c+1 -10 replies
5/5debugfs: Add debugfs_create_const_str()include/linux/debugfs.h+27 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] debugfs: Fixes and improvements to debugfs_create_str()

Fix NULL-deference bug, kerneldoc errors, minor coding style error. Also add a wrapper to avoid having to cast a const pointer to non-const.

Richard Fitzgerald (5):
debugfs: Prevent NULL dereference reading from string property
debugfs: Remove kerneldoc that says debugfs_create_str() returns a
value
debugfs: Update debugfs_create_str() kerneldoc to warn about pointer
race
debugfs: Move debugfs_create_str() export to correct location
debugfs: Add debugfs_create_const_str()

 fs/debugfs/file.c       | 21 +++++++++++----------
 include/linux/debugfs.h | 27 +++++++++++++++++++++++++++
 2 files changed, 38 insertions(+), 10 deletions(-)
Signature · 1 line
2.30.2