]> git.baikalelectronics.ru Git - kernel.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)
commitf5c7645057d4f54a9114f7c713b536a194fa504d
treef4c01e8fafd47e2ba3bfee45c3b905cc79127da8
parent4760e178e019a82ededa5ada58c10a4ffc4ee973
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