On Tue, Sep 24, 2019 at 09:22:10AM -0700, Kees Cook wrote:
> On Tue, Sep 24, 2019 at 04:28:35PM +0530, Pankaj Bharadiya wrote:
> > At present we have 3 different macros to calculate the size of a
> > member of a struct:
> > - SIZEOF_FIELD
> > - FIELD_SIZEOF
> > - sizeof_field
> >
> > To brin
On Tue, Sep 24, 2019 at 04:28:35PM +0530, Pankaj Bharadiya wrote:
> At present we have 3 different macros to calculate the size of a
> member of a struct:
> - SIZEOF_FIELD
> - FIELD_SIZEOF
> - sizeof_field
>
> To bring uniformity in entire kernel source tree let's add
> sizeof_member macro.
At present we have 3 different macros to calculate the size of a
member of a struct:
- SIZEOF_FIELD
- FIELD_SIZEOF
- sizeof_field
To bring uniformity in entire kernel source tree let's add
sizeof_member macro.
Replace all occurrences of above 3 macro's with sizeof_member in
future patches.
3 matches
Mail list logo