diff options
Diffstat (limited to 'drivers/scsi/pmcraid.c')
-rw-r--r-- | drivers/scsi/pmcraid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c index b86db84d6f3..5163edb925c 100644 --- a/drivers/scsi/pmcraid.c +++ b/drivers/scsi/pmcraid.c | |||
@@ -4102,7 +4102,7 @@ static long pmcraid_chr_ioctl( | |||
4102 | struct pmcraid_ioctl_header *hdr = NULL; | 4102 | struct pmcraid_ioctl_header *hdr = NULL; |
4103 | int retval = -ENOTTY; | 4103 | int retval = -ENOTTY; |
4104 | 4104 | ||
4105 | hdr = kmalloc(GFP_KERNEL, sizeof(struct pmcraid_ioctl_header)); | 4105 | hdr = kmalloc(sizeof(struct pmcraid_ioctl_header), GFP_KERNEL); |
4106 | 4106 | ||
4107 | if (!hdr) { | 4107 | if (!hdr) { |
4108 | pmcraid_err("faile to allocate memory for ioctl header\n"); | 4108 | pmcraid_err("faile to allocate memory for ioctl header\n"); |