diff options
| author | 2025-05-27 17:00:08 +0800 | |
|---|---|---|
| committer | 2025-09-08 17:23:34 +0200 | |
| commit | fd8a620f195e7966d83c367def68818a2cc71177 (patch) | |
| tree | 61e3d0cad1f209dba683887d4cf99c9f831b8a10 /drivers/cdx/controller/cdx_controller.c | |
| parent | fs: hpfs: Avoid multiple -Wflex-array-member-not-at-end warnings (diff) | |
| download | linux-rng-fd8a620f195e7966d83c367def68818a2cc71177.tar.xz linux-rng-fd8a620f195e7966d83c367def68818a2cc71177.zip | |
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 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
