The patch titled arm26: replace kmalloc+memset with kzalloc has been added to the -mm tree. Its filename is arm26-replace-kmallocmemset-with-kzalloc.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: arm26: replace kmalloc+memset with kzalloc From: Yan Burman <burman.yan@xxxxxxxxx> Replace kmalloc+memset with kzalloc Signed-off-by: Yan Burman <burman.yan@xxxxxxxxx> CC: Ian Molton <spyro@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/arm26/kernel/ecard.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff -puN arch/arm26/kernel/ecard.c~arm26-replace-kmallocmemset-with-kzalloc arch/arm26/kernel/ecard.c --- a/arch/arm26/kernel/ecard.c~arm26-replace-kmallocmemset-with-kzalloc +++ a/arch/arm26/kernel/ecard.c @@ -620,12 +620,10 @@ ecard_probe(int slot, card_type_t type) struct ex_ecid cid; int i, rc = -ENOMEM; - ec = kmalloc(sizeof(ecard_t), GFP_KERNEL); + ec = kzalloc(sizeof(ecard_t), GFP_KERNEL); if (!ec) goto nomem; - memset(ec, 0, sizeof(ecard_t)); - ec->slot_no = slot; ec->type = type; ec->irq = NO_IRQ; _ Patches currently in -mm which might be from burman.yan@xxxxxxxxx are reiser-replace-kmallocmemset-with-kzalloc.patch nfsd-replace-kmallocmemset-with-kcalloc.patch jffs2-replace-kmallocmemset-with-kzalloc.patch affs-replace-kmallocmemset-with-kzalloc.patch ia64-replace-kmallocmemset-with-kzalloc.patch arm26-replace-kmallocmemset-with-kzalloc.patch powerpc-replace-kmallocmemset-with-kzalloc.patch m68k-replace-kmallocmemset-with-kzalloc.patch jffs-replace-kmallocmemset-with-kzalloc.patch hostap-replace-kmallocmemset-with-kzalloc.patch prism54-replace-kmallocmemset-with-kzalloc.patch ipw2200-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