summaryrefslogtreecommitdiff
path: root/rust/kernel/debugfs/callback_adapters.rs
diff options
context:
space:
mode:
authorSu Hui <suhui@nfschina.com>2025-05-27 17:00:08 +0800
committerMikulas Patocka <mpatocka@redhat.com>2025-09-08 17:23:34 +0200
commitfd8a620f195e7966d83c367def68818a2cc71177 (patch)
tree61e3d0cad1f209dba683887d4cf99c9f831b8a10 /rust/kernel/debugfs/callback_adapters.rs
parent68a74490629eb606ad77a88dd84515f35525e267 (diff)
hpfs: Replace simple_strtoul with kstrtoint in hpfs_parse_param
kstrtoint() is better because simple_strtoul() ignores overflow and the type of 'timeshift' is 'int' rather than 'unsigned long'. Using kstrtoint() is more concise too. Signed-off-by: Su Hui <suhui@nfschina.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'rust/kernel/debugfs/callback_adapters.rs')
0 files changed, 0 insertions, 0 deletions