]> asedeno.scripts.mit.edu Git - linux.git/commit
selftests: watchdog: Add optional file argument
authorGeorge G. Davis <george_davis@mentor.com>
Fri, 30 Aug 2019 19:32:23 +0000 (15:32 -0400)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 23 Sep 2019 14:33:16 +0000 (08:33 -0600)
commita4864a33f56caa6592acc69a6d265f3f3dca5eae
tree8a3b52b3cae65d9f779dba1e8764719599a61f15
parent88282297fff00796e81f5e67734a6afdfb31fbc4
selftests: watchdog: Add optional file argument

Some systems have multiple watchdog devices where the first device
registered is assigned to the /dev/watchdog device file. In order
to test other watchdog devices, add an optional file argument for
selecting non-default watchdog devices for testing.

Tested-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Signed-off-by: George G. Davis <george_davis@mentor.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/watchdog/watchdog-test.c