Skip to contentSkip to conversation

kstrtox: introduce memparse_safe()

PATCH Alexey Dobriyan 1 participant 1 message Dec 27, 2023

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines
fs/btrfs/ioctl.c        |   8 +-
fs/btrfs/super.c        |   8 ++
fs/btrfs/sysfs.c        |  14 ++-
include/linux/kernel.h  |   8 +-
include/linux/kstrtox.h |  15 +++
lib/cmdline.c           |   5 +-
lib/kstrtox.c           |  96 ++++++++++++++++++
lib/test-kstrtox.c      | 217 ++++++++++++++++++++++++++++++++++++++++
8 files changed, 364 insertions(+), 7 deletions(-)

Please keep memparse stuff out of kstrtox.c .
kstrtox.c is for kstrto*() functions.