lkml.org 
[lkml]   [2019]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch V2 38/38] posix-cpu-timers: Utilize timerqueue for storage
On Tue, Aug 27, 2019 at 08:08:06AM +0200, Thomas Gleixner wrote:
> On Tue, 27 Aug 2019, Frederic Weisbecker wrote:
>
> > On Wed, Aug 21, 2019 at 09:09:25PM +0200, Thomas Gleixner wrote:
> > > /**
> > > @@ -92,14 +130,10 @@ struct posix_cputimers {
> > >
> > > static inline void posix_cputimers_init(struct posix_cputimers *pct)
> > > {
> > > - pct->timers_active = 0;
> > > - pct->expiry_active = 0;
> >
> > No more need to initialize these?
> >
> > > + memset(pct->bases, 0, sizeof(pct->bases));
>
> memset() does that IIRC :)

But those two fields aren't part of pct->bases, are they? :)

\
 
 \ /
  Last update: 2019-08-27 15:18    [W:0.089 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site