Re: [RESEND PATCH 2/6] ipc: mqueue: Replace timespec with timespec64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> -               memcpy(p, abs_timeout, sizeof(struct timespec));
>> +               memcpy(p, abs_timeout, sizeof(struct timespec64));
>
> Since you're changing this line, how about changing it to the following:
>
>   memcpy(p, abs_timeout, sizeof(*p));
>
>>         else
>> -               memset(p, 0, sizeof(struct timespec));
>> +               memset(p, 0, sizeof(struct timespec64));
>
> Same here.

Sure, that seems fine to me.
I will post an update.

-Deepa



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux