From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933145AbbDJMfi (ORCPT ); Fri, 10 Apr 2015 08:35:38 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:34227 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933068AbbDJMfb (ORCPT ); Fri, 10 Apr 2015 08:35:31 -0400 Date: Fri, 10 Apr 2015 14:35:27 +0200 From: Greg Kroah-Hartman To: Arnd Bergmann Cc: Daniel Mack , David Herrmann , Djalal Harouni , linux-kernel@vger.kernel.org Subject: Re: kdbus: avoid the use of struct timespec Message-ID: <20150410123527.GA5392@kroah.com> References: <7770444.Orjuxv4CFX@wuerfel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7770444.Orjuxv4CFX@wuerfel> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 10, 2015 at 01:43:37PM +0200, Arnd Bergmann wrote: > I did a routine check for new users of 'timespec', which we are trying to remove > from the kernel in order to survive y2038. kdbus came up and looks particularly > trivial to clean up. > > This changes the three ktime_get_ts() variants used in kdbus to ktime_get_ns(), > which aside from removing timespec also simplifies the code and makes it > slightly more efficient by avoiding a two-way conversion. > > Signed-off-by: Arnd Bergmann Applied, thanks. greg k-h