Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1737593

Re: [PATCH] selftests: timers: set-timer-lat: Fix hang when testing unsupported alarms

From Greg Hackmann <ghackmann@google.com>
Newsgroups linux.kernel
Subject Re: [PATCH] selftests: timers: set-timer-lat: Fix hang when testing unsupported alarms
Date 2017-09-22 18:00 +0200
Message-ID <usywV-7Vf-7@gated-at.bofh.it> (permalink)
References <usfDY-57h-15@gated-at.bofh.it> <usxrd-7fo-53@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] selftests: timers: set-timer-lat: Fix hang when testing unsupported alarms Shuah Khan <shuahkh@osg.samsung.com> - 2017-09-21 21:50 +0200
  Re: [PATCH] selftests: timers: set-timer-lat: Fix hang when testing  unsupported alarms Shuah Khan <shuahkh@osg.samsung.com> - 2017-09-22 16:50 +0200
    Re: [PATCH] selftests: timers: set-timer-lat: Fix hang when testing  unsupported alarms Greg Hackmann <ghackmann@google.com> - 2017-09-22 18:00 +0200
      Re: [PATCH] selftests: timers: set-timer-lat: Fix hang when testing  unsupported alarms Shuah Khan <shuahkh@osg.samsung.com> - 2017-09-22 18:30 +0200

csiph-web