lkml.org 
[lkml]   [2010]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC local_t removal V1 1/4] Add add_local() and add_local_return()
On Wed, 6 Jan 2010, Mike Frysinger wrote:

> >> > +static inline unsigned long __add_return_local_generic(volatile void *ptr,
> >> > +               unsigned long value, int size)
> >>
> >> size_t for size ?
> >
> > No. It can be anything.
>
> you're passing it sizeof() which returns a size_t

Ahh not value but the size parameter... Ok.
\
 
 \ /
  Last update: 2010-01-07 18:07    [W:0.048 / U:0.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site