[PATCH 1/2] y2038: linux: Provide __mq_timedsend_time64 implementation

Lukasz Majewski lukma@denx.de
Wed Feb 12 09:09:00 GMT 2020


Hi Joseph,

> On Tue, 11 Feb 2020, Lukasz Majewski wrote:
> 
> > +int
> > +__mq_timedsend (mqd_t mqdes, const char *msg_ptr, size_t msg_len,
> > +                unsigned int msg_prio, const struct timespec
> > *abs_timeout) +{
> > +  struct __timespec64 ts64;
> > +    if (abs_timeout)
> > +	    ts64 = valid_timespec_to_timespec64 (*abs_timeout);
> > +
> > +    return __mq_timedsend_time64 (mqdes, msg_ptr, msg_len,
> > msg_prio,
> > +                                  abs_timeout ? &ts64 : NULL);
> >  }  
> 
> The indentation seems wrong here.  Likewise in patch 2.
> 

Thanks for spotting it. I will fix it in v2.


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: <http://sourceware.org/pipermail/libc-alpha/attachments/20200212/11d8b682/attachment.sig>


More information about the Libc-alpha mailing list