Re: [Freedreno] [PATCH] drm/msm: avoid using 'timespec'

2018-07-11 Thread Sean Paul
On Tue, Jul 10, 2018 at 11:27:00PM +0200, Arnd Bergmann wrote: > On Tue, Jul 10, 2018 at 10:47 PM, Sean Paul wrote: > > On Mon, Jun 18, 2018 at 05:39:42PM +0200, Arnd Bergmann wrote: > >> The timespec structure and associated interfaces are deprecated and will > >> be removed in the future because

Re: [Freedreno] [PATCH] drm/msm: avoid using 'timespec'

2018-07-10 Thread Arnd Bergmann
On Tue, Jul 10, 2018 at 10:47 PM, Sean Paul wrote: > On Mon, Jun 18, 2018 at 05:39:42PM +0200, Arnd Bergmann wrote: >> The timespec structure and associated interfaces are deprecated and will >> be removed in the future because of the y2038 overflow. >> >> The use of ktime_to_timespec() in timeout

Re: [Freedreno] [PATCH] drm/msm: avoid using 'timespec'

2018-07-10 Thread Sean Paul
On Mon, Jun 18, 2018 at 05:39:42PM +0200, Arnd Bergmann wrote: > The timespec structure and associated interfaces are deprecated and will > be removed in the future because of the y2038 overflow. > > The use of ktime_to_timespec() in timeout_to_jiffies() does not > suffer from that overflow, but i

[Freedreno] [PATCH] drm/msm: avoid using 'timespec'

2018-06-18 Thread Arnd Bergmann
The timespec structure and associated interfaces are deprecated and will be removed in the future because of the y2038 overflow. The use of ktime_to_timespec() in timeout_to_jiffies() does not suffer from that overflow, but is easy to avoid by just converting the ktime_t into jiffies directly. Si