]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'overflow-v5.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees...
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 19 Jun 2020 18:45:03 +0000 (11:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 19 Jun 2020 18:45:03 +0000 (11:45 -0700)
commit2e7fbfa4a1b7b88bd07e224ec2bc521f769ee3ff
tree2f4ac674b58d93bed26f7e8f25ff0e8465e60b4b
parentf0f29bb10614229f5b261ab955239cf40ccc7c34
parentc9a65efb882def8748a28166c9c50d147ab2a631
Merge tag 'overflow-v5.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux

Pull flex-array size helper from Kees Cook:
 "During the treewide clean-ups of zero-length "flexible arrays", the
  struct_size() helper was heavily used, but it was noticed that many
  times it would have been nice to have an additional helper to get the
  size of just the flexible array itself.

  This need appears to be even more common when cleaning up the 1-byte
  array "flexible arrays", so Gustavo implemented it.

  I'd love to get this landed early so it can be used during the v5.9
  dev cycle to ease the 1-byte array cleanups."

* tag 'overflow-v5.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
  overflow.h: Add flex_array_size() helper