diff options
Diffstat (limited to 'fs/binfmt_elf.c')
| -rw-r--r-- | fs/binfmt_elf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index d9154b2f870a..8e89cc5b2820 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c @@ -1873,8 +1873,7 @@ static int fill_note_info(struct elfhdr *elf, int phdrs, /* * Allocate a structure for each thread. */ - info->thread = kzalloc_flex(*info->thread, notes, info->thread_notes, - GFP_KERNEL); + info->thread = kzalloc_flex(*info->thread, notes, info->thread_notes); if (unlikely(!info->thread)) return 0; |
