diff options
author | Xin Hao <xhao@linux.alibaba.com> | 2022-09-20 19:35:30 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-10-04 00:03:31 +0300 |
commit | 30b6242c49cd2a98def3bb2feee68d82a0e9686b (patch) | |
tree | beeff618d66f78bb386546388bddb42510263f41 /Makefile | |
parent | a57ae9ef9e1a20b68ae841a8cab7aff3f000ed9d (diff) | |
download | linux-30b6242c49cd2a98def3bb2feee68d82a0e9686b.tar.xz |
mm/damon/sysfs: return 'err' value when call kstrtoul() failed
We had better return the 'err' value when calling kstrtoul() failed, so
the user will know why it really fails, there do little change, let it
return the 'err' value when failed.
Link: https://lkml.kernel.org/r/6329ebe0.050a0220.ec4bd.297cSMTPIN_ADDED_BROKEN@mx.google.com
Suggested-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Xin Hao <xhao@linux.alibaba.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: SeongJae Park <sj@kernel.org>
Reviewed-by: Xin Hao <xhao@linux.alibaba.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions