kstrtox: introduce memparse_safe()
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.