Commit c3a1f2ef authored by Ethan Carter Edwards's avatar Ethan Carter Edwards Committed by Mikulas Patocka
Browse files

dm: change kzalloc to kcalloc

parent 193700b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -116,7 +116,7 @@ static int ioa_create(struct path_selector *ps, unsigned int argc, char **argv)
	if (!s)
		return -ENOMEM;

	s->path_map = kzalloc(nr_cpu_ids * sizeof(struct path_info *),
	s->path_map = kcalloc(nr_cpu_ids, sizeof(struct path_info *),
			      GFP_KERNEL);
	if (!s->path_map)
		goto free_selector;