[PATCH] Fix numerous kcalloc() calls, convert to kzalloc()
authorRobert P. J. Day <rpjday@mindspring.com>
Wed, 13 Dec 2006 08:34:52 +0000 (00:34 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:05:52 +0000 (09:05 -0800)
commitcd86128088554d64fea1679191509f00e6353c5b
treea828960f4bd44ef1682d88618e58c6ccd2367bc1
parent90aef12e6dd609e1ad7fb70044eedc78ca55ee5e
[PATCH] Fix numerous kcalloc() calls, convert to kzalloc()

All kcalloc() calls of the form "kcalloc(1,...)" are converted to the
equivalent kzalloc() calls, and a few kcalloc() calls with the incorrect
ordering of the first two arguments are fixed.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: Adam Belay <ambx1@neo.rr.com>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Cc: Greg KH <greg@kroah.com>
Cc: Mark Fasheh <mark.fasheh@oracle.com>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
33 files changed:
drivers/ata/pdc_adma.c
drivers/macintosh/smu.c
drivers/mtd/rfd_ftl.c
drivers/net/phy/phy_device.c
drivers/net/skge.c
drivers/pcmcia/at91_cf.c
drivers/pcmcia/omap_cf.c
drivers/pnp/isapnp/core.c
drivers/pnp/pnpacpi/core.c
drivers/pnp/pnpacpi/rsparser.c
drivers/pnp/pnpbios/core.c
drivers/pnp/pnpbios/proc.c
drivers/pnp/pnpbios/rsparser.c
drivers/scsi/sym53c8xx_2/sym_hipd.c
drivers/usb/gadget/at91_udc.c
drivers/usb/misc/uss720.c
drivers/usb/net/rndis_host.c
fs/ocfs2/alloc.c
fs/ocfs2/cluster/heartbeat.c
fs/ocfs2/cluster/nodemanager.c
fs/ocfs2/cluster/tcp.c
fs/ocfs2/dlm/dlmdomain.c
fs/ocfs2/dlm/dlmlock.c
fs/ocfs2/dlm/dlmmaster.c
fs/ocfs2/dlm/dlmrecovery.c
fs/ocfs2/localalloc.c
fs/ocfs2/slot_map.c
fs/ocfs2/suballoc.c
fs/ocfs2/super.c
fs/ocfs2/vote.c
include/linux/gameport.h
kernel/relay.c
net/sunrpc/svc.c