The patch titled ipw2200: replace kmalloc+memset with kcalloc has been removed from the -mm tree. Its filename was ipw2200-replace-kmallocmemset-with-kcalloc.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: ipw2200: replace kmalloc+memset with kcalloc From: Yan Burman <burman.yan@xxxxxxxxx> Replace kmalloc+memset with kcalloc Signed-off-by: Yan Burman <burman.yan@xxxxxxxxx> Cc: "John W. Linville" <linville@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/net/wireless/ipw2200.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN drivers/net/wireless/ipw2200.c~ipw2200-replace-kmallocmemset-with-kcalloc drivers/net/wireless/ipw2200.c --- a/drivers/net/wireless/ipw2200.c~ipw2200-replace-kmallocmemset-with-kcalloc +++ a/drivers/net/wireless/ipw2200.c @@ -11129,14 +11129,13 @@ static int ipw_up(struct ipw_priv *priv) return -EIO; if (cmdlog && !priv->cmdlog) { - priv->cmdlog = kmalloc(sizeof(*priv->cmdlog) * cmdlog, + priv->cmdlog = kcalloc(cmdlog, sizeof(*priv->cmdlog), GFP_KERNEL); if (priv->cmdlog == NULL) { IPW_ERROR("Error allocating %d command log entries.\n", cmdlog); return -ENOMEM; } else { - memset(priv->cmdlog, 0, sizeof(*priv->cmdlog) * cmdlog); priv->cmdlog_len = cmdlog; } } _ Patches currently in -mm which might be from burman.yan@xxxxxxxxx are origin.patch ia64-replace-kmallocmemset-with-kzalloc.patch jffs2-replace-kmallocmemset-with-kzalloc.patch nfsd-replace-kmallocmemset-with-kcalloc.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html