Revision 22ff311af9c7d0eca4e9d276e95c4793a6ecf84f authored by Linus Torvalds on 13 December 2019, 22:02:12 UTC, committed by Linus Torvalds on 13 December 2019, 22:02:12 UTC
Pull FIELD_SIZEOF conversion from Kees Cook:
 "A mostly mechanical treewide conversion from FIELD_SIZEOF() to
  sizeof_field(). This avoids the redundancy of having 2 macros
  (actually 3) doing the same thing, and consolidates on sizeof_field().
  While "field" is not an accurate name, it is the common name used in
  the kernel, and doesn't result in any unintended innuendo.

  As there are still users of FIELD_SIZEOF() in -next, I will clean up
  those during this coming development cycle and send the final old
  macro removal patch at that time"

* tag 'sizeof_field-v5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
  treewide: Use sizeof_field() macro
  MIPS: OCTEON: Replace SIZEOF_FIELD() macro
2 parent s 37d4e84 + c593642
History
File Mode Size
libstub
test
Kconfig -rw-r--r-- 8.0 KB
Makefile -rw-r--r-- 1.4 KB
apple-properties.c -rw-r--r-- 5.9 KB
arm-init.c -rw-r--r-- 7.2 KB
arm-runtime.c -rw-r--r-- 4.3 KB
capsule-loader.c -rw-r--r-- 9.0 KB
capsule.c -rw-r--r-- 8.6 KB
cper-arm.c -rw-r--r-- 10.8 KB
cper-x86.c -rw-r--r-- 10.8 KB
cper.c -rw-r--r-- 17.7 KB
dev-path-parser.c -rw-r--r-- 5.6 KB
earlycon.c -rw-r--r-- 3.9 KB
efi-bgrt.c -rw-r--r-- 2.0 KB
efi-pstore.c -rw-r--r-- 9.2 KB
efi.c -rw-r--r-- 26.8 KB
efibc.c -rw-r--r-- 2.5 KB
efivars.c -rw-r--r-- 16.4 KB
esrt.c -rw-r--r-- 10.5 KB
fake_mem.c -rw-r--r-- 2.8 KB
fake_mem.h -rw-r--r-- 280 bytes
memattr.c -rw-r--r-- 4.8 KB
memmap.c -rw-r--r-- 8.9 KB
rci2-table.c -rw-r--r-- 3.2 KB
reboot.c -rw-r--r-- 1.7 KB
runtime-map.c -rw-r--r-- 4.3 KB
runtime-wrappers.c -rw-r--r-- 14.2 KB
tpm.c -rw-r--r-- 2.4 KB
vars.c -rw-r--r-- 31.0 KB
x86_fake_mem.c -rw-r--r-- 1.7 KB

back to top