[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130419.165039.358502902228449717.davem@davemloft.net>
Date: Fri, 19 Apr 2013 16:50:39 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: dborkman@...hat.com
Cc: netdev@...r.kernel.org, willemb@...gle.com, hawk@...u.dk
Subject: Re: [PATCH net-next 1/2] net: socket: move ktime2ts to ktime
header api
From: Daniel Borkmann <dborkman@...hat.com>
Date: Tue, 16 Apr 2013 13:29:10 +0200
> Currently, ktime2ts is a small helper function that is only used in
> net/socket.c. Move this helper into the ktime API as a small inline
> function, so that i) it's maintained together with ktime routines,
> and ii) also other files can make use of it. The function is named
> ktime_to_timespec_cond() and placed into the generic part of ktime,
> since we internally make use of ktime_to_timespec(). ktime_to_timespec()
> itself does not check the ktime variable for zero, hence, we name
> this function ktime_to_timespec_cond() for only a conditional
> conversion, and adapt its users to it.
>
> Signed-off-by: Daniel Borkmann <dborkman@...hat.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists