From: John Stultz Date: Wed, 13 May 2015 22:13:05 +0000 (-0700) Subject: kselftests: timers: Check _ALARM clockids are supported before suspending X-Git-Tag: omap-for-v4.3/legacy-v2-signed~105^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61171d0407b537eff299aea2388773b6c760e6eb;p=pandora-kernel.git kselftests: timers: Check _ALARM clockids are supported before suspending It was reported that the alarmtimer-suspend test hangs on older systems that don't support _ALARM clockids. This is due to the fact that we don't check if the timer_create fails, and thus when we suspend, the system will not programatically resume. Fix this by checking the timer_create call for errors. Cc: Shuah Khan Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Richard Cochran Signed-off-by: John Stultz Signed-off-by: Shuah Khan --- Reading git-diff-tree failed