* [PATCH 48] include/asm-mips/thread_info.h: kmalloc + memset conversion to kzalloc
[not found] <200707311845.48807.m.kozlowski@tuxland.pl>
@ 2007-07-31 18:48 ` Mariusz Kozlowski
2007-07-31 18:53 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Mariusz Kozlowski @ 2007-07-31 18:48 UTC (permalink / raw)
To: linux-kernel; +Cc: kernel-janitors, Andrew Morton, ralf, linux-mips
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
include/asm-mips/thread_info.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
--- linux-2.6.23-rc1-mm1-a/include/asm-mips/thread_info.h 2007-07-26 13:07:40.000000000 +0200
+++ linux-2.6.23-rc1-mm1-b/include/asm-mips/thread_info.h 2007-07-31 15:09:01.000000000 +0200
@@ -87,9 +87,8 @@ register struct thread_info *__current_t
({ \
struct thread_info *ret; \
\
- ret = kmalloc(THREAD_SIZE, GFP_KERNEL); \
- if (ret) \
- memset(ret, 0, THREAD_SIZE); \
+ ret = kzalloc(THREAD_SIZE, GFP_KERNEL); \
+ \
ret; \
})
#else
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 48] include/asm-mips/thread_info.h: kmalloc + memset conversion to kzalloc
2007-07-31 18:48 ` [PATCH 48] include/asm-mips/thread_info.h: kmalloc + memset conversion to kzalloc Mariusz Kozlowski
@ 2007-07-31 18:53 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2007-07-31 18:53 UTC (permalink / raw)
To: Mariusz Kozlowski
Cc: linux-kernel, kernel-janitors, Andrew Morton, linux-mips
On Tue, Jul 31, 2007 at 08:48:41PM +0200, Mariusz Kozlowski wrote:
Thanks, applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-31 18:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200707311845.48807.m.kozlowski@tuxland.pl>
2007-07-31 18:48 ` [PATCH 48] include/asm-mips/thread_info.h: kmalloc + memset conversion to kzalloc Mariusz Kozlowski
2007-07-31 18:53 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox