From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (bilbo.ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 404rDP2GfjzF1Wc for ; Tue, 20 Mar 2018 09:23:01 +1100 (AEDT) In-Reply-To: <20180221214633.2012-1-alexandre.belloni@bootlin.com> To: Alexandre Belloni From: Michael Ellerman Cc: linux-rtc@vger.kernel.org, Alexandre Belloni , linux-kernel@vger.kernel.org, Paul Mackerras , linuxppc-dev@lists.ozlabs.org Subject: Re: powerpc/time: stop validating rtc_time in .read_time Message-Id: <404rDL3m5Dz9sVZ@ozlabs.org> Date: Tue, 20 Mar 2018 09:22:56 +1100 (AEDT) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2018-02-21 at 21:46:33 UTC, Alexandre Belloni wrote: > The RTC core is always calling rtc_valid_tm after the read_time callback. > It is not necessary to call it just before returning from the callback. > > Signed-off-by: Alexandre Belloni Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/890ae7979758568734881ad0f382c4 cheers