Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753705AbbDBOVR (ORCPT ); Thu, 2 Apr 2015 10:21:17 -0400 Received: from lists.s-osg.org ([54.187.51.154]:33255 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753668AbbDBOVM (ORCPT ); Thu, 2 Apr 2015 10:21:12 -0400 Message-ID: <551D5057.8030302@osg.samsung.com> Date: Thu, 02 Apr 2015 08:21:11 -0600 From: Shuah Khan Organization: Samsung Open Source Group User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: John Stultz , lkml CC: Prarit Bhargava , Thomas Gleixner , Richard Cochran , Shuah Khan Subject: Re: [PATCH v2] kselftests: timers: Make set-timer-lat fail more gracefully for !CAP_WAKE_ALARM References: <1427946219-31113-1-git-send-email-john.stultz@linaro.org> In-Reply-To: <1427946219-31113-1-git-send-email-john.stultz@linaro.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1057 Lines: 33 On 04/01/2015 09:43 PM, John Stultz wrote: > 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 > Cc: Prarit Bhargava > Cc: Thomas Gleixner > Cc: Richard Cochran > Signed-off-by: John Stultz > --- > v2: Fix a few checkpatch warnings. > Thanks. I will get this into 4.1-rc2. -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Open Source Innovation Group Samsung Research America (Silicon Valley) shuahkh@osg.samsung.com | (970) 217-8978 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/