diff options
author | John Stultz <[email protected]> | 2015-04-01 20:43:39 -0700 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2015-04-02 10:32:33 -0600 |
commit | 48fd77d1444a387435c3bbc773fa4e7ab6b6aca3 (patch) | |
tree | ad3b0afd5e44ad7202eb2a4b6ad5607eddd4996c /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 072264fee89633b676f656613efff7dd5cdbf88a (diff) |
kselftests: timers: Make set-timer-lat fail more gracefully for !CAP_WAKE_ALARM
The set-timer-lat test fails when testing CLOCK_BOOTTIME_ALARM
or CLOCK_REALTIME_ALARM when the user isn't running as root or
with CAP_WAKE_ALARM.
So this patch improves the error checking so we report the
issue more clearly and continue rather then reporting a failure.
Cc: Shuah Khan <[email protected]>
Cc: Prarit Bhargava <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Richard Cochran <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions