diff options
Diffstat (limited to 'drivers/scsi/pcmcia')
-rw-r--r-- | drivers/scsi/pcmcia/nsp_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/pcmcia/nsp_cs.c b/drivers/scsi/pcmcia/nsp_cs.c index 70b60ade049e..e32c344d7ad8 100644 --- a/drivers/scsi/pcmcia/nsp_cs.c +++ b/drivers/scsi/pcmcia/nsp_cs.c | |||
@@ -1713,7 +1713,7 @@ static int nsp_cs_config(struct pcmcia_device *link) | |||
1713 | 1713 | ||
1714 | nsp_dbg(NSP_DEBUG_INIT, "in"); | 1714 | nsp_dbg(NSP_DEBUG_INIT, "in"); |
1715 | 1715 | ||
1716 | cfg_mem = kzalloc(sizeof(cfg_mem), GFP_KERNEL); | 1716 | cfg_mem = kzalloc(sizeof(*cfg_mem), GFP_KERNEL); |
1717 | if (!cfg_mem) | 1717 | if (!cfg_mem) |
1718 | return -ENOMEM; | 1718 | return -ENOMEM; |
1719 | cfg_mem->data = data; | 1719 | cfg_mem->data = data; |