diff options
author | Xin Hao <[email protected]> | 2022-09-20 16:35:30 +0000 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-10-03 14:03:31 -0700 |
commit | 30b6242c49cd2a98def3bb2feee68d82a0e9686b (patch) | |
tree | beeff618d66f78bb386546388bddb42510263f41 /net/lapb/lapb_timer.c | |
parent | a57ae9ef9e1a20b68ae841a8cab7aff3f000ed9d (diff) |
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/[email protected]
Suggested-by: SeongJae Park <[email protected]>
Signed-off-by: Xin Hao <[email protected]>
Reviewed-by: SeongJae Park <[email protected]>
Signed-off-by: SeongJae Park <[email protected]>
Reviewed-by: Xin Hao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions