linux/tools/testing/selftests/watchdog
Eugeniu Rosca 7a5e10d439 selftests: watchdog: prefer strtoul() over atoi()
commit f15d7114bb ("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>
2017-07-24 12:36:47 -06:00
..
.gitignore selftests: move watchdog tests from Documentation/watchdog 2016-09-20 09:58:34 -06:00
Makefile selftests: move watchdog tests from Documentation/watchdog 2016-09-20 09:58:34 -06:00
watchdog-test.c selftests: watchdog: prefer strtoul() over atoi() 2017-07-24 12:36:47 -06:00