The patch titled drivers/ata/pata_at32.c: avoid unnecessary memset has been added to the -mm tree. Its filename is drivers-ata-pata_at32c-avoid-unnecessary-memset.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: drivers/ata/pata_at32.c: avoid unnecessary memset From: Christophe Jaillet <christophe.jaillet@xxxxxxxxxx> Remove an explicit memset(.., 0, ...) to a variable allocated with kzalloc (i.e. 'info'). Signed-off-by: Christophe Jaillet <christophe.jaillet@xxxxxxxxxx> Acked-by: Haavard Skinnemoen <haavard.skinnemoen@xxxxxxxxx> Cc: Jeff Garzik <jeff@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/ata/pata_at32.c | 2 -- 1 file changed, 2 deletions(-) diff -puN drivers/ata/pata_at32.c~drivers-ata-pata_at32c-avoid-unnecessary-memset drivers/ata/pata_at32.c --- a/drivers/ata/pata_at32.c~drivers-ata-pata_at32c-avoid-unnecessary-memset +++ a/drivers/ata/pata_at32.c @@ -291,8 +291,6 @@ static int __init pata_at32_probe(struct if (!info) return -ENOMEM; - memset(info, 0, sizeof(struct at32_ide_info)); - info->irq = irq; info->cs = board->cs; _ Patches currently in -mm which might be from christophe.jaillet@xxxxxxxxxx are linux-next.patch drivers-ata-pata_at32c-avoid-unnecessary-memset.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