Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[MIPS] thread_info.h: kmalloc + memset conversion to kzalloc

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Mariusz Kozlowski and committed by
Ralf Baechle
185bcd17 00be0f30

+2 -3
+2 -3
include/asm-mips/thread_info.h
··· 87 87 ({ \ 88 88 struct thread_info *ret; \ 89 89 \ 90 - ret = kmalloc(THREAD_SIZE, GFP_KERNEL); \ 91 - if (ret) \ 92 - memset(ret, 0, THREAD_SIZE); \ 90 + ret = kzalloc(THREAD_SIZE, GFP_KERNEL); \ 91 + \ 93 92 ret; \ 94 93 }) 95 94 #else