]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: OCTEON: Replace SIZEOF_FIELD() macro
authorPankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Tue, 24 Sep 2019 10:58:37 +0000 (16:28 +0530)
committerKees Cook <keescook@chromium.org>
Mon, 9 Dec 2019 18:33:50 +0000 (10:33 -0800)
commit454364820f84cf186e050ac833a2bcd3f11b56c0
tree46b543bb3809ff09267cea3d494fbe162e31a1af
parent47599c6298943ede4662b5e31dfe375feac1b48a
MIPS: OCTEON: Replace SIZEOF_FIELD() macro

Switch to the standard sizeof_field() macro to find the size of a member
of a struct and remove the custom SIZEOF_FIELD() macro.

Signed-off-by: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Link: https://lore.kernel.org/r/20190924105839.110713-4-pankaj.laxminarayan.bharadiya@intel.com
Co-developed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
arch/mips/cavium-octeon/executive/cvmx-bootmem.c