diff options
Diffstat (limited to 'alsa.c')
-rwxr-xr-x | alsa.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -65,8 +65,7 @@ static int alloc_dev_config(struct avirt_alsa_devconfig **devconfig, if (numdevices == 0) return 0; - *devconfig = kzalloc(sizeof(*devconfig) * numdevices, - GFP_KERNEL); + *devconfig = kzalloc(sizeof(**devconfig) * numdevices, GFP_KERNEL); if (!(*devconfig)) return -ENOMEM; |