Loading drivers/md/dm-clone-target.c +1 −1 Original line number Diff line number Diff line Loading @@ -580,7 +580,7 @@ static int hash_table_init(struct clone *clone) sz = 1 << HASH_TABLE_BITS; clone->ht = kvmalloc(sz * sizeof(struct hash_table_bucket), GFP_KERNEL); clone->ht = kvmalloc_array(sz, sizeof(struct hash_table_bucket), GFP_KERNEL); if (!clone->ht) return -ENOMEM; Loading Loading
drivers/md/dm-clone-target.c +1 −1 Original line number Diff line number Diff line Loading @@ -580,7 +580,7 @@ static int hash_table_init(struct clone *clone) sz = 1 << HASH_TABLE_BITS; clone->ht = kvmalloc(sz * sizeof(struct hash_table_bucket), GFP_KERNEL); clone->ht = kvmalloc_array(sz, sizeof(struct hash_table_bucket), GFP_KERNEL); if (!clone->ht) return -ENOMEM; Loading