The patch titled CIFS: Remove 2 unneeded kzalloc casts has been added to the -mm tree. Its filename is cifs-remove-2-unneeded-kzalloc-casts.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: CIFS: Remove 2 unneeded kzalloc casts From: "Ahmed S. Darwish" <darwish.07@xxxxxxxxx> A patch to remove two unnecessary kzalloc casts. Signed-off-by: Ahmed Darwish <darwish.07@xxxxxxxxx> Cc: Steven French <sfrench@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/cifs/misc.c | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff -puN fs/cifs/misc.c~cifs-remove-2-unneeded-kzalloc-casts fs/cifs/misc.c --- a/fs/cifs/misc.c~cifs-remove-2-unneeded-kzalloc-casts +++ a/fs/cifs/misc.c @@ -71,9 +71,7 @@ sesInfoAlloc(void) { struct cifsSesInfo *ret_buf; - ret_buf = - (struct cifsSesInfo *) kzalloc(sizeof (struct cifsSesInfo), - GFP_KERNEL); + ret_buf = kzalloc(sizeof (struct cifsSesInfo), GFP_KERNEL); if (ret_buf) { write_lock(&GlobalSMBSeslock); atomic_inc(&sesInfoAllocCount); @@ -109,9 +107,8 @@ struct cifsTconInfo * tconInfoAlloc(void) { struct cifsTconInfo *ret_buf; - ret_buf = - (struct cifsTconInfo *) kzalloc(sizeof (struct cifsTconInfo), - GFP_KERNEL); + ret_buf = kzalloc(sizeof (struct cifsTconInfo), + GFP_KERNEL); if (ret_buf) { write_lock(&GlobalSMBSeslock); atomic_inc(&tconInfoAllocCount); _ Patches currently in -mm which might be from darwish.07@xxxxxxxxx are git-cpufreq.patch jsm_tty-kmalloc-kzalloc-casting-cleanups.patch dac960-kmalloc-kzalloc-casting-cleanups.patch cifs-remove-2-unneeded-kzalloc-casts.patch s390-kmalloc-kzalloc-casting-cleanups.patch ucc-ether-driver-kmalloc-casting-cleanups.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