commit | 7731e6bb312ec8bb7892c465401dbc7119aea785 | [log] [tgz] |
---|---|---|
author | Fengguang Wu <fengguang.wu@intel.com> | Fri Aug 24 23:27:35 2012 +0800 |
committer | James Bottomley <JBottomley@Parallels.com> | Mon Sep 24 12:10:58 2012 +0400 |
tree | 4143ed26e37fe135106926aa6330026ede39cabc | |
parent | 9728686f17304bd682038664d9a1ad28b7409af8 [diff] |
[SCSI] megaraid_sas: combine kmalloc+memset into kzalloc Use kzalloc rather than kmalloc followed by memset with 0. Generated by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Acked-by: Adam Radford <aradford@gmail.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>