]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
fs/binfmt_elf.c: coredump: delete duplicated overflow check
authorAlexey Dobriyan <adobriyan@gmail.com>
Fri, 31 Jan 2020 06:17:07 +0000 (22:17 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 31 Jan 2020 18:30:41 +0000 (10:30 -0800)
commit28f46656ad18534f4488590b5447ec48b954420d
treef4c01e8fafd47e2ba3bfee45c3b905cc79127da8
parent225a3f53e7fc7ae9e57d336d712cadae62c39516
fs/binfmt_elf.c: coredump: delete duplicated overflow check

array_size() macro will do overflow check anyway.

Link: http://lkml.kernel.org/r/20191222144009.GB24341@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/binfmt_elf.c