]> err.no Git - linux-2.6/commit
[PATCH] Transform kmem_cache_alloc()+memset(0) -> kmem_cache_zalloc().
authorRobert P. J. Day <rpjday@mindspring.com>
Sat, 10 Feb 2007 09:45:03 +0000 (01:45 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:27 +0000 (10:51 -0800)
commitc376222960ae91d5ffb9197ee36771aaed1d9f90
tree7f431c42529fec77433d33490bd9f2a8c47ba091
parent1b135431abf5ea92e61bf4e91d93726c7b96da5f
[PATCH] Transform kmem_cache_alloc()+memset(0) -> kmem_cache_zalloc().

Replace appropriate pairs of "kmem_cache_alloc()" + "memset(0)" with the
corresponding "kmem_cache_zalloc()" call.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: Andi Kleen <ak@muc.de>
Cc: Roland McGrath <roland@redhat.com>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Cc: Greg KH <greg@kroah.com>
Acked-by: Joel Becker <Joel.Becker@oracle.com>
Cc: Steven Whitehouse <swhiteho@redhat.com>
Cc: Jan Kara <jack@ucw.cz>
Cc: Michael Halcrow <mhalcrow@us.ibm.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Cc: James Morris <jmorris@namei.org>
Cc: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
39 files changed:
arch/ia64/ia32/binfmt_elf32.c
arch/ia64/kernel/perfmon.c
arch/ia64/mm/init.c
arch/x86_64/ia32/ia32_binfmt.c
drivers/infiniband/hw/ehca/ehca_cq.c
drivers/infiniband/hw/ehca/ehca_mrmw.c
drivers/infiniband/hw/ehca/ehca_pd.c
drivers/infiniband/hw/ehca/ehca_qp.c
drivers/scsi/aic94xx/aic94xx_hwi.c
drivers/scsi/scsi_lib.c
drivers/usb/host/hc_crisv10.c
drivers/usb/host/uhci-q.c
fs/aio.c
fs/configfs/dir.c
fs/dlm/memory.c
fs/dquot.c
fs/ecryptfs/crypto.c
fs/ecryptfs/file.c
fs/ecryptfs/inode.c
fs/ecryptfs/keystore.c
fs/ecryptfs/main.c
fs/exec.c
fs/gfs2/meta_io.c
fs/namespace.c
fs/smbfs/request.c
fs/sysfs/dir.c
include/scsi/libsas.h
kernel/posix-timers.c
net/core/dst.c
net/core/neighbour.c
net/decnet/dn_table.c
net/ipv4/ipmr.c
net/ipv4/ipvs/ip_vs_conn.c
net/ipv4/netfilter/ip_conntrack_core.c
net/ipv6/ip6_fib.c
net/sctp/sm_make_chunk.c
security/selinux/avc.c
security/selinux/hooks.c
security/selinux/ss/avtab.c