WSL2-Linux-Kernel/ipc
Matt Helsley 2453a3062d [PATCH] ipc: replace kmalloc and memset in get_undo_list with kzalloc
Simplify get_undo_list() by dropping the unnecessary cast, removing the
size variable, and switching to kzalloc() instead of a kmalloc() followed
by a memset().

This cleanup was split then modified from Jes Sorenson's Task Notifiers
patches.

Signed-off-by: Matt Helsley <matthltc@us.ibm.com>
Cc: Jes Sorensen <jes@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-02 07:57:22 -07:00
..
Makefile
compat.c
compat_mq.c
mqueue.c [PATCH] update mq_notify to use a struct pid 2006-10-02 07:57:15 -07:00
msg.c [PATCH] IPC namespace - msg 2006-10-02 07:57:22 -07:00
msgutil.c
sem.c [PATCH] ipc: replace kmalloc and memset in get_undo_list with kzalloc 2006-10-02 07:57:22 -07:00
shm.c [PATCH] IPC namespace - shm 2006-10-02 07:57:22 -07:00
util.c [PATCH] IPC namespace - utils 2006-10-02 07:57:22 -07:00
util.h [PATCH] IPC namespace - utils 2006-10-02 07:57:22 -07:00