Re: [PATCH] MIPS: OCTEON: Replace SIZEOF_FIELD() macro

From: Joe Perches
Date: Thu Oct 10 2019 - 19:03:03 EST


On Thu, 2019-10-10 at 15:46 -0700, Kees Cook wrote:
> In preparation for switching to a standard sizeof_member() macro to find the
> size of a member of a struct, remove the custom SIZEOF_FIELD() macro and use
> the more common FIELD_SIZEOF() instead. Later patches will globally replace
> FIELD_SIZEOF() and sizeof_field() with the more accurate sizeof_member().

Is the intent to have a single treewide flag day conversion of
FIELD_SIZEOF -> sizeof_member or submit individual patches to
subsystem maintainers?

I don't recall Linus buying in to either mechanism.