[PATCH v3] y2038: Convert aio_suspend to support 64 bit time

Lukasz Majewski lukma@denx.de
Thu Nov 19 20:58:12 GMT 2020


Hi Adhemerval,

> On 18/11/2020 06:35, Lukasz Majewski wrote:
> > Hi Andreas,
> >   
> >> On Nov 18 2020, Lukasz Majewski wrote:
> >>  
> >>> @@ -105,8 +105,8 @@ do_aio_misc_wait (unsigned int *cntr, const
> >>> struct timespec *timeout) #endif
> >>>  
> >>>  int
> >>> -aio_suspend (const struct aiocb *const list[], int nent,
> >>> -	     const struct timespec *timeout)
> >>> +__aio_suspend_common64 (const struct aiocb *const list[], int
> >>> nent,
> >>> +                        const struct __timespec64 *timeout)    
> >>
> >> Why is that not static?  
> > 
> > Good point - it could be static. I've fixed it.  
> 
> I am failing to see why you need __aio_suspend_common64, can't you
> rename aio_suspend to __aio_suspend_time64?

Ok. I will change the name. Do you have any other comments regarding
this patch?


Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20201119/fd3c20f4/attachment.sig>


More information about the Libc-alpha mailing list