diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/hosts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c index bd8e7f323c69..96bc31266c98 100644 --- a/drivers/scsi/hosts.c +++ b/drivers/scsi/hosts.c | |||
@@ -220,7 +220,7 @@ int scsi_add_host(struct Scsi_Host *shost, struct device *dev) | |||
220 | get_device(&shost->shost_gendev); | 220 | get_device(&shost->shost_gendev); |
221 | 221 | ||
222 | if (shost->transportt->host_size && | 222 | if (shost->transportt->host_size && |
223 | (shost->shost_data = kmalloc(shost->transportt->host_size, | 223 | (shost->shost_data = kzalloc(shost->transportt->host_size, |
224 | GFP_KERNEL)) == NULL) | 224 | GFP_KERNEL)) == NULL) |
225 | goto out_del_classdev; | 225 | goto out_del_classdev; |
226 | 226 | ||