diff options
author | Eugeniu Rosca <erosca@de.adit-jv.com> | 2017-07-01 14:57:27 +0200 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-07-24 12:36:47 -0600 |
commit | 7a5e10d439b162ae76e7d7a1bbd5653e62abb5bf (patch) | |
tree | 2397798eb051d1d644028616072bd60b8006c5af /kernel/padata.c | |
parent | selftests: watchdog: use getopt_long() (diff) | |
download | linux-dev-7a5e10d439b162ae76e7d7a1bbd5653e62abb5bf.tar.xz linux-dev-7a5e10d439b162ae76e7d7a1bbd5653e62abb5bf.zip |
selftests: watchdog: prefer strtoul() over atoi()
commit f15d7114bbdd ("Documentation/watchdog: add timeout and ping rate
control to watchdog-test.c") used both atoi() and strtoul() for string
to integer conversion. As usage of atoi() is discouraged in newer code,
replace it with strtoul() for consistency.
Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'kernel/padata.c')
0 files changed, 0 insertions, 0 deletions