[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121217192806.GA10376@lizard.gateway.2wire.net>
Date: Mon, 17 Dec 2012 11:28:54 -0800
From: Anton Vorontsov <anton.vorontsov@...aro.org>
To: John Stultz <john.stultz@...aro.org>
Cc: linux-kernel@...r.kernel.org, Kees Cook <keescook@...omium.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH] time: create __getnstimeofday for WARNless calls
On Mon, Dec 17, 2012 at 01:51:54PM -0500, John Stultz wrote:
> From: Kees Cook <keescook@...omium.org>
>
> Hey Thomas,
> Wanted to see if maybe there was still time for this for 3.8?
> thanks
> -john
>
> The pstore RAM backend can get called during resume, and must be defensive
> against a suspended time source. Expose getnstimeofday logic that returns
> an error instead of a WARN. This can be detected and the timestamp can
> be zeroed out.
>
> Reported-by: Doug Anderson <dianders@...omium.org>
> Cc: Anton Vorontsov <anton.vorontsov@...aro.org>
> Cc: Thomas Gleixner <tglx@...utronix.de>
> Signed-off-by: Kees Cook <keescook@...omium.org>
> Signed-off-by: John Stultz <john.stultz@...aro.org>
> ---
> fs/pstore/ram.c | 10 +++++++---
For pstore/ram part:
Acked-by: Anton Vorontsov <anton.vorontsov@...aro.org>
Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists