Re: [PATCH V2] dummy_hcd: replace timeval with timespec64

2015-09-17 Thread Pingbo Wen
On Thursday, September 17, 2015 05:59 PM, Peter Stuge wrote: > WEN Pingbo wrote: >> +++ b/drivers/usb/gadget/udc/dummy_hcd.c >> @@ -833,10 +833,10 @@ static const struct usb_ep_ops dummy_ep_ops = { >> /* there are both host and device side versions of this call ... */ >> static int

Re: [PATCH V2] dummy_hcd: replace timeval with timespec64

2015-09-16 Thread Pingbo Wen
this. > - using NSEC_PER_MSEC instead of hard code. > > Signed-off-by: Pingbo Wen <pingbo@linaro.org> > Cc: Y2038 <y2...@lists.linaro.org> > Cc: linux-ker...@vger.kernel.org > Cc: Arnd Bergmann <a...@arndb.de> > Cc: Felipe Balbi <ba...@ti.com> > Sig

Re: [Y2038] [PATCH] dummy_hcd: replace timeval with timespec64

2015-09-15 Thread Pingbo Wen
On Tuesday, September 15, 2015 10:49 PM, Arnd Bergmann wrote: > On Tuesday 15 September 2015 10:40:24 Alan Stern wrote: >> On Tue, 15 Sep 2015, Arnd Bergmann wrote: >> > Do you know the specific requirement on the USB frame numbers? I don't > know > enough about USB to tell if

Re: [Y2038] [PATCH] dummy_hcd: replace timeval with timespec64

2015-09-15 Thread Pingbo Wen
rther risks, we still need to fix it here, >> to avoid similair problems. >> >> Signed-off-by: Pingbo Wen <pingbo@linaro.org> >> Cc: Y2038 <y2...@lists.linaro.org> >> Cc: linux-ker...@vger.kernel.org >> Cc: Arnd Bergmann <a...@arndb.de> >&g