Thread (13 messages) 13 messages, 3 authors, 2017-07-29

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

From: Deepa Dinamani <hidden>
Date: 2017-07-28 21:25:08
Also in: lkml

quoted
-               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));
quoted
        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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help