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
algos
busses
muxes
Kconfig -rw-r--r-- 4.4 KB
Makefile -rw-r--r-- 623 bytes
i2c-boardinfo.c -rw-r--r-- 2.9 KB
i2c-core-acpi.c -rw-r--r-- 18.2 KB
i2c-core-base.c -rw-r--r-- 64.8 KB
i2c-core-of.c -rw-r--r-- 6.5 KB
i2c-core-slave.c -rw-r--r-- 2.8 KB
i2c-core-smbus.c -rw-r--r-- 20.0 KB
i2c-core.h -rw-r--r-- 2.9 KB
i2c-dev.c -rw-r--r-- 19.3 KB
i2c-mux.c -rw-r--r-- 12.5 KB
i2c-slave-eeprom.c -rw-r--r-- 5.7 KB
i2c-smbus.c -rw-r--r-- 4.8 KB
i2c-stub.c -rw-r--r-- 9.8 KB

back to top