On Mon, Feb 25, 2013 at 10:09:25PM +0800, Wei Yongjun wrote: > From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx> > > Using kmem_cache_zalloc() instead of kmem_cache_alloc() and memset(). > > Signed-off-by: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx> [...] > - zdev->fmb = kmem_cache_alloc(zdev_fmb_cache, GFP_KERNEL); > + zdev->fmb = kmem_cache_zalloc(zdev_fmb_cache, GFP_KERNEL); > if (!zdev->fmb) > return -ENOMEM; > - memset(zdev->fmb, 0, sizeof(*zdev->fmb)); > WARN_ON((u64) zdev->fmb & 0xf); Applied. Thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-s390" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html