lkml.org 
[lkml]   [2017]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] selftests: timers: set-timer-lat: Fix hang when testing unsupported alarms
From
Date
On 09/22/2017 07:41 AM, Shuah Khan wrote:
> I assume you are good with this fix. I plan to apply it to linux-kselftest fixes
> today. Please let me know if you have any objections.
>
> thanks,
> -- Shuah
>

AIUI this check was added so set-timer-lat would treat a missing
CAP_WAKE_ALARM as a skipped test (rather than making the entire test
fail). So setup_timer()'s callers would need to treat this as a special
case, by returning immediately but with a return value of 0.

\
 
 \ /
  Last update: 2017-09-22 17:52    [W:0.093 / U:0.808 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site