[lkml]   [2015]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: kdbus: avoid the use of struct timespec
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

 \ /
  Last update: 2015-04-10 15:01    [W:0.031 / U:2.948 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site