staging: lustre: handle error returned from wait_event_timeout seltest timer
authorJames Simmons <jsimmons@infradead.org>
Sat, 12 Mar 2016 18:00:33 +0000 (13:00 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
commit3eaf9fcc4b97dc3a475d2328c29cfd46615b3e55
tree465273b7175e9da4dac88077ec80fc994fbb8867
parentea25f451a063e1934402fab578d85ea8254d3dee
staging: lustre: handle error returned from wait_event_timeout seltest timer

The function wait_event_timeout can fail and return an error. Handle
this case in stt_timer_main().

Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/selftest/timer.c