Re: kdbus: avoid the use of struct timespec

From: Greg Kroah-Hartman
Date: Fri Apr 10 2015 - 08:35:41 EST


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 <arnd@xxxxxxxx>

Applied, thanks.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/