diff options
Diffstat (limited to 'drivers/edac/edac_device.c')
| -rw-r--r-- | drivers/edac/edac_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/edac_device.c b/drivers/edac/edac_device.c index 0c5ad5a55453..cf0d3c2dfc04 100644 --- a/drivers/edac/edac_device.c +++ b/drivers/edac/edac_device.c @@ -78,7 +78,7 @@ edac_device_alloc_ctl_info(unsigned pvt_sz, char *dev_name, unsigned nr_instance dev_ctl->instances = dev_inst; dev_blk = kzalloc_objs(struct edac_device_block, - nr_instances * nr_blocks, GFP_KERNEL); + nr_instances * nr_blocks); if (!dev_blk) goto free; |
